joyce8/EMBER2024-capa huggingface dataset:
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x401af5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b34
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b34
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b34
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b34
cmp dword [ecx + 0x74], 0xe
jbe 0x401b34
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x5e1400b8
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xcf15119
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402acf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x208
push eax
push 0
push 0x401414
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x402b30
mov eax, dword [ebp - 4]
cmp eax, 2
jb 0x402b2b
shr eax, 1
xor ecx, ecx
cmp cx, word [esi + eax*2 - 2]
jne 0x402b2b
mov eax, dword [ebp - 8]
sub eax, 1
je 0x402b27
sub eax, 1
jne 0x402b2b
mov ecx, esi
call fcn.004029da
test eax, eax
jne 0x402b30
xor eax, eax
jmp 0x402b30
mov eax, 0x3f7
pop esi
leave
ret 8

Function at 0x402f00
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x403510
call fcn.00403288
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043c0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402d28
cmp eax, esi
jne 0x402d1b
xor esi, esi
inc esi
mov edi, esi
jmp 0x402d2b
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402cff
xor esi, esi
inc esi
cmp dword [0x4043c4], esi
jne 0x402d3d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402d77
cmp dword [0x4043c4], ebx
jne 0x402d71
mov dword [0x4043c4], esi
push 0x4011a0
push 0x401194
call fcn.00575000
pop ecx
pop ecx
test eax, eax
je 0x402d77
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402e4c
mov dword [0x404034], esi
cmp dword [0x4043c4], esi
jne 0x402d9a
push 0x401190
push 0x401184
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043c4], 2
test edi, edi
jne 0x402da7
xor eax, eax
mov ecx, 0x4043c0
xchg dword [ecx], eax
cmp dword [0x4043c8], 0
je 0x402dd3
push 0x4043c8
call fcn.004030e0
pop ecx
test eax, eax
je 0x402dd3
push ebx
push 2
push ebx
mov esi, dword [0x4043c8]
mov ecx, esi
call dword [0x405168]
call esi
push dword [0x404040]
push dword [0x40403c]
push dword [0x404038]
call fcn.00401ae1
add esp, 0xc
mov dword [0x404030], eax
cmp dword [0x404048], 0
jne 0x402e31
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404034], 0
jne 0x402e45
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404030]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.004031d5
jmp 0x402ce3
Function at 0x405030
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, 1
mov dword [esp + 0xc], eax
mov eax, dword [0x487370]
not eax
add eax, 0xf7d54f8a
and eax, 0x7200e95a
mov edx, dword [0x48c744]
or edx, eax
mov dword [0x48c744], edx
mov eax, dword [0x494260]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 8], ecx
call fcn.004033c0
mov ecx, dword [0x486368]
mov edx, ecx
inc edx
mov dword [0x486368], edx
imul ecx, ecx, 0xfac9b5ec
mov edx, dword [0x483c6c]
and ecx, edx
and ecx, 0xc997fb94
mov dword [0x483c6c], ecx
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.0045727a
int3
Function at 0x438de0
Capabilities:
Hash data with md5

