joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f2fa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [0x526010]
test eax, eax
jne 0x46f328
push 0
push 0
push dword [ebp - 4]
push 0x46f32a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
leave
ret

Function at 0x46f3b2
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [0x526010]
test eax, eax
je 0x46f3d9
push 0
mov eax, dword [ebp - 4]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [0x526010], 0
leave
ret

Function at 0x47079b
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3d11
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x524330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 1
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x470816
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push 0
push 0x84000000
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x14], eax
jmp 0x470822
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x470835
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], 0
je 0x470844
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.0040110c
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.0040110c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4735d3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4241
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x524330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x58], ecx
and dword [ebp - 4], 0
push str.useriduser_idcountrycodecountry
push str.uidcc
mov ecx, dword [ebp + 8]
call fcn.00448fb1
push 0x92
lea eax, [ebp - 0x14]
push eax
call fcn.00458eb3
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x4ff4f8
mov ecx, dword [ebp + 8]
call fcn.00448fb1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.0040110c
push 0x91
lea eax, [ebp - 0x18]
push eax
call fcn.00458eb3
pop ecx
pop ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push 0x4ff504
mov ecx, dword [ebp + 8]
call fcn.00448fb1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
sub eax, 0x10
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.0040110c
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x110]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push str.accepted_offers
mov ecx, dword [ebp + 8]
call fcn.00448fb1
push 0x9c
lea eax, [ebp - 0x1c]
push eax
call fcn.00458eb3
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push 0x4ff524
mov ecx, dword [ebp + 8]
call fcn.00448fb1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.0040110c
lea eax, [ebp - 0x20]
push eax
call fcn.004570e8
pop ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push 0x4ff534
mov ecx, dword [ebp + 8]
call fcn.00448fb1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.0040110c
jmp 0x473762
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x481c0a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 8]
test eax, eax
jne 0x481c38
push 0
push 0
push dword [ebp - 4]
push 0x481b55
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
mov eax, dword [ebp - 4]
and dword [eax + 0x10], 0
leave
ret

Function at 0x481c48
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 8]
test eax, eax
je 0x481c68
push 0
mov eax, dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
leave
ret

Function at 0x48a8ed
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x8000008
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004bc450
add esp, 0xc
mov dword [ebp - 0x58], 0x44
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x48a934
mov dword [ebp - 0x2c], 1
push 0xb
pop eax
mov word [ebp - 0x28], ax
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.00403241
push dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push dword [ebp - 4]
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48a983
mov byte [ebp - 0x59], 1
mov eax, dword [ebp - 8]
sub eax, 0x10
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.0040110c
mov al, byte [ebp - 0x59]
jmp 0x48a9ae
mov byte [ebp - 0x5a], 0
mov eax, dword [ebp - 8]
sub eax, 0x10
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.0040110c
mov al, byte [ebp - 0x5a]
jmp 0x48a9ae
leave
ret 0xc

Function at 0x48a9b2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
and dword [ebp - 4], 0
push 1
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48a9e1
mov al, 1
jmp 0x48a9e3
xor al, al
leave
ret 8
Function at 0x48a9e7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6177
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x524330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x20], 0
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x48aa5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
jmp 0x48aa66
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x494edd
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4e3c
call fcn.004be350
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4e3c], ecx
and dword [ebp - 8], 0
and dword [ebp - 0x4e38], 0
and dword [ebp - 0xc], 0
push 0x4e20
call fcn.004bffac
pop ecx
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x4e31], 1
mov byte [ebp - 1], 0
lea eax, [ebp - 0x4e38]
push eax
push 0x4e20
lea eax, [ebp - 0x4e30]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
setne al
mov byte [ebp - 0x4e31], al
movzx eax, byte [ebp - 0x4e31]
test eax, eax
jne 0x494f56
jmp 0x494fb7
cmp dword [ebp - 0x4e38], 0
ja 0x494f63
jmp 0x494fb7
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x494f6f
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x4e38]
push eax
push dword [ebp - 0xc]
call fcn.004c0665
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 0x4e38]
lea eax, [ebp - 0x4e30]
push eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
push eax
call fcn.004c0300
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x4e38]
mov dword [ebp - 8], eax
xor eax, eax
inc eax
jne 0x494f22
movzx eax, byte [ebp - 1]
test eax, eax
je 0x494fc6
mov eax, dword [ebp - 0xc]
jmp 0x494fd1
push dword [ebp - 0xc]
call fcn.004bdbcd
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc439
leave
ret 4
Function at 0x499aae
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x499b4c
push 0x5044fc
push 4
push eax
call fcn.004c0f21
push eax
call fcn.00403688
add esp, 0x10
push ebx
push edi
call fcn.004c0eae
mov edi, dword [eax]
call fcn.004c0eae
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004bf01a
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.004c0eae
cmp dword [eax], ebx
je 0x499b63
call fcn.004c0eae
push dword [eax]
call fcn.00499214
pop ecx
jmp 0x499b6a
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x499af4
jmp 0x499bf1
call fcn.004c0eae
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x499bed
cmp dword [ebp - 0x11c], esi
jae 0x499bed
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.004bc450
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x499bdc
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x499bdc
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x499bdc
push ebx
push ebx
push esi
jmp 0x499be5
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x499bef
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bc439
leave
ret

Function at 0x49c7da
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 0x49c822
call fcn.00498fc7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x49c822
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x49c865
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 0x49c84e
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 0x49c84e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x49c862
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 0x49daaf
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4e793a
call fcn.004c0aa8
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x49dad4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x49db1a
lea ecx, [ebp - 0x10]
call fcn.00448ec0
mov ecx, dword [esi + 0x50]
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.004990a1
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040110c
mov eax, esi
call fcn.004c0b80
ret 8

