joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf71fed
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
push 0xf72088
push 0x80000002
mov dword [0xf9a0d8], 0x8000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xf72059
and dword [ebp - 8], eax
push esi
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf72060
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xf7ae1f
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [0xf9a0d8]
leave
ret

Function at 0xf723c1
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xf72418
call fcn.00f61eb0
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xf72410
cmp ecx, 0xffffffff
je 0xf72410
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xf72409
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xf72409
cmp edx, 0x10000000
jae 0xf72409
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xf7acd6
mov dword [ebp - 4], 0xfffffffe
call fcn.00f61f00
ret 4

Function at 0xf731c6
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
lea ebx, [esi + 0x50]
push ebx
push 0
push esi
push 0xf67526
push dword [esi + 0x58]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x4c], eax
test eax, eax
je 0xf7717e
push edi
push 1
mov edi, 0xf9a10c
push edi
call fcn.00f62af0
mov ecx, dword [0xf9a050]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.00f7291b
push edi
mov esi, eax
call fcn.00f62ab0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x404906
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414320]
jne 0x404910
repz ret
jmp fcn.00406d87

Function at 0x40b10e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x414320]
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.004063a8
and dword [ebp - 0x14], 0
cmp dword [0x415e44], 0
mov dword [ebp - 0x18], eax
jne 0x40b1c1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b269
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b269
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x415e44], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x415e48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x415e4c], eax
call edi
push eax
call esi
mov dword [0x415e54], eax
test eax, eax
je 0x40b1c1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x415e50], eax
mov eax, dword [0x415e50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b21a
cmp dword [0x415e54], ecx
je 0x40b21a
push eax
call esi
push dword [0x415e54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b21a
test ebx, ebx
je 0x40b21a
call edi
test eax, eax
je 0x40b211
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b211
test byte [ebp - 8], 1
jne 0x40b21a
or dword [ebp + 0x10], 0x200000
jmp 0x40b24d
mov eax, dword [0x415e48]
cmp eax, dword [ebp - 0x18]
je 0x40b24d
push eax
call esi
test eax, eax
je 0x40b24d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b24d
mov eax, dword [0x415e4c]
cmp eax, dword [ebp - 0x18]
je 0x40b24d
push eax
call esi
test eax, eax
je 0x40b24d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x415e44]
call esi
test eax, eax
je 0x40b269
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b26b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404906
leave
ret
Function at 0x5eec1a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5eec35
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b3e5a]
pop edx
test eax, eax
je 0x5eed07
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5eecf6
test dword [ebp - 0x2a8], 1
jne 0x5eecf6
and dword [ebp - 0x2a8], 0x100
jne 0x5eecf6
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2cc6]
pop edx
pop esi
test eax, eax
je 0x5eec99
jmp 0x5eecf6
cmp word [esi], 0x5a4d
jne 0x5eecf6
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5eecf6
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2c42]
pop edx
test eax, eax
je 0x5eecf6
lea eax, [ebp - 0x28c]
push eax
call fcn.005eeb76
test eax, eax
jne 0x5eecef
jmp 0x5eecf6
mov eax, esi
jmp 0x5eed07
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5eec35
pop esi
leave
ret 4
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x6447416f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0xfd05f97
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402c30
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004048fc
test esi, esi
jne 0x402c66
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004049ec
jmp 0x402c84
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402ae4
mov edi, eax
test esi, esi
je 0x402c84
cmp dword [ebx], 0
je 0x402c84
dec esi
jmp 0x402c6d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4037f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e2010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40388c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40386c
xor eax, eax
push ebp
push 0x403865
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4038a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40386c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4e2010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e2010], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e504c], 0
je 0x40473d
cmp word [0x4e5220], 0xd7b2
jne 0x404705
cmp dword [0x4e5228], 0
jbe 0x404705
mov eax, 0x4e521c
call dword [0x4e5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4e2058
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404764
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e2020], 0
jne 0x404759
push 0
push 0x4e2078
push 0x4e2058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4048b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004028a8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404878
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4065e8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406818
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40666b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406818
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40666b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406834
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4066f4
xor eax, eax
push ebp
push 0x4066ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406430
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4066d2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406854
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4066d2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066f4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40680e
cmp byte [ebp - 0xd], 0
jne 0x40673b
cmp byte [ebp - 0x12], 0
je 0x40680e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406754
dec ebx
cmp byte [ebx], 0x2e
je 0x406763
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406753
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40680e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4067a0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40680e
cmp byte [ebp - 0xd], 0
je 0x40680e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40680e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409cc4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404dac
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409cdd
test al, 0x10
jne 0x409ce1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40cc50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cc89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049ec
jmp 0x40cc92
mov eax, ebx
mov edx, esi
call fcn.00404950
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cc9c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ccbd
mov al, byte [esp]
jmp 0x40ccbf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d344
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d1bc
mov eax, dword [0x4e4804]
cmp byte [eax], 0
je 0x40d3b1
mov eax, dword [0x4e44a0]
call fcn.004030bc
call fcn.00402a10
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a12c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d3f8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d3e7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e4408]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e5718]
call fcn.004063f4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40e244
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e2a8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404b64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004098e0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2af
lea eax, [ebp - 0xc]
call fcn.004048fc
ret
Function at 0x41a7ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x41a880
push 0
mov eax, ebx
call fcn.00404dac
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x41a85b
mov eax, esi
call fcn.00404bb4
inc eax
push eax
mov eax, esi
call fcn.00404dac
push eax
push 1
push 0
mov eax, edi
call fcn.00404dac
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x41a876
mov ecx, dword [0x4e44e0]
mov dl, 1
mov eax, dword [0x418b38]
call fcn.0040d4c4
call fcn.00404214
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x41a8d4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x407f18]
call fcn.004054fc
xor eax, eax
push ebp
push 0x41aa18
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e25b4], 0
jne 0x41a927
mov ecx, dword [0x4e42b8]
mov dl, 1
mov eax, dword [0x4086a0]
call fcn.0040d4c4
call fcn.00404214
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040323c
mov eax, ebx
call fcn.004051c0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x41aa28
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004069c4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051d0
test eax, eax
jle 0x41a9bf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x41a9b8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b7c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b64
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004094f0
test eax, eax
jne 0x41a9b8
mov ebx, 0x15
jmp 0x41a9c4
mov ebx, 0x10
jmp 0x41a9c4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e25b4]
call fcn.0041a720
mov eax, dword [ebp - 8]
call fcn.0041a720
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004069dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aa1f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404920
lea eax, [ebp - 0x10]
mov edx, dword [0x407f18]
call fcn.004055cc
ret

