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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d022d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004cf700
xor eax, eax
push ebp
push 0x4d0203
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004cfae4
test al, al
je 0x4d01e7
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ba4
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4d01e7
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00406af4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x4d01db
mov eax, dword [ebp - 4]
call fcn.00406af4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00406c14
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004cfc60
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d01db
xor eax, eax
push ebp
push 0x4d01d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004cf700
xor eax, eax
push ebp
push 0x4d01b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406af4
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00406c14
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004cf704
mov eax, dword [ebp - 4]
call fcn.00406af4
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00406c14
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004cfc60
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4d0193
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004cfec4
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004cffec
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d019a
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4d0077
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d020a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004cf700
ret
Function at 0x4d3998
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d39c6
mov eax, ebx
call fcn.004d444c
cmp dword [ebx + 0x40], 0
je 0x4d39bf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d3a37
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d3a29
cmp dword [ebx + 8], 0
je 0x4d39e8
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 0x4d39fa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d3a29
cmp dword [ebx + 8], 0
je 0x4d39db
cmp eax, 3
je 0x4d3a0d
dec eax
jne 0x4d39db
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 0x4d39db
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d39db
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d3a55
cmp dword [ebx + 0x14], 0xcc
je 0x4d3a55
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.004d3a60
pop ebx
ret

Function at 0x4fab10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4fab79
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x10
mov edx, dword [0x401240]
mov eax, 4
call fcn.00407b94
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov esi, ebx
push esi
call sub.kernel32.dll_GetComputerNameW
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4fab65
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00406c14
jmp 0x4fab6f
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fab8d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fce64
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4fce6c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4fd0ab
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4fd069
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x420]
call fcn.00411c14
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x424]
call fcn.00411c14
mov edx, dword [ebp - 8]
pop eax
call fcn.00407128
je 0x4fcf82
push 0xffffffffffffffff
push dword [ebx + 0x424]
push dword [ebx + 0x418]
push 0x4fd0c8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407008
mov eax, dword [ebp - 0xc]
call fcn.00406af4
push eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00404548
mov eax, dword [ebp - 0x10]
call fcn.00406af4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x4fd018
push 0
push 0
push dword [ebx + 0x418]
push 0x4fd0e0
push dword [ebx + 0x41c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00407008
mov eax, dword [ebp - 0x14]
call fcn.00406af4
push eax
push dword [ebx + 0x424]
push dword [ebx + 0x418]
push 0x4fd0c8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407008
mov eax, dword [ebp - 0x18]
call fcn.00406af4
push eax
push 0x4fd0e4
push 0
mov eax, dword [0x50e058]
mov eax, dword [eax]
call eax
mov byte [ebx + 0x3fb], 0
mov byte [ebx + 0x3fd], 1
jmp 0x4fd018
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00404548
mov eax, dword [ebp - 0x20]
call fcn.00406af4
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00406c14
mov esi, dword [ebp - 0x1c]
push dword [ebx + 0x420]
push dword [ebx + 0x418]
push 0x4fd0fc
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x390]
call fcn.0047b674
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00412294
push dword [ebp - 0x2c]
push 0x4fd10c
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00407008
mov eax, dword [ebp - 0x28]
call fcn.00406af4
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.00406c14
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
call fcn.00406af4
push eax
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
call fcn.00406af4
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
push dword [ebx + 0x420]
push dword [ebx + 0x418]
push 0x4fd0fc
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x390]
call fcn.0047b674
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00412294
push dword [ebp - 0x40]
push 0x4fd10c
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00407008
mov eax, dword [ebp - 0x3c]
call fcn.004fa354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd073
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd0b2
lea eax, [ebp - 0x44]
call fcn.00406a58
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00406a60
lea eax, [ebp - 0x30]
call fcn.00406a58
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00406a60
ret
Function at 0x402b4c
Capabilities:
Query or enumerate registry value

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

