joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003310
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x100327c4
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003467
cmp dword [ebp + 0x10], 0
je 0x100032a2
mov dword [ebp - 8], 8
jmp 0x100032a9
mov dword [ebp - 8], 1
mov dword [ebp - 0x70], 0
jmp 0x100032bb
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp - 8]
jge 0x10003467
cmp dword [ebp + 0x10], 0
je 0x100032d3
mov eax, dword [ebp - 0x70]
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x6c]
push ecx
push 5
fild dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea edx, [ebp - 0x6c]
push edx
call fcn.10002b6d
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 7
ja case.default.0x10003309
mov ecx, dword [ebp - 0x74]
jmp dword [ecx*4 + 0x10003475]
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327e0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327e8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327f0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327f8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032800
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032808
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032810
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032818
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x100032b2
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x1000ba3a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100048e0
test eax, eax
jne 0x1000ba4e
xor eax, eax
jmp 0x1000bb22
push 0x10
mov eax, dword [ebp + 8]
push eax
push 2
push 0x1d
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x1002b5e8]
mov dword [ecx], edx
mov eax, dword [0x1002b5ec]
mov dword [ecx + 4], eax
mov edx, dword [0x1002b5f0]
mov dword [ecx + 8], edx
mov eax, dword [0x1002b5f4]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x10036154]
push ecx
call fcn.10004a82
add esp, 0x24
test eax, eax
jne 0x1000ba98
xor eax, eax
jmp 0x1000bb22
lea edx, [ebp - 4]
push edx
push 0x10033728
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000bb1d
push 4
mov eax, dword [ebp + 8]
push eax
push 4
push 0
push 0x10033744
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov edx, dword [ebp + 8]
add edx, 4
push edx
push 4
push 0
push 0x10033750
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
push 4
push 0
push 0x1003375c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
push 4
push 0
push 0x10033764
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10019400
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029e6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x11c]
call fcn.1001a580
mov dword [ebp - 4], 0
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x11c]
call fcn.100193b0
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x1001948b
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10019280
mov eax, dword [ebp - 0x124]
jmp 0x10019551
mov dword [ebp - 0x120], pe_nt_image_headers32
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10019519
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x11c]
call fcn.10019400
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x1001950a
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10019280
mov eax, dword [ebp - 0x128]
jmp 0x10019551
mov dword [ebp - 0x120], pe_nt_image_headers32
jmp 0x10019495
lea ecx, [ebp - 0x11c]
call fcn.10019300
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.100192c0
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10019280
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10019a40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x10019c50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jge 0x10019cb3
mov edx, 1
test edx, edx
je 0x10019c98
mov dword [ebp - 0xc], 0
jmp 0x10019caf
push str.Should_not_be_here___n
push 0
push pe_nt_image_headers32
call fcn.10017c50
add esp, 0xc
mov dword [ebp - 0xc], eax
xor eax, eax
jmp 0x10019cbc
xor eax, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10019cd0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.1001d3b0
mov dword [ebp - 0x1010], ecx
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10019d48
mov edx, 1
test edx, edx
je 0x10019d2a
mov dword [ebp - 0x1014], 0
jmp 0x10019d44
push str.RegQueryInfoKey_Failed
push 0
push pe_nt_image_headers32
call fcn.10017c50
add esp, 0xc
mov dword [ebp - 0x1014], eax
xor eax, eax
jmp 0x10019da2
cmp dword [ebp - 8], 1
jne 0x10019d99
mov dword [ebp - 0x100c], 0x1000
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x100c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10019d95
movsx eax, byte [ebp - 0x1008]
test eax, eax
je 0x10019d95
mov eax, 1
jmp 0x10019da2
xor eax, eax
jmp 0x10019da2
xor ecx, ecx
cmp ecx, dword [ebp - 8]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100213de
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100357e0
cmp edx, dword [eax]
je 0x10021400
add eax, 8
inc ecx
cmp eax, 0x10035870
jl 0x100213f1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100357e0]
jne 0x1002152e
mov eax, dword [0x100384dc]
cmp eax, 1
je 0x10021508
test eax, eax
jne 0x10021431
cmp dword [0x100384e0], 1
je 0x10021508
cmp edx, 0xfc
je 0x1002152e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10021468
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1001cb30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1001c8d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100214ab
lea eax, [ebp - 0x1a4]
push eax
call fcn.1001c8d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1002dda4
push edi
call fcn.10022800
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1001cb30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1001cb40
lea eax, [ebp - 0xa0]
push 0x1002dd84
push eax
call fcn.1001cb40
push dword [esi + 0x100357e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.1001cb40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10022978
add esp, 0x2c
pop edi
jmp 0x1002152e
lea eax, [ebp + 8]
lea esi, [esi + 0x100357e4]
push 0
push eax
push dword [esi]
call fcn.1001c8d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x402e0c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004044a4
test esi, esi
jne 0x402e43
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404594
jmp 0x402e64
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ca8
mov dword [esp], eax
test esi, esi
je 0x402e64
cmp dword [ebx], 0
je 0x402e64
dec esi
jmp 0x402e4b
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x40356c
Capabilities:
Query or enumerate registry value

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

Function at 0x404300
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c8048], 0
je 0x404361
cmp word [0x4c821c], 0xd7b2
jne 0x404329
cmp dword [0x4c8224], 0
jbe 0x404329
mov eax, 0x4c8218
call dword [0x4c8234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c5070
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 0x404388
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c5034], 0
jne 0x40437d
push 0
push 0x4c5068
push 0x4c5070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40626c
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 0x4062d2
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.00404714
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040310c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062bc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062d9
lea eax, [ebp - 0x10]
call fcn.004044a4
ret

Function at 0x40b7d0
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 0x40b809
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404594
jmp 0x40b812
mov eax, ebx
mov edx, esi
call fcn.004044f8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bed4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bd3c
mov eax, dword [0x4c7c6c]
cmp byte [eax], 0
je 0x40bf50
mov eax, dword [0x4c7a70]
call fcn.00402f5c
call fcn.00402bd4
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.00408e70
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 0x40bf98
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf86
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4c7a18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c8664]
call fcn.004056d8
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 0x40c7f4
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 0x40c8ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040453c
lea eax, [ebp - 8]
call fcn.004049b4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404964
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c8b4
mov eax, ebx
call fcn.00402a48
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c8ad
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.00404964
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c897
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c897
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 0x40c8b4
mov eax, dword [ebp - 0x10]
call fcn.00402a78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8d1
lea eax, [ebp - 8]
call fcn.004044a4
ret

Function at 0x40ce38
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 0x40ce9c
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.00404714
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004088f8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cea3
lea eax, [ebp - 0xc]
call fcn.004044a4
ret
Function at 0x41c54c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x4c8884
cmp dword [esi], 0
jne 0x41c5f2
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x4c8880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4c5470
mov ecx, 2
call fcn.00402c68
mov edx, 0x41c524
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041c544
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041c544
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41c5b9
mov eax, dword [ebp - 8]
mov dword [0x4c8880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41db90
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 0x41db96
ret

Function at 0x420430
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 0x420481
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420468
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420458
jmp 0x420481
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 0x420469
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ed38
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404954
xor eax, eax
push ebp
push 0x42ee68
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42ee3b
xor eax, eax
push ebp
push 0x42ee34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404764
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42ee09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42edf8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404764
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404964
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c68
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 0x42edff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4c79b4]
mov dl, 1
mov eax, dword [0x407744]
call fcn.0040c058
call fcn.00403e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ee6f
lea eax, [ebp - 4]
call fcn.004044a4
ret