joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451e3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bbdc]
cmp dword [eax + 0x30], 0
je 0x451ee6
cmp dword [ebx + 0x94], 0
jne 0x451ee0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451dcc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451ee0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451ea6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451ee0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414098
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451eb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452a44
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452a79
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040430c
jmp 0x452a86
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453c28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453c69
mov eax, esi
call fcn.0043a244
test al, al
je 0x453c69
mov eax, dword [ebx + 0x84]
call fcn.00439f40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453c69
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439f40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x457354
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x457382
mov eax, ebx
call fcn.00457e08
cmp dword [ebx + 0x40], 0
je 0x45737b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4573f3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4573e5
cmp dword [ebx + 8], 0
je 0x4573a4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4573b6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4573e5
cmp dword [ebx + 8], 0
je 0x457397
cmp eax, 3
je 0x4573c9
dec eax
jne 0x457397
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x457397
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x457397
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x457411
cmp dword [ebx + 0x14], 0xcc
je 0x457411
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045741c
pop ebx
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x416680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
mov al, byte [esp + 0x74]
sub esp, 0x10
mov esi, esp
xor ebx, ebx
mov dword [esp + 0x1c], esp
push ebx
mov ecx, esi
mov dword [esp + 0x80], 1
mov byte [esi], al
call fcn.004021c0
mov ecx, dword [0x4173b4]
lea edx, [esp + 0x84]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00401d10
mov ecx, edi
call fcn.00401360
cmp eax, ebx
je 0x40108d
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], bl
call fcn.004021c0
push 1
lea ecx, [esp + 0x88]
mov dword [esp + 0x70], 0xffffffff
call fcn.004021c0
jmp 0x4011fc
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
cmp eax, ebx
mov dword [esp + 0x54], ebx
mov word [esp + 0x52], bx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], ebx
jne 0x4010d7
mov eax, 0x4173b0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push str.__install
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401181
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
je 0x401121
mov al, byte [ecx - 1]
cmp al, bl
je 0x401117
cmp al, 0xff
je 0x401117
dec al
mov byte [ecx - 1], al
jmp 0x401121
dec ecx
push ecx
call fcn.00404bf7
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x78], ebx
cmp ecx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
je 0x40116b
mov al, byte [ecx - 1]
cmp al, bl
je 0x401161
cmp al, 0xff
je 0x401161
dec al
mov byte [ecx - 1], al
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret 0x20
dec ecx
push ecx
call fcn.00404bf7
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret 0x20
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
je 0x4011c6
mov al, byte [ecx - 1]
cmp al, bl
je 0x4011bc
cmp al, 0xff
je 0x4011bc
dec al
mov byte [ecx - 1], al
jmp 0x4011c6
dec ecx
push ecx
call fcn.00404bf7
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x78], ebx
cmp ecx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
je 0x4011fc
mov al, byte [ecx - 1]
cmp al, bl
je 0x4011f2
cmp al, 0xff
je 0x4011f2
dec al
mov byte [ecx - 1], al
jmp 0x4011fc
dec ecx
push ecx
call fcn.00404bf7
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x20
Function at 0x401260
Capabilities:
Start service

Disassembly:
push ecx
push ebx
push esi
push edi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, dword [esp + 0x18]
mov edi, eax
test edi, edi
je 0x4012c8
test ebx, ebx
mov eax, 0x4173b0
je 0x40128c
mov eax, ebx
push ebp
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4012c0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x4012bd
mov dword [esp + 0x10], 1
push esi
call ebp
push edi
call ebp
mov esi, dword [esp + 0x10]
pop ebp
test ebx, ebx
je 0x4012ef
mov al, byte [ebx - 1]
test al, al
je 0x4012e5
cmp al, 0xff
je 0x4012e5
dec al
pop edi
mov byte [ebx - 1], al
mov eax, esi
pop esi
pop ebx
pop ecx
ret 0x10
dec ebx
push ebx
call fcn.00404bf7
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 0x10
Function at 0x4013e0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x458
push ebx
push ebp
push esi
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov ecx, 0xff
mov dword [esp + 0x18], eax
lea edi, [esp + 0x69]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x46c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], ebx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x24], 0x44
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d2f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x28], ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x68]
and ecx, 3
mov dword [esp + 0x58], ebx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x470]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x56], bx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov dword [esp + 0x2c], ebx
and ecx, 3
mov dword [esp + 0x50], ebx
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00405315
mov ebp, eax
add esp, 4
or eax, 0xffffffff
cmp ebp, ebx
mov dword [esp + 0x20], eax
je 0x401559
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401527
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x20]
jmp 0x40154e
mov eax, dword [esp + 0x474]
cmp eax, ebx
je 0x40153a
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
jmp 0x40154e
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
push ebp
call fcn.00404bf7
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x458
ret 0xc
Function at 0x4036b0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x504
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.BServicelogcfg.dat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp]
lea eax, [esp + 0x104]
push edx
push 0x400
push eax
push 0x41d5dc
push str.ProcessFireWall
push str.CONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x104]
push ecx
call dword [sym.imp.USER32.dll_CharUpperA]
lea edx, [esp + 0x104]
push 0x41d5c0
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403739
push str.pfw.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x421534], eax
add esp, 0x504
ret
mov eax, dword [0x421534]
add esp, 0x504
ret

