joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418088
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x41825c
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x424360]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x41825c
test cl, 0x48
je 0x4180f3
cmp byte [eax + 5], 0xa
je 0x4180f3
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x418145
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x41812d
call fcn.0041093b
mov dword [eax], 9
call fcn.00410944
mov dword [eax], esi
jmp 0x41813d
cmp eax, 0x6d
je 0x41825c
push eax
call fcn.0041094d
pop ecx
or eax, 0xffffffff
jmp 0x41825e
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x418257
test eax, eax
je 0x41816c
cmp byte [ebx], 0xa
jne 0x41816c
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x418175
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x418251
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x418241
cmp al, 0xd
je 0x4181a7
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x418233
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4181c1
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4181bc
add dword [ebp + 0x10], 2
jmp 0x418215
mov dword [ebp + 0x10], eax
jmp 0x41822f
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4181e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41822f
cmp dword [ebp - 0xc], 0
je 0x41822f
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x41820a
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x418215
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x418232
cmp ebx, dword [ebp + 0xc]
jne 0x41821a
cmp byte [ebp - 1], 0xa
jne 0x41821a
mov byte [ebx], 0xa
jmp 0x418232
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004137ee
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x418233
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x41818b
jmp 0x418251
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x418251
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41825e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418a0b
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x418a24
or eax, 0xffffffff
jmp 0x418a85
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x418a81
push 0x3d
push esi
call fcn.0040e3ea
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x418a81
cmp esi, eax
je 0x418a81
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x422edc]
sete cl
cmp eax, dword [0x422ee0]
mov dword [ebp - 8], ecx
jne 0x418a67
mov edi, eax
call fcn.004189aa
mov dword [0x422edc], eax
cmp eax, ebx
jne 0x418ac0
cmp dword [ebp + 0xc], ebx
je 0x418a89
cmp dword [0x422ee4], ebx
je 0x418a89
call fcn.004182b1
test eax, eax
je 0x418ac0
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x418a92
xor eax, eax
jmp 0x418a84
push 4
call fcn.0040dbac
cmp eax, ebx
pop ecx
mov dword [0x422edc], eax
je 0x418a81
mov dword [eax], ebx
cmp dword [0x422ee4], ebx
jne 0x418ac0
push 4
call fcn.0040dbac
cmp eax, ebx
pop ecx
mov dword [0x422ee4], eax
je 0x418a81
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x422edc]
call fcn.0041895d
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x418b21
cmp dword [esi], ebx
je 0x418b21
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0040cad8
cmp dword [ebp - 8], ebx
pop ecx
jne 0x418b04
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x418b62
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x418afb
mov eax, edi
shl eax, 2
push eax
push dword [0x422edc]
call fcn.0040f53d
cmp eax, ebx
pop ecx
pop ecx
je 0x418b62
jmp 0x418b5d
cmp dword [ebp - 8], ebx
jne 0x418bcd
cmp edi, ebx
jge 0x418b30
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x422edc]
call fcn.0040f53d
cmp eax, ebx
pop ecx
pop ecx
je 0x418a81
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x422edc], eax
cmp dword [ebp + 0xc], ebx
je 0x418bb7
push dword [ebp - 4]
call fcn.0040c950
inc eax
inc eax
push eax
call fcn.0040dbac
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x418bb7
push dword [ebp - 4]
push esi
call fcn.0040c9e0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x418bb0
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0040cad8
pop ecx
cmp dword [ebp - 8], ebx
je 0x418bc5
push dword [ebp - 4]
call fcn.0040cad8
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x418a84
push dword [ebp - 4]
call fcn.0040cad8
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x418a8e
Function at 0x4012b0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x415166
push eax
mov dword fs:[0], esp
sub esp, 0x198
xor eax, eax
push ebx
mov ebx, ecx
push edi
mov ecx, 0x32
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x32
lea edi, [esp + 0xd8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004010d0
test eax, eax
je 0x401313
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
add esp, 0x1a4
ret
push ebp
push esi
mov ecx, 0x32
lea esi, [esp + 0x18]
lea edi, [esp + 0xe0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0xe0]
push ebp
push ecx
mov ecx, ebx
call fcn.00401270
test ebp, ebp
jle 0x401366
mov ecx, ebp
lea edi, [esp + ebp + 0x18]
mov edx, ecx
lea esi, [esp + 0xe0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + ebp]
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, ebx
call fcn.00401270
push str.http:__xz.cj7.91.com_send.php_mac
lea ecx, [esp + 0x14]
call fcn.0040f355
mov ecx, dword [0x41b1b4]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x14], ecx
xor esi, esi
mov byte [esp + 0x1b0], 1
test edi, edi
jle 0x4013db
cmp esi, 0xc8
jge 0x4013db
movsx edx, byte [esp + esi + 0x18]
push edx
lea eax, [esp + 0x18]
push str._02X
push eax
call fcn.0040eccd
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040f498
inc esi
cmp esi, edi
jl 0x4013a8
mov edx, dword [esp + 0x10]
push 1
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b0], 0
call fcn.0040f32b
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.0040f32b
mov ecx, dword [esp + 0x1a8]
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret

Function at 0x4014b0
Capabilities:
Accept command line arguments

