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

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]

Function at 0x42f77c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], esi
mov ebx, ecx
mov esi, edx
mov ecx, eax
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [0x4edea0], 0
je 0x42f853
cmp dword [ebp + 0x20], 2
je 0x42f7b3
cmp dword [ebp + 0x20], 1
jne 0x42f7c2
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, 0xffffffff
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
je 0x42f7d2
cmp dword [ebp + 0x20], 0xfffffffa
je 0x42f8dc
cmp dword [ebp + 0x20], 0
je 0x42f8e8
xor edx, edx
xor edi, edi
cmp dword [ebp + 0x18], 0
je 0x42f807
cmp dword [ebp + 0x1c], 0
je 0x42f807
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
call fcn.004b0900
push edi
call fcn.004b0a70
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add esp, 8
test edx, edx
je 0x42f853
push edi
push ebx
push esi
call fcn.004b09a0
add esp, 0xc
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
cmp ebx, 0xffffffff
je 0x42f94f
push 0
push edi
push 2
push 0x4ca648
call fcn.004b0960
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp - 0xc]
mov byte [ebx + esi], 0xa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
inc dword [edx]
mov eax, 1
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x14]
test edx, edx
mov dword [edi], 0
je 0x42f87b
mov edi, dword [edx + 0x134]
test edi, edi
jne 0x42f880
mov edi, 0x20000
cmp ebx, edi
jbe 0x42f8b8
cmp dword [ebp + 0x20], 0
je 0x42f8b8
test edx, edx
je 0x42f898
mov edi, dword [edx + 0x134]
test edi, edi
jne 0x42f89d
mov edi, 0x20000
mov dword [ebp - 0x14], ebx
mov ebx, ecx
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
je 0x42f90c
jmp 0x42f8cf
lea edx, [ebp - 0x10]
push 0
push edx
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edi, ecx
mov edx, 1
jmp 0x42f7e6
mov dword [ebp - 0x10], ecx
call fcn.004b0b90
mov ecx, dword [ebp - 0x10]
mov edi, eax
cmp dword [0x4edea0], 0
je 0x42f80b
mov edx, 1
jmp 0x42f7e0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
sub dword [ebp - 0x14], edx
add dword [ecx], edx
add esi, edx
cmp dword [ebp + 0x24], 0
je 0x42f92c
mov ecx, dword [ebp + 0x24]
mov ecx, dword [ecx + 0x134]
test ecx, ecx
jne 0x42f931
mov ecx, 0x20000
cmp ecx, dword [ebp - 0x14]
jb 0x42f93f
mov edi, dword [ebp - 0x14]
test edi, edi
jne 0x42f945
jmp 0x42f8cf
cmp dword [ebp - 0x14], 0
je 0x42f8cf
test edx, edx
jg 0x42f8a2
jmp 0x42f8cf
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43e4d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov ebx, eax
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x40]
mov edx, dword [ebx + 0x134]
sub edi, eax
test edx, edx
mov ecx, edx
jne 0x43e4f7
mov ecx, 0x20000
cmp edi, ecx
ja 0x43e523
lea edx, [ebp - 8]
push 0
push edx
push edi
push eax
push dword [ebx + 0xdc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x43e598
mov ecx, 1
jmp 0x43e598
mov dword [ebp - 0x18], edi
mov ecx, edi
mov dword [ebp - 0x14], esi
test edx, edx
jne 0x43e534
mov edx, 0x20000
mov edi, eax
mov esi, ecx
mov dword [ebp - 4], edx
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push edi
push dword [ebx + 0xdc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43e562
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, 0xffffffff
jmp 0x43e598
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x134]
add edi, eax
sub esi, eax
test edx, edx
jne 0x43e578
mov edx, 0x20000
cmp esi, edx
jae 0x43e585
mov dword [ebp - 4], esi
test esi, esi
jne 0x43e589
jmp 0x43e58d
test esi, esi
je 0x43e58d
test eax, eax
ja 0x43e53b
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0xf0]
and byte [ebx + 0x165], 0xfb
mov dword [ebx + 0x40], edx
add edx, eax
mov dword [ebx + 0x44], edx
xor eax, eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov eax, edi
cdq
mov eax, dword [ebx + 0xc0]
add edi, eax
adc edx, dword [ebx + 0xc4]
mov dword [ebx + 0xc0], edi
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xc4], edx
mov dword [ebx + 0xbc], edx
cmp ecx, 0xffffffff
je 0x43e5f8
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x10]
mov dword [ebx + 0xe0], eax
mov ebx, dword [ebp - 0xc]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
Function at 0x46cb20
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e1c14]
jne 0x46cb2a
repz ret
jmp fcn.00481c60

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x474108
push str._path___NULL_
push 0
push 0x50
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push 2
call fcn.004645d0
add esp, 0x14
cmp eax, 1
jne 0x474108
int3
cmp dword [ebp - 8], 0
jne 0x474149
call fcn.0045e080
mov dword [eax], 0
call fcn.0045e050
mov dword [eax], 0x16
push 0
push 0x50
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push str._access_s
push str._path___NULL_
call fcn.00464010
add esp, 0x14
mov eax, 0x16
jmp 0x474221
mov edx, dword [ebp + 0xc]
and edx, 0xfffffff9
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0xc], edx
jne 0x474179
push str.__amode___6____0_
push 0
push 0x51
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push 2
call fcn.004645d0
add esp, 0x14
cmp eax, 1
jne 0x474179
int3
cmp dword [ebp - 0xc], 0
jne 0x4741b7
call fcn.0045e080
mov dword [eax], 0
call fcn.0045e050
mov dword [eax], 0x16
push 0
push 0x51
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push str._access_s
push str.__amode___6____0_
call fcn.00464010
add esp, 0x14
mov eax, 0x16
jmp 0x474221
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4741e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045de40
add esp, 4
call fcn.0045e050
mov eax, dword [eax]
jmp 0x474221
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x4741ee
xor eax, eax
jmp 0x474221
mov eax, dword [ebp - 4]
and eax, 1
je 0x47421f
mov ecx, dword [ebp + 0xc]
and ecx, 2
je 0x47421f
call fcn.0045e080
mov dword [eax], 5
call fcn.0045e050
mov dword [eax], 0xd
call fcn.0045e050
mov eax, dword [eax]
jmp 0x474221
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402bcc
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.00404c80
test esi, esi
jne 0x402c02
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.00404d70
jmp 0x402c20
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a80
mov edi, eax
test esi, esi
je 0x402c20
cmp dword [ebx], 0
je 0x402c20
dec esi
jmp 0x402c09
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403cb4
Capabilities:
Query or enumerate registry value

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

