joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dfcff
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6ba00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
push esi
mov ax, word [ebx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x14], ax
mov ax, word [ebx + 8]
push edi
mov word [ebp - 0x12], ax
call esi
mov word [ebp - 0x10], ax
mov edi, 0x4e4
mov ax, word [ebx + 8]
mov word [ebp - 0xe], ax
mov ax, word [ebx + 4]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], di
call esi
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 6], di
push dword [ebp - 0x224]
movzx eax, word [ebp + ecx*2 - 0x12]
lea edi, [ecx + 2]
push eax
movzx eax, word [ebp + ecx*2 - 0x14]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00403e80
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x22c]
add esp, 0x1c
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebx]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5dfdce
mov esi, dword [ebp - 0x220]
test esi, esi
jne 0x5dfde8
mov ecx, edi
cmp edi, 8
jb 0x5dfd6a
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ae07
leave
ret 8
push esi
call fcn.005f06f8
pop ecx
mov ecx, dword [ebp - 0x228]
push eax
push esi
call fcn.005dfe64
mov al, 1
jmp 0x5dfdd7

Function at 0x5ffb69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ff9e8

Function at 0x6059ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006056bf
Function at 0x10004090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100040e8
cmp byte [esi + ebx - 1], 0xa
je 0x100040bc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10005118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x147c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x147c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x147c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x147c06a
add dl, dl
jne 0x147c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x147c0dc
xor eax, eax
add dl, dl
jne 0x147c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x147c17d
add dl, dl
jne 0x147c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x147c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x147c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x147c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x147c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x147c075
mov eax, 1
add dl, dl
jne 0x147c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x147c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x147c0e1
sub eax, ebx
mov ebx, 1
jne 0x147c128
mov ecx, 1
add dl, dl
jne 0x147c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x147c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x147c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x147c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x147c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x147c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x147c136
cmp eax, 0x7d00
jae 0x147c16d
cmp eax, 0x500
jb 0x147c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x147c075
cmp eax, 0x7f
ja 0x147c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x147c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x147c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x147c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x54454be2
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x49ad0d62
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4c8150
Capabilities:
Reference l3 dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x404486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4022d8
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], edi
call fcn.00418470
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp si, di
mov ebx, esi
jne 0x4c81d4
mov edx, 0x41c714
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x28]
push ecx
call fcn.004c32f0
lea ecx, [ebp - 0x28]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
cmp si, 0xffff
jne 0x4c81d4
or ebx, 0xffffffff
cmp bx, di
jne 0x4c8263
mov edx, 0x41c728
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x28]
push edx
call fcn.004caad0
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040134c]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp eax, 1
jl 0x4c8263
lea edx, [ebp - 0x58]
push 1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x68]
push ecx
push edx
mov dword [ebp - 0x60], 0x415778
mov dword [ebp - 0x68], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x38]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp si, di
je 0x4c8263
or ebx, 0xffffffff
mov dword [ebp - 0x14], ebx
push 0x4c8294
jmp 0x4c828a
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
Function at 0x4da340
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x404486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402b78
mov ebx, dword [ebp + 8]
push 1
xor edi, edi
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edi
push eax
push 0x415848
push edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov esi, eax
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x2c]
cmp si, di
push ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], 0x4008
push edx
jne 0x4da3e0
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [fcn.0040134c]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0x4da47e
jmp 0x4da47d
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
call edi
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push eax
sub si, 1
push 1
lea edx, [ebp - 0x4c]
push ecx
push edx
jo 0x4da494
mov word [ebp - 0x34], si
mov dword [ebp - 0x3c], 2
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
push eax
push ecx
call edi
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [fcn.0040134c]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x2c]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
push 0x4da47e
jmp 0x4da47d
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
Function at 0x4daff0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x404486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402bb8
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], esi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], 0x4008
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
call edi
mov dword [ebp - 0x7c], 0x415280
mov dword [ebp - 0x84], 8
push 1
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x84]
push eax
push esi
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov esi, eax
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x34]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], 0x4008
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x34]
push edx
call edi
sub si, 1
jo 0x4db169
mov word [ebp - 0x3c], si
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
push 1
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x64]
push ecx
call edi
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [fcn.0040134c]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x34]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x4db153
jmp 0x4db152
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
Function at 0x402f4c
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4033c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47f024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403460
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x403440
xor eax, eax
push ebp
push 0x403439
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 0x40347c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403440
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x47f024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47f024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404180
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49004c], 0
je 0x4041e1
cmp word [0x490220], 0xd7b2
jne 0x4041a9
cmp dword [0x490228], 0
jbe 0x4041a9
mov eax, 0x49021c
call dword [0x490238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47f070
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 0x404208
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x47f034], 0
jne 0x4041fd
push 0
push 0x47f068
push 0x47f070
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x40433c
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.00402a68
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49004d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404304
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread_2
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406264
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 0x4062ca
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_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004045f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f68
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062d1
lea eax, [ebp - 0x10]
call fcn.00404388
ret

Function at 0x40b714
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
test eax, eax
jle 0x40b74d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404478
jmp 0x40b756
mov eax, ebx
mov edx, esi
call fcn.004043dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b760
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
test eax, eax
jle 0x40b781
mov al, byte [esp]
jmp 0x40b783
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c780
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 0x40c856
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404420
lea eax, [ebp - 8]
call fcn.00404898
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404848
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c840
mov eax, ebx
call fcn.00402a68
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c839
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.00404848
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c823
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c868
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c823
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 0x40c840
mov eax, dword [ebp - 0x10]
call fcn.00402a98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c85d
lea eax, [ebp - 8]
call fcn.00404388
ret
Function at 0x40cdbc
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 0x40ce20
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004045f8
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004089e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce27
lea eax, [ebp - 0xc]
call fcn.00404388
ret

Function at 0x41d520
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41d56d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041d360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41d585
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41e6f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49088c
cmp dword [edi], 0
jne 0x41e76c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x490888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47f400
mov ecx, 2
call fcn.00402c88
mov edx, 0x41e6c8
lea eax, [esi + 5]
call fcn.0041e6e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e6e8
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 0x41e741
mov dword [0x490888], 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 0x41fc18
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 0x41fc1e
ret

Function at 0x422168
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 0x4221b9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4221a0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422190
jmp 0x4221b9
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 0x4221a1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430fd4
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 0x430f20
call sub.user32.dll_EnumWindows
ret

Function at 0x4310f4
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 0x431171
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00430b54
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep_2
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x431119
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00430754
cmp dword [ebp - 4], 0
je 0x43115b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404848
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 0x431178
lea eax, [ebp - 4]
call fcn.00404388
ret

Function at 0x434144
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x490b5c], 0
je 0x434293
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48f160]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x434293
mov eax, dword [0x490b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x490b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x434262
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x490b5c]
call fcn.00417734
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43425a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43425a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43425a
mov eax, dword [ebp - 0x14]
call fcn.0043ce14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43425a
push ebp
call fcn.00434100
pop ecx
test al, al
jne 0x43425a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x434216
mov eax, dword [ebp - 0x14]
call fcn.0043b944
dec eax
jle 0x43425a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403764
cmp byte [ebp - 1], 0
je 0x43425a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43425a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x490b60]
call fcn.004338cc
inc edi
dec ebx
jne 0x4341a9
mov eax, dword [0x490b60]
cmp dword [eax + 8], 0
jle 0x43427a
mov eax, dword [0x490b60]
call fcn.0043395c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434293
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433f68
pop ecx
test al, al
jne 0x434293
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret