joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404812
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x42a6e0]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x20
mov eax, 0x41fe88
call fcn.0041069e
mov edi, dword [ebp + 0x12c]
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x1c]
push ebx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
call fcn.0040feb0
add esp, 0xc
push ebx
lea ecx, [ebp]
mov byte [ebp - 0xd], 1
mov dword [ebp + 0x18], 0xf
call fcn.00401574
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 4], ebx
jmp 0x4048f0
cmp byte [ebp - 0xd], bl
je 0x4048aa
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00401dec
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x4048d5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00401dec
inc dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x40488a
mov eax, dword [ebp - 0x14]
cmp dword [0x42bb98], eax
jne 0x404917
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x40490d
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
push 1
lea ecx, [ebp]
call fcn.00401620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0040ff2a
add ebp, 0x124
leave
ret 4
Function at 0x407391
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4073df
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4073f0
push 0xd
pop eax
jmp 0x40741a
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4073f3
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4080f3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x42a6e0]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00407350
mov ebx, eax
cmp ebx, esi
je 0x408163
lea ecx, [ebp - 0x70]
call fcn.004072db
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ff2a
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x40817b
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.004080f3
cmp eax, esi
jne 0x4081ad
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x40816b
lea ecx, [ebp - 0x70]
call fcn.004072db
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00407280
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004072db
mov eax, esi
jmp 0x408149
Function at 0x40b1f0
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
lea eax, [ebp - 0x78]
push eax
push 0x1e
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp si, ax
jne 0x40b238
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edx, ax
xor ecx, ecx
lea eax, [ebp + ecx*4 - 0x78]
cmp dx, word [eax]
jne 0x40b230
mov edi, dword [eax]
inc ecx
cmp ecx, 0x1e
jl 0x40b225
jmp 0x40b24b
xor ecx, ecx
lea eax, [ebp + ecx*4 - 0x78]
cmp si, word [eax]
jne 0x40b245
mov edi, dword [eax]
inc ecx
cmp ecx, 0x1e
jl 0x40b23a
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40b251
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x42a6e0]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa4]
or dword [ebp - 0x78], 0xffffffff
push edi
mov edi, dword [ebp + 0xa0]
mov dword [ebp - 0x80], eax
test edi, edi
je 0x40b327
push ebx
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
and dword [ebp - 0x74], 0
mov esi, 0x429b18
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.0040feb0
lea eax, [esi + 4]
push eax
push dword [ebp - 0x80]
call fcn.00411ad1
add esp, 0x14
test eax, eax
je 0x40b31f
mov eax, dword [esi]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040b1cb
pop ecx
push edi
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
mov ecx, dword [ebp - 0x74]
shl eax, 0x10
add ecx, 0xfffffff1
or eax, 1
cmp ecx, 3
ja 0x40b2f1
or eax, 0x1000000
push ebx
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x80]
call fcn.00411ad1
pop ecx
pop ecx
test eax, eax
je 0x40b31f
inc dword [ebp - 0x74]
add esi, 0x18
cmp esi, 0x42a148
jl 0x40b2a1
jmp 0x40b325
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
pop esi
pop ebx
push 1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov ecx, dword [ebp + 0x94]
mov eax, dword [ebp - 0x78]
xor ecx, ebp
pop edi
call fcn.0040ff2a
add ebp, 0x98
leave
ret
Function at 0x40c01c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
call fcn.0040116d
test eax, eax
je 0x40c087
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push str.SOFTWAREINTELDISPLAYIGFXCUITVWizard
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c074
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.TVWizardSupported
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], esi
setne al
mov esi, eax
mov eax, esi
pop esi
leave
ret

Function at 0x40d3f6
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x4202c6
call fcn.00410707
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x14], 0xf
call fcn.00401574
push 0x1c
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040feb0
add esp, 0xc
push str.gfxUI.exe
lea ecx, [ebp - 0x2c]
call fcn.00401dec
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0040feb0
push 0x44
pop esi
push esi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0040feb0
add esp, 0x18
mov dword [ebp - 0x84], esi
call fcn.00401254
cmp eax, 1
jne 0x40d4a9
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x40d472
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push 0x4000020
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40d4bb
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x40]
call esi
mov byte [ebp - 0x2d], 1
jmp 0x40d4bb
push ebx
push str.Warning
push str.Install_.Net3.0_Frame_Work_to_run_the_Intel_UI_Application
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401620
mov al, byte [ebp - 0x2d]
call fcn.00410751
ret

Function at 0x40da5d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x42bcb8], 0
push esi
jne 0x40d9d0
call fcn.0040d8f6
test eax, eax
je 0x40da13
mov eax, dword [0x42bcb8]
cmp eax, 1
jne 0x40d9f1
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40da13
pop esi
ret
push eax
call dword [0x42bcc0]
test eax, eax
jne 0x40da5b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40da17
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x42bcb8]
call dword [0x42bcc0]
mov edi, eax
test edi, edi
je 0x40da3c
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40da58
mov edi, esi
add esi, 0xff0
push edi
push dword [0x42bcb8]
call dword [0x42bcbc]
add edi, 0x10
cmp edi, esi
jb 0x40da44
mov eax, edi
pop edi
pop esi
ret
jmp 0x40d9bd
Function at 0x40ff2a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a6e0]
jne 0x40ff34
repz ret
jmp fcn.00413391