Function at 0x428fb0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00428e34
dec esi
jne 0x428fd2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42a0fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e5a50
cmp dword [edi], 0
jne 0x42a178
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e5a4c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e26bc
mov ecx, 2
call fcn.00402aa4
mov edx, 0x42a0d4
lea eax, [esi + 5]
call fcn.0042a0f4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042a0f4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42a14d
mov dword [0x4e5a4c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42b70c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42b712
ret

Function at 0x42dba8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42dbf9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42dbe0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42dbd0
jmp 0x42dbf9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42dbe1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438c54
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d9c
xor eax, eax
push ebp
push 0x438d82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x438d55
xor eax, eax
push ebp
push 0x438d4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bb4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x438d23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x438d12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bb4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404dac
mov edx, ebx
pop ecx
call fcn.00402aa4
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438d19
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4e4330]
mov dl, 1
mov eax, dword [0x4086a0]
call fcn.0040d4c4
call fcn.00404214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438d89
lea eax, [ebp - 4]
call fcn.004048fc
ret
Function at 0x438d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x438f41
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404f9c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x438f58
call fcn.00404c00
mov eax, ebx
call fcn.0042969c
mov edi, eax
dec edi
test edi, edi
jl 0x438e48
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00429670
mov edx, dword [0x436404]
call fcn.00403b10
test al, al
je 0x438e44
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00429670
lea edx, [ebp - 0x14]
call fcn.00454fbc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404f9c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c74
inc esi
dec edi
jne 0x438df6
mov al, byte [0x438f5c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x438f68
mov eax, dword [ebp - 0xc]
call fcn.0040e81c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404994
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00454fbc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x438f58
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.00454fbc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x438f58
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x438f58
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x438f74
call fcn.0040a8a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438f48
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404920
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404920
lea eax, [ebp - 0x14]
call fcn.004048fc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404920
ret

Function at 0x43a530
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43a47c
call sub.user32.dll_EnumWindows
ret