Disassembly:
push edi
push esi
sub esp, 8
mov dword [esp + 4], ecx
mov eax, dword [0x485140]
xor eax, 0xffffffff
add eax, 0xc63a3b9a
add eax, 0x29a1b65c
cmp eax, 0x8779f1c4
mov dword [esp], ecx
jge 0x438e1d
mov eax, dword [0x489e44]
and eax, 0x8d044339
mov dword [0x489e44], eax
jmp 0x438e35
mov ax, word [0x493ae2]
mov cx, ax
add ecx, 0x50d76284
mov ax, cx
mov word [0x493ae2], ax
mov eax, dword [esp]
mov dword [eax], 0
mov dword [0x483590], 0xbffefb6f
mov dword [eax + 4], 0
mov cx, word [0x493c46]
mov dx, cx
add edx, 0xf6edf6f4
mov cx, dx
mov word [0x493c46], cx
mov dword [eax + 8], 0x67452301
mov edx, dword [0x4857fc]
mov cx, word [0x48f3c4]
mov si, cx
lea edx, [edx + esi + 0x7325256e]
mov cx, dx
mov word [0x48f3c4], cx
mov dword [eax + 0xc], 0xefcdab89
mov cx, word [0x490142]
mov dx, cx
inc edx
mov di, dx
mov word [0x490142], di
movsx edx, cx
imul edx, edx, 0xf8bfeae6
and edx, 0xbdc23b90
mov esi, dword [0x486220]
imul esi, edx
mov dword [0x486220], esi
mov dword [eax + 0x10], 0x98badcfe
mov edx, dword [0x48ca7c]
add edx, 0x2a432af1
mov dword [0x48ca7c], edx
mov dword [eax + 0x14], 0x10325476
mov edx, dword [0x48d9cc]
not edx
mov esi, dword [0x489b34]
and esi, edx
mov dword [0x489b34], esi
add esp, 8
pop esi
pop edi
ret
Function at 0x45e05a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x480600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045b5fe
mov dword [ebp - 0x14], eax
cmp dword [0x4954c4], esi
jne 0x45e14d
push 0x800
push esi
push 0x475268
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x45e0da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45e22d
push esi
push esi
push 0x475268
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x45e22d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45e22d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4954c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4954c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4954cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4954d4], eax
test eax, eax
je 0x45e14a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4954d0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45e172
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45e165
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x45e187
push 4
pop eax
jmp 0x45e22f
cmp dword [ebp - 0x14], esi
je 0x45e187
push dword [0x4954c4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45e16c
mov eax, dword [0x4954d0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x45e1e5
cmp dword [0x4954d4], edi
je 0x45e1e5
push eax
call ebx
push dword [0x4954d4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x45e1e5
test eax, eax
je 0x45e1e5
call ecx
test eax, eax
je 0x45e1da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x45e1da
test byte [ebp - 8], 1
jne 0x45e1e5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x45e215
mov eax, dword [0x4954c8]
cmp eax, edi
je 0x45e212
push eax
call ebx
test eax, eax
je 0x45e212
call eax
mov esi, eax
test esi, esi
je 0x45e212
mov eax, dword [0x4954cc]
cmp eax, edi
je 0x45e212
push eax
call ebx
test eax, eax
je 0x45e212
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4954c4]
call ebx
test eax, eax
je 0x45e22d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x45e22f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e25e
mov esp, ebp
pop ebp
ret
Function at 0x402ac0
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
sub esp, 0x738
mov eax, dword [0x44241c]
xor eax, esp
mov dword [esp + 0x734], eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edx, dword [esp + 0x14]
push edx
push 0x4398f4
push str._20s_t_10d_n
call fcn.0041f120
push 0x439908
xor edi, edi
push 0x43990c
push str._20s_t_10s_n
mov dword [esp + 0x28], edi
xor ebx, ebx
mov dword [esp + 0x30], edi
call fcn.0041f120
push str._n
call fcn.0041f120
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 1
push edi
push edi
call sub.WTSAPI32.dll_WTSEnumerateProcessesA
push 0x3c
push edi
push 0x446280
call fcn.00420290
add esp, 0xc
cmp dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
jbe 0x402c0e
lea edx, [esp + 0x34]
push ebp
mov dword [esp + 0x10], 0x446a78
mov dword [esp + 0xc], edx
push esi
lea esp, [esp]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + eax]
mov ebp, dword [edi + eax + 4]
mov edx, dword [edi + eax + 0xc]
mov esi, dword [edi + eax + 8]
lea eax, [esp + 0x28]
push eax
push ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x1c]
jne 0x402bef
test ebp, ebp
je 0x402bef
mov eax, esi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402ba7
mov edx, dword [esp + 0x14]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402bb8
mov edx, dword [ebx*4 + 0x446984]
mov esi, dword [esp + 0x14]
push edx
push esi
push str._20s_t_10d_n
mov dword [ebx*4 + 0x446988], ebp
call fcn.0041f120
add esp, 0xc
add ebx, 1
add esi, 0x1e
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], 0x1e
add eax, 1
add edi, 0x10
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jb 0x402b70
pop esi
pop ebp
push ebx
push 0x439948
push str._20s_t_10d_n
mov dword [0x44718c], ebx
call fcn.0041f120
mov ecx, dword [esp + 0x748]
add esp, 0xc
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0041e548
add esp, 0x738
ret
Function at 0x402c40
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
sub esp, 0x738
mov eax, dword [0x44241c]
xor eax, esp
mov dword [esp + 0x734], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edx, dword [esp + 0x10]
push edx
push 0x4398f4
push str._20s_t_10d_n
call fcn.0041f120
push 0x439908
xor esi, esi
push 0x43990c
push str._20s_t_10s_n
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
call fcn.0041f120
push str._n
call fcn.0041f120
add esp, 0x1c
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
push esi
call sub.WTSAPI32.dll_WTSEnumerateProcessesA
cmp dword [esp + 4], esi
mov dword [esp + 0x18], esi
jbe 0x402d6d
push ebx
push ebp
lea edx, [esp + 0x38]
push edi
xor edi, edi
mov ebx, 0x446280
mov dword [esp + 0x14], edx
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + eax]
mov ebp, dword [edi + eax + 4]
mov edx, dword [edi + eax + 0xc]
mov esi, dword [edi + eax + 8]
lea eax, [esp + 0x28]
push eax
push ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x1c]
jne 0x402d49
test ebp, ebp
je 0x402d49
mov eax, esi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402d17
mov edx, ebx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402d26
push ebp
push ebx
push str._20s_t_10d_n
call fcn.0041f120
add dword [esp + 0x24], 1
add esp, 0xc
add ebx, 0x1e
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], 0x1e
add eax, 1
add edi, 0x10
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jb 0x402ce0
mov esi, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
push esi
push 0x439948
push str._20s_t_10d_n
mov dword [0x447190], esi
call fcn.0041f120
mov ecx, dword [esp + 0x744]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041e548
add esp, 0x738
ret