Function at 0x403490
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x4034f1
cmp word [0x40a218], 0xd7b2
jne 0x4034b9
cmp dword [0x40a220], 0
jbe 0x4034b9
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
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 0x403518
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x40350d
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x403e20
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 0x404050
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403ea3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404050
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403ea3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40406c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403f2c
xor eax, eax
push ebp
push 0x403f25
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403c68
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 0x403f0a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40408c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f0a
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 0x403f2c
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 0x404046
cmp byte [ebp - 0xd], 0
jne 0x403f73
cmp byte [ebp - 0x12], 0
je 0x404046
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403f8c
dec ebx
cmp byte [ebx], 0x2e
je 0x403f9b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403f8b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404046
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403fd8
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 0x404046
cmp byte [ebp - 0xd], 0
je 0x404046
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 0x404046
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 0x403f2c
Capabilities:
Get geographical location

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 0x404050
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403ea3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404050
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403ea3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40406c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403f2c
xor eax, eax
push ebp
push 0x403f25
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403c68
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 0x403f0a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40408c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f0a
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 0x403f2c
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 0x404046
cmp byte [ebp - 0xd], 0
jne 0x403f73
cmp byte [ebp - 0x12], 0
je 0x404046
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403f8c
dec ebx
cmp byte [ebx], 0x2e
je 0x403f9b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403f8b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404046
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403fd8
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 0x404046
cmp byte [ebp - 0xd], 0
je 0x404046
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 0x404046
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 0x4041dc
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 0x404242
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.00403854
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402740
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40422c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404249
lea eax, [ebp - 0x10]
call fcn.0040360c
ret

Function at 0x406218
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 0x406251
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004036fc
jmp 0x40625a
mov eax, ebx
mov edx, esi
call fcn.00403660
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40690c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406784
mov eax, dword [0x4093a4]
cmp byte [eax], 0
je 0x406988
mov eax, dword [0x409300]
call fcn.004026dc
call fcn.004025ec
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.0040570c
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 0x4069d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4069be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.00403c2c
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 0x40737c
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 0x4073e0
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.00403854
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004055c0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4073e7
lea eax, [ebp - 0xc]
call fcn.0040360c
ret

Function at 0x40861c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xfffffeb4
mov ebx, esp
lea esi, [esp + 0x30]
push pe_nt_image_headers32
lea eax, [esp + 0x50]
push eax
push 1
mov eax, dword [0x40a660]
push eax
call sub.user32.dll_LoadStringA_1
mov dword [ebx], 0x30
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0x40843c
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [0x40a660]
mov dword [ebx + 0x14], eax
push 0x408724
mov eax, dword [0x40a660]
push eax
call sub.user32.dll_LoadIconA
mov dword [ebx + 0x18], eax
push 0x408728
mov eax, dword [0x40a660]
push eax
call sub.user32.dll_LoadCursorA
mov dword [ebx + 0x1c], eax
push 0
call sub.gdi32.dll_GetStockObject
mov dword [ebx + 0x20], eax
mov eax, 0x408730
mov dword [ebx + 0x24], eax
mov eax, 0x40873c
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x2c], eax
push ebx
call sub.user32.dll_RegisterClassExA
push 0xcf0000
push 0xa
push 0xa
push 0x1f4
push 0x12c
push 0
push 0
mov eax, dword [0x40a660]
push eax
push 0
lea ecx, [esp + 0x70]
mov edx, 0x40873c
xor eax, eax
call fcn.004046f8
mov ebx, eax
push 3
push ebx
call sub.user32.dll_ShowWindow
jmp 0x408709
push esi
mov eax, dword [0x40a7a4]
push eax
push ebx
call sub.user32.dll_TranslateAcceleratorA
test eax, eax
jne 0x408709
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push esi
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x4086ec
add esp, 0x14c
pop esi
pop ebx
ret
Function at 0x55220d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x509a000]
push edi
or ebp, 0xffffffff
jmp 0x55220f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55220f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55220e8
mov eax, 1
add ebx, ebx
jne 0x552210b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x552211c
jne 0x552213b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552213b
dec eax
add ebx, ebx
jne 0x5522128
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5522100
add ebx, ebx
jne 0x5522137
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x552218d
xor ecx, ecx
sub eax, 3
jb 0x5522153
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55221c2
sar eax, 1
mov ebp, eax
jmp 0x552215e
add ebx, ebx
jne 0x552215e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552212c
inc ecx
add ebx, ebx
jne 0x552216c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552212c
add ebx, ebx
jne 0x5522179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x552216e
jne 0x552218a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x552216e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55221ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x552219e
jmp 0x55220ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55221ac
add edi, ecx
jmp 0x55220ee
pop esi
mov edi, esi
mov ecx, 0x426
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55221ca
cmp byte [edi], 1
jne 0x55221ca
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 0x55221cf
lea edi, [esi + 0x5120000]
mov eax, dword [edi]
or eax, eax
je 0x5522247
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa108abc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa108b5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55221fc
mov ecx, edi
jns 0x552222b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa108b60]
or eax, eax
je 0x5522241
mov dword [ebx], eax
add ebx, 4
jmp 0x5522219
call dword [esi + 0xa108b70]
mov ebp, dword [esi + 0xa108b64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x552227b
sub esp, 0xffffff80
jmp 0x4084e8