joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40178d
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
xor esi, esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x40
push 0x403028
push esi
push esi
mov dword [0x403018], eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x30
lea ecx, [ebp - 0x4c]
pop edx
call fcn.00401034
mov eax, dword [0x403018]
push 0x7f00
push esi
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x4012e7
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x64
mov dword [ebp - 0x30], eax
pop edi
push edi
push dword [0x403018]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
mov edi, 0x402160
push eax
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x24], edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
mov eax, 0x80000000
push dword [0x403018]
push esi
push esi
push esi
push eax
push esi
push eax
push 0xcf0000
push esi
push edi
push 0x310
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [section..data], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push esi
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
call edi
test eax, eax
je 0x401893
lea eax, [ebp - 0x1c]
push eax
push dword [section..data]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x40188a
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
jmp 0x40185c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1001408
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x100144b
push esi
lea ecx, [eax + 8]
call dword [sym.imp.ulib.dll_public:_class_WSTRING____thiscall_PATH::QueryFullPathString_void_const]
mov esi, eax
cmp esi, ebx
je 0x100144a
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1001442
cmp word [eax], bx
je 0x1001442
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001442
test ah, 0x10
je 0x1001442
mov bl, 1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop esi
mov al, bl
pop ebx
ret 4
Function at 0x4011d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4011eb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401222
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40121e
jmp 0x401210
cmp esi, eax
jae 0x401222
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401210
cmp esi, eax
jb 0x401229
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4013c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a630
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5a5050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
nop
mov bl, 5
mov dword [ebp - 0x24], 0x4e52454b
mov dword [ebp - 0x20], 0x32334c45
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], bl
nop
push 0x528f14
push 0x528f04
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55ad8c
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0x50746547
mov dword [ebp - 0x30], 0x65636f72
mov dword [ebp - 0x2c], 0x65487373
mov word [ebp - 0x28], 0x7061
mov byte [ebp - 0x26], bl
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0x25
call fcn.00503c5f
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, 0x40147f
ret
Function at 0x4014d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a660
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5a5050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
movzx edx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x401520
mov ecx, dword [ecx]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x18], edx
jge 0x401647
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
push 0x55ad8c
jne 0x40159e
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
call fcn.00503c5f
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x401585
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0xc]
add eax, dword [ebp - 0x1c]
push 4
push 0x1000
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push 0
push eax
mov dword [edi + 8], eax
call fcn.00504020
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, 0x401592
ret
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
call fcn.00503c5f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
push 4
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x4015d9
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401720
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5a5050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x528f30
push 0x528f04
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x528f20
push 0x528f04
call esi
push eax
call edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x20], ecx
jge 0x4018c8
mov eax, dword [edi + 0x24]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40180a
push 0x55ad8c
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4b
call fcn.00503c5f
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push 0x4000
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4017ff
ret
lea ecx, [edx + ecx*2]
lea edx, [esi + ecx*2]
mov ecx, dword [edx*4 + 0x5a0080]
mov dword [ebp - 0x1c], ecx
test eax, 0x4000000
je 0x401828
or dword [ebp - 0x1c], 0x200
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x401889
push 0x55ad8c
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call fcn.00503c5f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x401862
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
jmp 0x40186e
test al, al
jns 0x401871
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov eax, 0x40187e
ret
push 0x55ad8c
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call fcn.00503c5f
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4017ff
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402380
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
xor esi, esi
xor edi, edi
mov al, byte [edi + 0x5a0395]
xor byte [esi + 0x56d080], al
inc edi
push 0
call ebx
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea ecx, [edx + edx*4]
mov edx, esi
sub edx, ecx
jne 0x4023b6
xor edi, edi
inc esi
cmp esi, 0x33000
jl 0x402390
push 0x56d080
call fcn.00401fa0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4023ec
mov eax, dword [ebp + 8]
push eax
push ebx
call fcn.00401dd0
add esp, 8
test eax, eax
jne 0x4023f1
push ebx
call fcn.00401c60
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
sub esp, 0x2ec
mov edi, esp
mov ecx, 0xbb
mov esi, str.1.13.177.16
rep movsd dword es:[edi], dword [esi]
call eax
push ebx
call fcn.00401c60
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4095fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041282d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409633
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040923c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x409691
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4096b5
cmp dword [edi + 0x74], 0
jne 0x4096b5
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041282d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00409652
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x409b27
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x409b6f
call fcn.0041282d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x409b6f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x409bb2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x409b9b
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 0x409b9b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x409baf
mov ecx, dword [esi + 0x68]
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 0x4113c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41140d
call fcn.0041282d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41140d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x411429
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410ecb
mov esi, eax
test edi, edi
je 0x411427
test ebx, ebx
je 0x411427
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x411be0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5211dd
call fcn.005044b7
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x411c05
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x411c57
call fcn.0041347a
push eax
lea ecx, [ebp - 0x10]
call fcn.004027f0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00507521
push eax
call fcn.00402f8d
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401660
mov eax, esi
call fcn.0050458f
ret 8
Function at 0x451788
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00451447
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4517d2
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f38e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040556d
jmp 0x4517dd
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00415076
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4517e3
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.004114d2
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x451820
call fcn.00451447
mov dword [esi + 0xc], 1
jmp 0x451825
call fcn.00451447
cmp dword [esi], 0
je 0x45186e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x451846
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f38e
jmp 0x451858
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004028d0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040556d
jmp 0x451892
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x451892
push dword [esi]
push dword [ebp + 8]
call fcn.00415076
pop esi
pop ebp
ret 0xc