Function at 0x4a3675
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 0x4a36bc
call fcn.00498fc7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4a36bc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a36d8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a31ef
mov esi, eax
test edi, edi
je 0x4a36d6
test ebx, ebx
je 0x4a36d6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a462a
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x4a464e
cmp dword [edi + 0x54], 0
jne 0x4a464e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00498fc7
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.004a45eb
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 0x4a9a05
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4a9a30
call fcn.00498fc7
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x4a9a53
push eax
push dword [esi + 4]
call fcn.004a998b
push esi
push eax
mov ecx, 0x528af4
call fcn.004a95ff
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4aa2b8
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4e8109
call fcn.004c0aa8
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004aa278
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00448ec0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x4aa31e
push eax
push dword [esi + 8]
call fcn.004a998b
push dword [esi + 0xc]
mov ecx, 0x528af4
push eax
call fcn.004a95ff
mov eax, esi
call fcn.004c0b80
ret 0x18
Function at 0x4bc439
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x524330]
jne 0x4bc443
repz ret
jmp fcn.004c5f8d
Function at 0x4d4cea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004c595e
and dword [ebp - 4], 0
cmp dword [0x5298e4], 0
mov ebx, eax
jne 0x4d4d9b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4d4e4c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x509f98
push edi
call esi
test eax, eax
je 0x4d4e4c
push eax
call fcn.004c58ec
mov dword [esp], 0x509f88
push edi
mov dword [0x5298e4], eax
call esi
push eax
call fcn.004c58ec
mov dword [esp], 0x509f74
push edi
mov dword [0x5298e8], eax
call esi
push eax
call fcn.004c58ec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5298ec], eax
call esi
push eax
call fcn.004c58ec
pop ecx
mov dword [0x5298f4], eax
test eax, eax
je 0x4d4d9b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c58ec
pop ecx
mov dword [0x5298f0], eax
mov eax, dword [0x5298f0]
cmp eax, ebx
je 0x4d4df3
cmp dword [0x5298f4], ebx
je 0x4d4df3
push eax
call fcn.004c5967
push dword [0x5298f4]
mov esi, eax
call fcn.004c5967
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4d4df3
test edi, edi
je 0x4d4df3
call esi
test eax, eax
je 0x4d4dea
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4d4dea
test byte [ebp - 0xc], 1
jne 0x4d4df3
or dword [ebp + 0x10], 0x200000
jmp 0x4d4e2c
mov eax, dword [0x5298e8]
cmp eax, ebx
je 0x4d4e2c
push eax
call fcn.004c5967
pop ecx
test eax, eax
je 0x4d4e2c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4d4e2c
mov eax, dword [0x5298ec]
cmp eax, ebx
je 0x4d4e2c
push eax
call fcn.004c5967
pop ecx
test eax, eax
je 0x4d4e2c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5298e4]
call fcn.004c5967
pop ecx
test eax, eax
je 0x4d4e4c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4d4e4e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438004]
jne 0x401010
repz ret
jmp fcn.00401649

Function at 0x405ef6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d6f
and dword [ebp - 4], 0
cmp dword [0x43ac5c], 0
mov ebx, eax
jne 0x405fa7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406058
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406058
push eax
call fcn.00404cfd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43ac5c], eax
call esi
push eax
call fcn.00404cfd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43ac60], eax
call esi
push eax
call fcn.00404cfd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ac64], eax
call esi
push eax
call fcn.00404cfd
pop ecx
mov dword [0x43ac6c], eax
test eax, eax
je 0x405fa7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cfd
pop ecx
mov dword [0x43ac68], eax
mov eax, dword [0x43ac68]
cmp eax, ebx
je 0x405fff
cmp dword [0x43ac6c], ebx
je 0x405fff
push eax
call fcn.00404d78
push dword [0x43ac6c]
mov esi, eax
call fcn.00404d78
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405fff
test edi, edi
je 0x405fff
call esi
test eax, eax
je 0x405ff6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405ff6
test byte [ebp - 0xc], 1
jne 0x405fff
or dword [ebp + 0x10], 0x200000
jmp 0x406038
mov eax, dword [0x43ac60]
cmp eax, ebx
je 0x406038
push eax
call fcn.00404d78
pop ecx
test eax, eax
je 0x406038
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406038
mov eax, dword [0x43ac64]
cmp eax, ebx
je 0x406038
push eax
call fcn.00404d78
pop ecx
test eax, eax
je 0x406038
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ac5c]
call fcn.00404d78
pop ecx
test eax, eax
je 0x406058
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40605a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409b80
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x438004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x23523ac], 0x930
jne 0x409baa
push 0x436dc0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x23523ac], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x23521f0], eax
jne 0x409bdd
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameW
lea edx, [ebp - 0x820]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x5d2028bb
nop
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3e6324a7
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1003444
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1005250]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x10034d9
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1003462
sub eax, edx
sar eax, 1
mov ecx, 0x104
cmp eax, ecx
ja 0x10034d9
push esi
push ecx
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcscpy_s
lea eax, [ebp - 0x20c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1003493
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x20c]
dec eax
dec eax
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x10034b9
cmp cx, 0x2f
jne 0x10034c0
xor ecx, ecx
mov word [eax], cx
jmp 0x10034a8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x10034db
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01003e97
leave
ret