Disassembly:
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00413d32
test eax, eax
jne 0x40153b
push edi
push str.Fatal_Error:_MFC_initialization_failed
push 0x421018
call fcn.004017b0
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.00401550
mov eax, dword [esi]
xor edi, edi
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
mov cl, byte [ecx + esi + 4]
test cl, 6
jne 0x401512
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x401512
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x401533
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
test edx, edx
jne 0x40152b
or al, 4
push 0
push eax
call fcn.0040aad0
pop edi
mov eax, 1
pop esi
ret
call fcn.00401040
mov ecx, eax
call fcn.004012b0
mov eax, esi
pop esi
ret
Function at 0x402a94
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.00404100
test esi, esi
jne 0x402aca
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.004041f0
jmp 0x402ae8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029a8
mov edi, eax
test esi, esi
je 0x402ae8
cmp dword [ebx], 0
je 0x402ae8
dec esi
jmp 0x402ad1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d64
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x487008], 0x8088405
inc edx
mov dword [ebx + 0x487008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x487024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403298
xor eax, eax
push ebp
push 0x403291
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 0x4032d4
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 0x403298
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x487024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x487024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f84
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48904c], 0
je 0x403fe5
cmp word [0x489220], 0xd7b2
jne 0x403fad
cmp dword [0x489228], 0
jbe 0x403fad
mov eax, 0x48921c
call dword [0x489238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x487070
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 0x40400c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x487034], 0
jne 0x404001
push 0
push 0x487068
push 0x487070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405fba
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404370
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d80
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fa4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405fc1
lea eax, [ebp - 0x10]
call fcn.00404100
ret

Function at 0x40b704
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 0x40b73d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041f0
jmp 0x40b746
mov eax, ebx
mov edx, esi
call fcn.00404154
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b750
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 0x40b771
mov al, byte [esp]
jmp 0x40b773
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bdf8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc70
mov eax, dword [0x488cb4]
cmp byte [eax], 0
je 0x40be74
mov eax, dword [0x4889d0]
call fcn.00402bd0
call fcn.004028d4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408bfc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40bebc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40beaa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x488958]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x489668]
call fcn.0040544c
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 0x40c788
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c85e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404198
lea eax, [ebp - 8]
call fcn.00404610
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045c0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c848
mov eax, ebx
call fcn.0040276c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c841
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045c0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c82b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c870
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c82b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c848
mov eax, dword [ebp - 0x10]
call fcn.0040278c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c865
lea eax, [ebp - 8]
call fcn.00404100
ret

Function at 0x40ce28
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 0x40ce8c
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.00404370
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004086f0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce93
lea eax, [ebp - 0xc]
call fcn.00404100
ret

Function at 0x41f22c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x489888
cmp dword [edi], 0
jne 0x41f2a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x489884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x487480
mov ecx, 2
call fcn.00402968
mov edx, 0x41f204
lea eax, [esi + 5]
call fcn.0041f224
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f224
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 0x41f27d
mov dword [0x489884], 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 0x420914
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 0x42091a
ret
Function at 0x422e24
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 0x422e75
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422e5c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422e4c
jmp 0x422e75
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 0x422e5d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dcc0
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.004045b0
xor eax, eax
push ebp
push 0x42ddee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42ddc1
xor eax, eax
push ebp
push 0x42ddba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043c0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42dd8f
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 0x42dd7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043c0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004045c0
mov edx, ebx
pop ecx
call fcn.00402968
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 0x42dd85
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4888bc]
mov dl, 1
mov eax, dword [0x4073c0]
call fcn.0040bfac
call fcn.00403b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ddf5
lea eax, [ebp - 4]
call fcn.00404100
ret
Function at 0x42ddfc
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 0x42dfad
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004047b0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42dfc4
call fcn.0040440c
mov eax, ebx
call fcn.0041e7c0
mov edi, eax
dec edi
test edi, edi
jl 0x42deb4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041e794
mov edx, dword [0x4475a4]
call fcn.0040353c
test al, al
je 0x42deb0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041e794
lea edx, [ebp - 0x14]
call fcn.00453440
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004047b0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404480
inc esi
dec edi
jne 0x42de62
mov al, byte [0x42dfc8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42dfd4
mov eax, dword [ebp - 0xc]
call fcn.0040d400
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404198
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.00453440
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42dfc4
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 + 0x2f8]
call fcn.00453440
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42dfc4
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, 0x42dfc4
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, 0x42dfe0
call fcn.004092d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dfb4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404124
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404124
lea eax, [ebp - 0x14]
call fcn.00404100
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404124
ret

Function at 0x441ebc
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x489b44], 0
jne 0x441edf
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x441e30
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x489b44], eax
ret
Function at 0x443074
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0045a078
test al, al
je 0x4430cf
cmp bl, 7
jne 0x4430ab
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x4430b0
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
test eax, eax
je 0x4430cf
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, edi
call fcn.00429094
mov byte [esi + 0x220], bl
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44d770
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 0x44d6bc
call sub.user32.dll_EnumWindows
ret

Function at 0x44d890
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x44d90d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044d2f0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x44d8b5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044cef0
cmp dword [ebp - 4], 0
je 0x44d8f7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004045c0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d914
lea eax, [ebp - 4]
call fcn.00404100
ret