Function at 0x40b559
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x420530
cmp edx, dword [eax]
je 0x40b57b
add eax, 8
inc ecx
cmp eax, 0x4205c0
jl 0x40b56c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x420530]
jne 0x40b6a9
mov eax, dword [0x421c24]
cmp eax, 1
je 0x40b683
test eax, eax
jne 0x40b5ac
cmp dword [0x41df14], 1
je 0x40b683
cmp edx, 0xfc
je 0x40b6a9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b5e3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004068a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406a20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b626
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406a20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x418cd4
push edi
call fcn.00405610
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004068a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004068b0
lea eax, [ebp - 0xa0]
push 0x418cb4
push eax
call fcn.004068b0
push dword [esi + 0x420534]
lea eax, [ebp - 0xa0]
push eax
call fcn.004068b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c6c1
add esp, 0x2c
pop edi
jmp 0x40b6a9
lea eax, [ebp + 8]
lea esi, [esi + 0x420534]
push 0
push eax
push dword [esi]
call fcn.00406a20
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 0x402a84
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.004044e4
test esi, esi
jne 0x402aba
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.004045d4
jmp 0x402ad8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402938
mov edi, eax
test esi, esi
je 0x402ad8
cmp dword [ebx], 0
je 0x402ad8
dec esi
jmp 0x402ac1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035ec
Capabilities:
Query or enumerate registry value

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

Function at 0x404348
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x469048], 0
je 0x4043a9
cmp word [0x46921c], 0xd7b2
jne 0x404371
cmp dword [0x469224], 0
jbe 0x404371
mov eax, 0x469218
call dword [0x469234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x467070
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 0x4043d0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x467030], 0
jne 0x4043c5
push 0
push 0x467068
push 0x467070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4060c0
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 0x406126
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.00404754
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403054
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406110
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40612d
lea eax, [ebp - 0x10]
call fcn.004044e4
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049a4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ac9
test al, 0x10
jne 0x408acd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408ad4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004049a4
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408af6
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40b740
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 0x40b779
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045d4
jmp 0x40b782
mov eax, ebx
mov edx, esi
call fcn.00404538
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b78c
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 0x40b7ad
mov al, byte [esp]
jmp 0x40b7af
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40be34
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bcac
mov eax, dword [0x468868]
cmp byte [eax], 0
je 0x40beb0
mov eax, dword [0x468680]
call fcn.00402eb4
call fcn.00402864
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.00408e78
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 0x40bef8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bee6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x468624]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469664]
call fcn.004055d4
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 0x40c74c
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 0x40c822
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040457c
lea eax, [ebp - 8]
call fcn.004049f4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c80c
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c805
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.004049a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c7ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c834
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c7ef
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 0x40c80c
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c829
lea eax, [ebp - 8]
call fcn.004044e4
ret

Function at 0x40cd78
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 0x40cddc
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.00404754
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408730
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cde3
lea eax, [ebp - 0xc]
call fcn.004044e4
ret
Function at 0x41b1c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x469884
cmp dword [edi], 0
jne 0x41b23c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x469880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x467470
mov ecx, 2
call fcn.004028f8
mov edx, 0x41b198
lea eax, [esi + 5]
call fcn.0041b1b8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b1b8
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 0x41b211
mov dword [0x469880], 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 0x41c7c0
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 0x41c7c6
ret

Function at 0x41ed50
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 0x41eda1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ed88
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ed78
jmp 0x41eda1
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 0x41ed89
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427890
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404994
xor eax, eax
push ebp
push 0x4279be
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427991
xor eax, eax
push ebp
push 0x42798a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047a4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42795f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42794e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047a4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049a4
mov edx, ebx
pop ecx
call fcn.004028f8
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 0x427955
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4685cc]
mov dl, 1
mov eax, dword [0x4074a0]
call fcn.0040bfb8
call fcn.00403f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4279c5
lea eax, [ebp - 4]
call fcn.004044e4
ret