Function at 0x4036b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4036c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403704
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403700
lea ebx, [ebx]
cmp esi, eax
jae 0x403704
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4036f0
cmp esi, eax
jb 0x40370a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405219
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40525f
call fcn.00408619
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40525f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4052a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40528b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40528b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40529f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40e33c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40e37f
call fcn.00408619
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40e37f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40e39a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040def3
test ebx, ebx
mov esi, eax
je 0x40e398
test edi, edi
je 0x40e398
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40f535
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40f563
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40f581
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040f49f
jmp 0x40f581
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40f581
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040f49f
test edi, edi
mov eax, edi
jne 0x40f56b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x445410]
test ecx, ecx
je 0x40f644
jmp 0x40f534
ret 8

Function at 0x41e548
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44241c]
jne 0x41e552
repz ret
jmp fcn.00422fb2
Function at 0x42bb0a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042460b
xor ebx, ebx
cmp dword [0x446178], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42bbdf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42bb4a
xor eax, eax
jmp 0x42bca3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x437a48
push edi
call esi
cmp eax, ebx
je 0x42bb43
push eax
call fcn.004245a8
mov dword [esp], 0x437a38
push edi
mov dword [0x446178], eax
call esi
push eax
call fcn.004245a8
mov dword [esp], 0x437a24
push edi
mov dword [0x44617c], eax
call esi
push eax
call fcn.004245a8
mov dword [0x446180], eax
lea eax, [ebp - 8]
push eax
call fcn.0041eec1
test eax, eax
pop ecx
pop ecx
je 0x42bbad
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00423e47
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42bbdf
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004245a8
cmp eax, ebx
pop ecx
mov dword [0x446188], eax
je 0x42bbdf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004245a8
pop ecx
mov dword [0x446184], eax
mov eax, dword [0x446184]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42bc58
cmp dword [0x446188], esi
je 0x42bc58
push eax
call fcn.00424614
pop ecx
call eax
cmp eax, ebx
je 0x42bc25
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x446188]
call fcn.00424614
pop ecx
call eax
test eax, eax
je 0x42bc25
test byte [ebp - 0x18], 1
jne 0x42bc58
lea eax, [ebp - 0xc]
push eax
call fcn.0041eef8
test eax, eax
pop ecx
je 0x42bc40
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00423e47
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42bc4f
or dword [ebp + 0x10], 0x200000
jmp 0x42bc89
or dword [ebp + 0x10], 0x40000
jmp 0x42bc89
mov eax, dword [0x44617c]
cmp eax, esi
je 0x42bc89
push eax
call fcn.00424614
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42bc89
mov eax, dword [0x446180]
cmp eax, esi
je 0x42bc89
push dword [ebp - 4]
push eax
call fcn.00424614
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x446178]
call fcn.00424614
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431de4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44241c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00431d79
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00420290
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x431e33
cmp dword [ebp - 0x1c], 5
jb 0x431e4b
jmp 0x431e47
cmp dword [ebp - 0x10], 1
jne 0x431e4b
cmp dword [ebp - 0x1c], 4
ja 0x431e47
jne 0x431e4b
cmp dword [ebp - 0x18], 0
jbe 0x431e4b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x439338
call fcn.00431c6a
test eax, eax
jge 0x431e6c
mov byte [0x44723c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041e548
add ebp, 0x78
leave
ret
Function at 0x40d44e
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d47a
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40e6ce
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e6fa
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41623c
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416268
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x417993
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4179bf
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41a4cd
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41a4f9
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41b36b
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b397
push ebx
call fcn.004b899a
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4