joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [0x4117c0]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call ebx
mov dword [ebp - 0x5c], eax
sub esp, 0x10
test eax, eax
jle 0x403ee4
xor esi, esi
jmp 0x403e76
inc esi
cmp dword [ebp - 0x5c], esi
je 0x403ee4
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x50], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xc
mov dword [esp + 0xc], eax
mov eax, dword [0x4117c0]
mov dword [ebp - 0x44], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call ebx
sub esp, 0x10
test byte [ebp - 0x48], 2
je 0x403e70
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403ee4
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsIconic]
sub esp, 4
test eax, eax
jne 0x403ef0
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_BringWindowToTop]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 9
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x403ed6
Function at 0x403f10
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [0x4117c0]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call ebx
mov esi, eax
sub esp, 0x10
mov dword [ebp - 0x5c], eax
lea edx, [esi*4]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x64], eax
sub esp, 0xc
test esi, esi
jle 0x404050
mov dword [ebp - 0x60], 0
xor esi, esi
mov eax, ebx
mov ebx, esi
mov esi, eax
nop
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x50], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xc
mov dword [esp + 0xc], eax
mov eax, dword [0x4117c0]
mov dword [ebp - 0x44], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call esi
sub esp, 0x10
test byte [ebp - 0x48], 2
je 0x403fed
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x403fed
mov edx, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x60], edx
inc ebx
cmp dword [ebp - 0x5c], ebx
jne 0x403f90
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.user32.dll_CascadeWindows]
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x403ff6
Function at 0x4041e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [0x4117c0]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call ebx
mov esi, eax
sub esp, 0x10
mov dword [ebp - 0x5c], eax
lea edx, [esi*4]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x64], eax
sub esp, 0xc
test esi, esi
jle 0x404320
mov dword [ebp - 0x60], 0
xor esi, esi
mov eax, ebx
mov ebx, esi
mov esi, eax
nop
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x50], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xc
mov dword [esp + 0xc], eax
mov eax, dword [0x4117c0]
mov dword [ebp - 0x44], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call esi
sub esp, 0x10
test byte [ebp - 0x48], 2
je 0x4042bd
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4042bd
mov edx, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x60], edx
inc ebx
cmp dword [ebp - 0x5c], ebx
jne 0x404260
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.user32.dll_TileWindows]
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x4042c6
Function at 0x404330
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [0x4117c0]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call ebx
mov esi, eax
sub esp, 0x10
mov dword [ebp - 0x5c], eax
lea edx, [esi*4]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x64], eax
sub esp, 0xc
test esi, esi
jle 0x404470
mov dword [ebp - 0x60], 0
xor esi, esi
mov eax, ebx
mov ebx, esi
mov esi, eax
nop
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x50], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xc
mov dword [esp + 0xc], eax
mov eax, dword [0x4117c0]
mov dword [ebp - 0x44], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call esi
sub esp, 0x10
test byte [ebp - 0x48], 2
je 0x40440d
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40440d
mov edx, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x60], edx
inc ebx
cmp dword [ebp - 0x5c], ebx
jne 0x4043b0
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.user32.dll_TileWindows]
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x404416
Function at 0x409070
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp], 0x4110f4
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 4], 0x411400
mov dword [esp], 0
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0x10
test eax, eax
leave
sete al
movzx eax, al
ret
Function at 0x40c680
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x26c
mov eax, dword [0x4117cc]
mov ebx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0x1ff
mov dword [esp + 8], 0x4154e0
mov dword [esp + 4], 0x805c
mov dword [esp], eax
call ebx
mov eax, dword [0x4117cc]
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x414ee0
mov dword [esp + 4], 0x805d
mov dword [esp], eax
call ebx
mov eax, dword [0x4117cc]
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4158e0
mov dword [esp + 4], 0x8059
mov dword [esp], eax
call ebx
mov eax, dword [0x411850]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call esi
mov dword [ebp - 0x25c], eax
sub esp, 0x10
test eax, eax
je 0x40c866
lea ebx, [ebp - 0x254]
xor edi, edi
jmp 0x40c751
inc edi
cmp dword [ebp - 0x25c], edi
je 0x40c79f
mov eax, dword [0x411850]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x254], 8
mov dword [ebp - 0x244], 2
mov dword [ebp - 0x24c], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call esi
sub esp, 0x10
test byte [ebp - 0x248], 2
je 0x40c748
mov eax, dword [0x411850]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [esp], eax
call esi
sub esp, 0x10
mov ebx, eax
mov dword [esp], edi
call sym._PerfDataGetProcessId
mov esi, eax
cmp ebx, 1
jne 0x40c809
test eax, eax
je 0x40c809
mov eax, dword [0x4117d0]
mov dword [esp + 0xc], 0x34
mov dword [esp + 8], 0x4158e0
mov ebx, dword [sym.imp.user32.dll_MessageBoxW]
mov dword [esp + 4], 0x4154e0
mov dword [esp], eax
call ebx
sub esp, 0x10
cmp eax, 6
je 0x40c818
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x40c8a6
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
sub esp, 8
test eax, eax
je 0x40c86d
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor edi, edi
jmp 0x40c79f
lea edi, [ebp - 0x218]
mov dword [esp + 4], 0x100
mov dword [esp], edi
call sym._GetLastErrorText
mov eax, dword [0x4117d0]
mov dword [esp + 4], edi
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x414ee0
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp 0x40c852
lea esi, [ebp - 0x218]
mov dword [esp + 4], 0x100
mov dword [esp], esi
call sym._GetLastErrorText
mov eax, dword [0x4117d0]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x414ee0
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp 0x40c809
Function at 0x40c900
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x27c
mov eax, dword [0x411850]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call ebx
mov dword [ebp - 0x25c], eax
sub esp, 0x10
test eax, eax
jne 0x40c951
jmp 0x40c9aa
inc esi
cmp dword [ebp - 0x25c], esi
je 0x40c9aa
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x24c]
mov dword [ebp - 0x254], 8
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x250], esi
mov dword [esp + 0xc], eax
mov eax, dword [0x411850]
mov dword [ebp - 0x244], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call ebx
sub esp, 0x10
test byte [ebp - 0x248], 2
je 0x40c948
mov eax, dword [0x411850]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [esp], eax
call ebx
sub esp, 0x10
mov ebx, eax
mov dword [esp], esi
call sym._PerfDataGetProcessId
cmp ebx, 1
jne 0x40ca58
test eax, eax
je 0x40ca58
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x600
call dword [sym.imp.kernel32.dll_OpenProcess]
mov dword [0x41183c], eax
sub esp, 0xc
test eax, eax
je 0x40ca60
mov eax, dword [0x4117d0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._AffinityDialogWndProc_16
mov dword [esp + 8], eax
mov eax, dword [0x4117cc]
mov dword [esp + 4], 0x8e
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
mov eax, dword [0x41183c]
sub esp, 0x14
test eax, eax
je 0x40ca58
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [0x41183c], 0
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [ebp - 0x218]
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call sym._GetLastErrorText
mov eax, dword [0x4117cc]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x414ce0
mov dword [esp + 4], 0x8062
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x4117d0]
sub esp, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x414ce0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x40ca58
Function at 0x40cb30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov eax, dword [0x4117d0]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [0x4117cc]
mov dword [esp + 0xc], sym._ColumnsDialogWndProc_16
mov dword [esp + 4], 0x8f
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
cmp eax, 1
je 0x40cb80
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [0x41184c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0x1200
mov dword [esp], eax
call esi
sub esp, 0x10
dec eax
mov ebx, eax
js 0x40cbd6
mov eax, dword [0x411850]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x101c
mov dword [esp], eax
call esi
sub esp, 0x10
sub ebx, 1
jae 0x40cbb0
xor eax, eax
lea esi, [esi]
nop
mov dword [eax*4 + 0x4116a0], eax
inc eax
cmp eax, 0x19
jne 0x40cbe0
mov dword [0x411704], 0x69
mov dword [0x411708], 0x32
mov dword [0x41170c], 0x6b
mov dword [0x411710], 0x46
mov dword [0x411714], 0x23
mov dword [0x411718], 0x46
mov dword [0x41171c], 0x46
mov dword [0x411720], 0x64
mov dword [0x411724], 0x46
mov dword [0x411728], 0x46
mov dword [0x41172c], 0x46
mov dword [0x411730], 0x46
mov dword [0x411734], 0x46
mov dword [0x411738], 0x46
mov dword [0x41173c], 0x3c
mov dword [0x411740], 0x3c
mov dword [0x411744], 0x3c
mov dword [0x411748], 0x3c
mov dword [0x41174c], 0x3c
mov dword [0x411750], 0x46
mov dword [0x411754], 0x46
mov dword [0x411758], 0x46
mov dword [0x41175c], 0x46
mov dword [0x411760], 0x46
mov dword [0x411764], 0x46
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
jmp sym._AddColumns
Function at 0x4108e0
Capabilities:
Access peb ldr_data
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop

Function at 0x410a40
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x410acd
cmp al, 9
je 0x410ac0
cmp al, 0x20
je 0x410ac0
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp al, 0x5c
je 0x410b28
cmp al, 0x22
je 0x410b30
mov dword [ebp - 0x6c], 0
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x410acd
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x410a80
test edi, 1
jne 0x410a80
lea esi, [esi]
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x410ac0
cmp al, 0x20
je 0x410ac0
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x410ae8
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
inc dword [ebp - 0x6c]
jmp 0x410a97
and dword [ebp - 0x6c], 1
jne 0x410a90
xor edi, 1
jmp 0x410a97
Function at 0x40301c
Capabilities:
Query or enumerate registry value

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

Function at 0x403dc0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48b048], 0
je 0x403e21
cmp word [0x48b21c], 0xd7b2
jne 0x403de9
cmp dword [0x48b224], 0
jbe 0x403de9
mov eax, 0x48b218
call dword [0x48b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48806c
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 0x403e48
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x488030], 0
jne 0x403e3d
push 0
push 0x488064
push 0x48806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403f74
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.004026ec
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48b049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403f3c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40565c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40588c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4056df
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40588c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4056df
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4058a8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405768
xor eax, eax
push ebp
push 0x405761
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004054a4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405746
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4058c8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405746
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405768
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405882
cmp byte [ebp - 0xd], 0
jne 0x4057af
cmp byte [ebp - 0x12], 0
je 0x405882
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4057c8
dec ebx
cmp byte [ebx], 0x2e
je 0x4057d7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4057c7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405882
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405814
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405882
cmp byte [ebp - 0xd], 0
je 0x405882
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405882
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
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.00404230
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bb0
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.00403fc0
ret

Function at 0x40b6a0
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 0x40b6d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040b0
jmp 0x40b6e2
mov eax, ebx
mov edx, esi
call fcn.00404014
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bd94
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc0c
mov eax, dword [0x48a00c]
cmp byte [eax], 0
je 0x40be10
mov eax, dword [0x489cfc]
call fcn.004029e0
call fcn.00402854
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.00408df8
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 0x40be58
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40be46
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x489c84]
mov eax, dword [eax + 4]
add al, 0x50