Function at 0x41d26f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00413f11
and dword [ebp - 4], 0
cmp dword [0x42c6ec], 0
mov ebx, eax
jne 0x41d320
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41d3d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42459c
push edi
call esi
test eax, eax
je 0x41d3d1
push eax
call fcn.00413e9f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42c6ec], eax
call esi
push eax
call fcn.00413e9f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42c6f0], eax
call esi
push eax
call fcn.00413e9f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42c6f4], eax
call esi
push eax
call fcn.00413e9f
pop ecx
mov dword [0x42c6fc], eax
test eax, eax
je 0x41d320
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413e9f
pop ecx
mov dword [0x42c6f8], eax
mov eax, dword [0x42c6f8]
cmp eax, ebx
je 0x41d378
cmp dword [0x42c6fc], ebx
je 0x41d378
push eax
call fcn.00413f1a
push dword [0x42c6fc]
mov esi, eax
call fcn.00413f1a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41d378
test edi, edi
je 0x41d378
call esi
test eax, eax
je 0x41d36f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41d36f
test byte [ebp - 0xc], 1
jne 0x41d378
or dword [ebp + 0x10], 0x200000
jmp 0x41d3b1
mov eax, dword [0x42c6f0]
cmp eax, ebx
je 0x41d3b1
push eax
call fcn.00413f1a
pop ecx
test eax, eax
je 0x41d3b1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41d3b1
mov eax, dword [0x42c6f4]
cmp eax, ebx
je 0x41d3b1
push eax
call fcn.00413f1a
pop ecx
test eax, eax
je 0x41d3b1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c6ec]
call fcn.00413f1a
pop ecx
test eax, eax
je 0x41d3d1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41d3d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c7a40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DATA
lea edi, [esi - 0x8b000]
push edi
jmp 0x4c7a5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c7a61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7a50
mov eax, 1
add ebx, ebx
jne 0x4c7a73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c7a84
jne 0x4c7aa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7aa3
dec eax
add ebx, ebx
jne 0x4c7a90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c7a68
add ebx, ebx
jne 0x4c7a9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c7af5
xor ecx, ecx
sub eax, 3
jb 0x4c7abb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c7b2a
sar eax, 1
mov ebp, eax
jmp 0x4c7ac6
add ebx, ebx
jne 0x4c7ac6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7a94
inc ecx
add ebx, ebx
jne 0x4c7ad4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c7a94
add ebx, ebx
jne 0x4c7ae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c7ad6
jne 0x4c7af2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c7ad6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c7b14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c7b06
jmp 0x4c7a56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c7b14
add edi, ecx
jmp 0x4c7a56
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c7b32
cmp byte [edi], 6
jne 0x4c7b32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c7b37
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c7ba6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc7c60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc7c9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c7b64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc7ca0]
or eax, eax
je 0x4c7ba0
mov dword [ebx], eax
add ebx, 4
jmp 0x4c7b81
call dword [esi + 0xc7cb0]
mov ebp, dword [esi + 0xc7ca4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c7bda
sub esp, 0xffffff80
jmp 0x403861
Function at 0x402a44
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.00404488
test esi, esi
jne 0x402a7a
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.00404578
jmp 0x402a98
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402958
mov edi, eax
test esi, esi
je 0x402a98
cmp dword [ebx], 0
je 0x402a98
dec esi
jmp 0x402a81
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403544
Capabilities:
Query or enumerate registry value

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

Function at 0x404288
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46b048], 0
je 0x4042e9
cmp word [0x46b21c], 0xd7b2
jne 0x4042b1
cmp dword [0x46b224], 0
jbe 0x4042b1
mov eax, 0x46b218
call dword [0x46b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x469070
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 0x404310
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x469030], 0
jne 0x404305
push 0
push 0x469068
push 0x469070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40443c
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.0040271c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x46b049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404404
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4060bc
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 0x406122
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.004046f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402fac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40610c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406129
lea eax, [ebp - 0x10]
call fcn.00404488
ret

Function at 0x40b23c
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 0x40b275
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404578
jmp 0x40b27e
mov eax, ebx
mov edx, esi
call fcn.004044dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b930
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b7a8
mov eax, dword [0x46a2dc]
cmp byte [eax], 0
je 0x40b9ac
mov eax, dword [0x46a0e8]
call fcn.00402e0c
call fcn.00402884
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.00408a9c
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 0x40b9f4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9e2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46a090]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46b664]
call fcn.004055d0
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 0x40c26c
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 0x40c342
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404520
lea eax, [ebp - 8]
call fcn.00404998
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404948
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c32c
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c325
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.00404948
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c30f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c354
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c30f
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 0x40c32c
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c349
lea eax, [ebp - 8]
call fcn.00404488
ret

Function at 0x40c834
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 0x40c898
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.004046f8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408580
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c89f
lea eax, [ebp - 0xc]
call fcn.00404488
ret

Function at 0x41a45c
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.0041a288
dec esi
jne 0x41a47e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41b5c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46b888
cmp dword [edi], 0
jne 0x41b63c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46b884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46940c
mov ecx, 2
call fcn.00402918
mov edx, 0x41b598
lea eax, [esi + 5]
call fcn.0041b5b8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b5b8
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 0x41b611
mov dword [0x46b884], 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 0x41c868
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 0x41c86e
ret

Function at 0x41eddc
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 0x41ee2d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ee14
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ee04
jmp 0x41ee2d
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 0x41ee15
pop ebx
mov esp, ebp
pop ebp
ret