Function at 0x404a60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5a504c], 0
je 0x404ac1
cmp word [0x5a5220], 0xd7b2
jne 0x404a89
cmp dword [0x5a5228], 0
jbe 0x404a89
mov eax, 0x5a521c
call dword [0x5a5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x597094
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 0x404ae8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x597034], 0
jne 0x404add
push 0
push 0x59708c
push 0x597094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c34
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.00402838
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x5a504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404bfc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406f20
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 0x406f86
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.00404ef0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036b4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406f70
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406f8d
lea eax, [ebp - 0x10]
call fcn.00404c80
ret
Function at 0x4092ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xc], eax
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x409491
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x34
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4094a8
lea eax, [ebp - 0x114]
mov edx, ebx
call fcn.00404e68
push dword [ebp - 0x114]
push 0x4094cc
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00405000
mov eax, dword [ebp - 0x110]
call fcn.00405140
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x409461
mov dword [esi], 0xff
push esi
lea eax, [ebp - 0x10b]
push eax
push esi
push 0
push 0x4094d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x409458
lea eax, [ebp - 0xc]
call fcn.00404c80
mov dword [esi], 1
jmp 0x4093e4
lea eax, [ebp - 0x118]
mov edx, dword [esi]
mov dl, byte [ebp + edx - 0x10c]
call fcn.00404e68
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0xc]
call fcn.00404f48
inc dword [esi]
mov eax, dword [esi]
cmp byte [ebp + eax - 0x10c], 0
jne 0x4093c0
push 0x4094e0
push dword [ebp - 0xc]
push 0x4094ec
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00405000
mov eax, dword [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
mov ecx, 0x409508
mov edx, dword [ebp - 0xc]
call fcn.00404f8c
mov eax, dword [ebp - 0x120]
push eax
push dword [ebp - 0xc]
push 0x409520
push 0x409544
lea eax, [ebp - 0x124]
mov edx, 3
call fcn.00405000
mov eax, dword [ebp - 0x124]
pop edx
pop ecx
call fcn.00408e10
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
inc ebx
cmp bl, 0x38
jne 0x409333
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409498
lea eax, [ebp - 0x124]
mov edx, 6
call fcn.00404ca4
lea eax, [ebp - 0xc]
call fcn.00404c80
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405140
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40b1cd
test al, 0x10
jne 0x40b1d1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b2c0
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405140
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40b2d4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405140
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40b2f6
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40eef0
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 0x40ef29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404d70
jmp 0x40ef32
mov eax, ebx
mov edx, esi
call fcn.00404cd4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40f5e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40f45c
mov eax, dword [0x5a45d4]
cmp byte [eax], 0
je 0x40f660
mov eax, dword [0x5a3ff8]
call fcn.0040303c
call fcn.004029a0
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.0040b750
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 0x40f6a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40f696
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5a3f28]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5a5668]
call fcn.004063e4
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 0x40ff74
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 0x41004a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404d18
lea eax, [ebp - 8]
call fcn.00405190
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405140
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x410034
mov eax, ebx
call fcn.00402838
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41002d
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.00405140
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x410017
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41005c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x410017
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 0x410034
mov eax, dword [ebp - 0x10]
call fcn.00402858
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410051
lea eax, [ebp - 8]
call fcn.00404c80
ret