Function at 0x453aaf
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004db179
call fcn.0041225e
cmp dword [eax + 0x14], 0
jne 0x453acc
mov ecx, esi
pop esi
jmp fcn.004535b4
pop esi
ret

Function at 0x4570cf
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004eaa13
call fcn.0041225e
cmp dword [eax + 0x14], 0
jne 0x4570ec
mov ecx, esi
pop esi
jmp fcn.00456aa2
pop esi
ret
Function at 0x48fb91
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x48fbab
call fcn.0041282d
mov esi, dword [eax + 0xc]
push dword [0x5aa328]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x48fbc9
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x48fbc1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x48fbf6
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x48fbc3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0048fabf
mov esi, eax
jmp 0x48fbe8

Function at 0x4e46f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e4710
mov edi, dword [esi + 0xc]
jmp 0x4e4750
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e4729
call fcn.00413c8e
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e473e
call fcn.00413c8e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e4750
call fcn.00413c8e
call fcn.0041282d
cmp dword [eax + 0x3c], 0
je 0x4e4765
push edi
mov ecx, ebx
call fcn.004e3529
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e4612
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e4783
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e478f
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x503b16
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a5050]
jne 0x503b20
repz ret
jmp fcn.0050b66c
Function at 0x516b17
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a5050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050b065
and dword [ebp - 0x14], 0
cmp dword [0x5ac8b4], 0
mov dword [ebp - 0x18], eax
jne 0x516bca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x516c72
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x516c72
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x550294
push ebx
mov dword [0x5ac8b4], eax
call edi
push eax
call esi
push 0x550280
push ebx
mov dword [0x5ac8b8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ac8bc], eax
call edi
push eax
call esi
mov dword [0x5ac8c4], eax
test eax, eax
je 0x516bca
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ac8c0], eax
mov eax, dword [0x5ac8c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x516c23
cmp dword [0x5ac8c4], ecx
je 0x516c23
push eax
call esi
push dword [0x5ac8c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x516c23
test ebx, ebx
je 0x516c23
call edi
test eax, eax
je 0x516c1a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x516c1a
test byte [ebp - 8], 1
jne 0x516c23
or dword [ebp + 0x10], 0x200000
jmp 0x516c56
mov eax, dword [0x5ac8b8]
cmp eax, dword [ebp - 0x18]
je 0x516c56
push eax
call esi
test eax, eax
je 0x516c56
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x516c56
mov eax, dword [0x5ac8bc]
cmp eax, dword [ebp - 0x18]
je 0x516c56
push eax
call esi
test eax, eax
je 0x516c56
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ac8b4]
call esi
test eax, eax
je 0x516c72
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x516c74
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503b16
leave
ret
Function at 0x10004350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov word [ebp - 6], 0x7274
mov dword [ebp - 0xb], 0x20657479
mov byte [ebp - 4], 0
mov byte [ebp - 0xc], 0x62
mov byte [ebp - 7], 0x70
mov word [ebp - 0x15], 0x2064
mov word [ebp - 0x12], 0x7274
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x10], 0
mov word [ebp - 0x17], 0x726f
mov byte [ebp - 0x18], 0x77
mov dword [ebp - 0x22], 0x2064726f
mov word [ebp - 0x1d], 0x7274
mov byte [ebp - 0x1b], 0
mov word [ebp - 0x24], 0x7764
mov byte [ebp - 0x1e], 0x70
mov dword [ebp - 0x41], 0x727470
mov word [ebp - 0x44], 0x6574
mov word [ebp - 0x47], 0x625f
mov byte [ebp - 0x42], 0x20
mov byte [ebp - 0x48], 0x36
mov byte [ebp - 0x45], 0x79
mov word [ebp - 0x2a], 0x7470
mov word [ebp - 0x2d], 0x6472
mov word [ebp - 0x30], 0x7771
mov word [ebp - 0x28], 0x72
mov byte [ebp - 0x2b], 0x20
mov byte [ebp - 0x2e], 0x6f
mov dword [ebp - 0x51], 0x65747962
mov dword [ebp - 0x4d], 0x72747020
mov word [ebp - 0x53], 0x5f30
mov byte [ebp - 0x49], 0
mov byte [ebp - 0x54], 0x31
mov word [ebp - 0x5a], 0x2044
mov dword [ebp - 0x60], 0x41564e49
mov word [ebp - 0x57], 0x5254
mov byte [ebp - 0x55], 0
mov word [ebp - 0x5c], 0x494c
mov byte [ebp - 0x58], 0x50
mov dword [ebp - 0x66], 0x54502044
mov dword [ebp - 0x6c], 0x41564e49
mov word [ebp - 0x68], 0x494c
mov word [ebp - 0x62], 0x52
mov dword [ebp - 0x36], 0x727470
mov word [ebp - 0x3b], 0x6f77
mov word [ebp - 0x38], 0x2064
mov byte [ebp - 0x3c], 0x6f
mov byte [ebp - 0x39], 0x72
cmp eax, 8
ja case.default.0x10004461
jmp dword [eax*4 + 0x100044a8]
lea eax, [ebp - 0xc]
jmp 0x10004493
lea eax, [ebp - 0x18]
jmp 0x10004493
lea eax, [ebp - 0x24]
jmp 0x10004493
lea eax, [ebp - 0x48]
jmp 0x10004493
lea eax, [ebp - 0x30]
jmp 0x10004493
lea eax, [ebp - 0x54]
jmp 0x10004493
lea eax, [ebp - 0x60]
jmp 0x10004493
lea eax, [ebp - 0x6c]
jmp 0x10004493
lea eax, [ebp - 0x3c]
push eax
push 0x104
push dword [ebp + 0xc]
call fcn.1000eac3
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x100044d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov word [ebp - 3], 0x73
mov byte [ebp - 4], 0x65
mov word [ebp - 8], 0x7363
mov byte [ebp - 6], 0
mov word [ebp - 0xc], 0x7373
mov byte [ebp - 0xa], 0
mov word [ebp - 0x10], 0x7364
mov byte [ebp - 0xe], 0
mov word [ebp - 0x13], 0x73
mov byte [ebp - 0x14], 0x66
mov word [ebp - 0x17], 0x73
mov byte [ebp - 0x18], 0x67
mov word [ebp - 0x1d], 0x524f
mov word [ebp - 0x20], 0x5245
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1b], 0
mov dword [ebp - 0x26], 0x524f52
mov word [ebp - 0x28], 0x5245
cmp eax, 7
ja case.default.0x1000453b
jmp dword [eax*4 + 0x10004580]
lea eax, [ebp - 4]
jmp 0x10004568
lea eax, [ebp - 8]
jmp 0x10004568
lea eax, [ebp - 0xc]
jmp 0x10004568
lea eax, [ebp - 0x10]
jmp 0x10004568
lea eax, [ebp - 0x14]
jmp 0x10004568
lea eax, [ebp - 0x18]
jmp 0x10004568
lea eax, [ebp - 0x20]
jmp 0x10004568
lea eax, [ebp - 0x28]
push eax
push 0x104
push dword [ebp + 0xc]
call fcn.1000eac3
add esp, 0xc
mov esp, ebp
pop ebp
ret