Function at 0x410660
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 0x4106c4
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.00404ef0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040acb8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4106cb
lea eax, [ebp - 0xc]
call fcn.00404c80
ret

Function at 0x429abc
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.004298e8
dec esi
jne 0x429ade
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42ac20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5a588c
cmp dword [edi], 0
jne 0x42ac9c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5a5888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x597774
mov ecx, 2
call fcn.00402a40
mov edx, 0x42abf8
lea eax, [esi + 5]
call fcn.0042ac18
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042ac18
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 0x42ac71
mov dword [0x5a5888], 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 0x42c350
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 0x42c356
ret

Function at 0x42ea38
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 0x42ea89
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42ea70
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42ea60
jmp 0x42ea89
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 0x42ea71
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439bc4
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.00405130
xor eax, eax
push ebp
push 0x439cf2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x439cc5
xor eax, eax
push ebp
push 0x439cbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f40
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x439c93
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 0x439c82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f40
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405140
mov edx, ebx
pop ecx
call fcn.00402a40
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 0x439c89
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5a3dd4]
mov dl, 1
mov eax, dword [0x4095d4]
call fcn.0040f798
call fcn.00404618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439cf9
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x439d00
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 0x439eb1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405330
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x439ec8
call fcn.00404f8c
mov eax, ebx
call fcn.0042a1b4
mov edi, eax
dec edi
test edi, edi
jl 0x439db8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042a188
mov edx, dword [0x44985c]
call fcn.00403fd8
test al, al
je 0x439db4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042a188
lea edx, [ebp - 0x14]
call fcn.004581fc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405330
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405000
inc esi
dec edi
jne 0x439d66
mov al, byte [0x439ecc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x439ed8
mov eax, dword [ebp - 0xc]
call fcn.00410c38
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404d18
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.004581fc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x439ec8
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.004581fc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x439ec8
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, 0x439ec8
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, 0x439ee4
call fcn.0040c1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439eb8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x14]
call fcn.00404c80
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ca4
ret