joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464920
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4170f8]
call fcn.00404ba4
xor eax, eax
push ebp
push 0x464a64
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b4084], 0
jne 0x464973
mov ecx, dword [0x4b545c]
mov dl, 1
mov eax, dword [0x4077dc]
call fcn.0040c494
call fcn.00403b24
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d50
mov eax, ebx
call fcn.004049f4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x464a74
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405d74
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a04
test eax, eax
jle 0x464a0b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x464a04
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404414
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004043fc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040870c
test eax, eax
jne 0x464a04
mov ebx, 0x15
jmp 0x464a10
mov ebx, 0x10
jmp 0x464a10
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b4084]
call fcn.00464878
mov eax, dword [ebp - 8]
call fcn.00464878
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464a6b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041b0
lea eax, [ebp - 0x10]
mov edx, dword [0x4170f8]
call fcn.00404c74
ret

Function at 0x47656c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47659a
mov eax, ebx
call fcn.00477020
cmp dword [ebx + 0x40], 0
je 0x476593
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47660b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4765fd
cmp dword [ebx + 8], 0
je 0x4765bc
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 0x4765ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4765fd
cmp dword [ebx + 8], 0
je 0x4765af
cmp eax, 3
je 0x4765e1
dec eax
jne 0x4765af
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 0x4765af
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4765af
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x476629
cmp dword [ebx + 0x14], 0xcc
je 0x476629
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.00476634
pop ebx
ret
Function at 0x48a6fc
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 0x48a74d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x48a734
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x48a724
jmp 0x48a74d
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 0x48a735
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b124
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x49b12c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49b31e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x49b334
mov eax, esi
call fcn.00498fb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004041e0
lea ecx, [ebp - 0x10]
mov edx, 0x49b348
mov eax, esi
call fcn.00498fb0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004041e0
lea ecx, [ebp - 0x14]
mov edx, 0x49b360
mov eax, esi
call fcn.00498fb0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004041e0
lea ecx, [ebp - 0x18]
mov edx, 0x49b37c
mov eax, esi
call fcn.00498fb0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004041e0
lea ecx, [ebp - 0x1c]
mov edx, 0x49b398
mov eax, esi
call fcn.00498fb0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004041e0
lea ecx, [ebp - 0x24]
mov edx, 0x49b3b0
mov eax, esi
call fcn.00498fb0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040877c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408b5c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x49b3c8
mov eax, esi
call fcn.00498fb0
mov eax, dword [ebp - 0x28]
call fcn.00471358
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x49b3d8
mov eax, esi
call fcn.00498fb0
mov eax, dword [ebp - 0x2c]
call fcn.00471358
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x49b3f0
mov eax, esi
call fcn.00498fb0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408b5c
inc eax
je 0x49b2c1
lea ecx, [ebp - 0x34]
mov edx, 0x49b3f0
mov eax, esi
call fcn.00498fb0
mov eax, dword [ebp - 0x34]
call fcn.00408b20
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a248
fstp qword [ebp - 0x3c]
wait
call fcn.0040a5ac
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x49b2dc
lea ecx, [ebp - 0x40]
mov edx, 0x49b3f0
mov eax, esi
call fcn.00498fb0
mov eax, dword [ebp - 0x40]
call fcn.00471358
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x49b400
mov eax, esi
call fcn.00498fb0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004041e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b325
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004041b0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004041b0
ret
Function at 0x4a6c88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a6ce2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a6c78
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046ffc4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046fbc4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6ce9
lea eax, [ebp - 4]
call fcn.0040418c
ret
Function at 0x4aeb6c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
xor eax, eax
push ebp
push 0x4aec98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x4aecb0
call fcn.004041e0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.004635d0
mov eax, dword [ebp - 0x14]
call fcn.0040464c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, ebx
call fcn.00402774
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aec76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push ebx
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402a9c
mov eax, dword [ebp - 0x18]
call fcn.0040464c
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4aecb8
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0x14], esi
push edi
mov eax, dword [ebx + 0x10]
shr eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebx + 0x10]
and eax, 0xffff
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
and esi, 0xffff
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x4aecc4
call fcn.0040993c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aec7d
mov eax, dword [ebp - 4]
call fcn.00402794
ret

Function at 0x4b1290
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
push edi
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_recv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
pop edi
pop esi
pop ebx
ret

Function at 0x4b1408
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x34]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_send
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp eax, 0xffffffff
je 0x4b1445
add dword [ebx + 0x38], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4b16d8
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.0040418c
test ebx, ebx
je 0x4b1779
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x4b1714
mov eax, ebx
call fcn.0040464c
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x4b1785
mov eax, esi
mov edx, ebx
call fcn.004041e0
jmp 0x4b1785
mov eax, ebx
call fcn.0040464c
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4b1785
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x4b1794
call fcn.0040993c
jmp 0x4b1785
mov eax, esi
mov edx, 0x4b17a8
call fcn.004041e0
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x4b2bd8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x4b2788
call fcn.0040650c
xor eax, eax
push ebp
push 0x4b2cef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b5920]
mov eax, dword [eax]
mov edx, 0x4b2d04
call fcn.00462b38
mov dl, 1
mov eax, dword [0x4ae964]
call fcn.004ae9f0
push 0x4b2d14
push 0xffffffffffffffff
push 0
call fcn.0040671c
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x4b2c67
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.00462f28
mov ecx, dword [0x4b55e0]
mov eax, dword [0x4b5920]
mov eax, dword [eax]
mov edx, dword [0x4af1fc]
call fcn.00462f40
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.00462fc0
jmp 0x4b2ccd
push 5
push 0
push 0x4b2d24
lea edx, [ebp - 0x14]
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.004635d0
mov eax, dword [ebp - 0x14]
call fcn.0040464c
push eax
push 0x4b2d30
mov eax, dword [0x4b5920]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b2328]
call fcn.00420a20
call fcn.00420de4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b1c50]
call fcn.00420a20
call fcn.00420de4
push 0xbb8
call sub.kernel32.dll_Sleep_1
push ebx
call sub.kernel32.dll_ReleaseMutex
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2cf6
lea eax, [ebp - 0x14]
call fcn.0040418c
ret
Function at 0x402a54
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.00403fe4
test esi, esi
jne 0x402a8a
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.004040d4
jmp 0x402aa8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402908
mov edi, eax
test esi, esi
je 0x402aa8
cmp dword [ebx], 0
je 0x402aa8
dec esi
jmp 0x402a91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403130
Capabilities:
Query or enumerate registry value

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

Function at 0x403e68
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x445048], 0
je 0x403ec9
cmp word [0x44521c], 0xd7b2
jne 0x403e91
cmp dword [0x445224], 0
jbe 0x403e91
mov eax, 0x445218
call dword [0x445234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44306c
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 0x403ef0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x443030], 0
jne 0x403ee5
push 0
push 0x443064
push 0x44306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405510
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 0x405740
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405593
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405740
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405593
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40575c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40561c
xor eax, eax
push ebp
push 0x405615
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405358
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 0x4055fa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40577c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4055fa
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 0x40561c
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 0x405736
cmp byte [ebp - 0xd], 0
jne 0x405663
cmp byte [ebp - 0x12], 0
je 0x405736
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40567c
dec ebx
cmp byte [ebx], 0x2e
je 0x40568b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40567b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405736
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4056c8
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 0x405736
cmp byte [ebp - 0xd], 0
je 0x405736
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 0x405736
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 0x405e08
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 0x405e6e
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.00404254
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cf4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e58
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e75
lea eax, [ebp - 0x10]
call fcn.00403fe4
ret

Function at 0x40ac64
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 0x40ac9d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040d4
jmp 0x40aca6
mov eax, ebx
mov edx, esi
call fcn.00404038
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b358
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b1d0
mov eax, dword [0x444450]
cmp byte [eax], 0
je 0x40b3d4
mov eax, dword [0x4442ac]
call fcn.00402b60
call fcn.00402834
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.004080b4
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 0x40b41c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b40a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44425c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x445664]
call fcn.0040531c
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 0x40c0b8
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 0x40c11c
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.00404254
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407b68
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c123
lea eax, [ebp - 0xc]
call fcn.00403fe4
ret
Function at 0x411f9a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
sub esp, 0xc
push 0x290
call fcn.004a2ea7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0xffffffff
cmp dword [0x4fc3a0], 0x28
jle 0x411fde
sub esp, 4
push 0x156
push str._home_wk_src_gpg4win_build_gpg4win_1.1.3_src_playground_build_gnupg_1.4.7_g10_keydb.c
push str.used_resources___MAX_KEYDB_RESOURCES
call sub.msvcrt.dll__assert
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x4fc3a0]
jge 0x4120f6
mov eax, dword [ebp - 0xc]
shl eax, 4
cmp dword [eax + 0x4fc12c], 0
sete al
mov edx, 0
mov dl, al
cmp dword [ebp + 8], 0
sete al
and eax, 0xff
xor eax, edx
test eax, eax
je 0x412029
jmp 0x4120ec
mov eax, dword [ebp - 0xc]
shl eax, 4
mov eax, dword [eax + 0x4fc120]
cmp eax, 1
je 0x41203f
jmp 0x4120ec
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
shl eax, 4
add eax, edx
lea edx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov eax, dword [eax + 0x4fc120]
mov dword [edx], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
shl eax, 4
add eax, edx
lea edx, [eax + 0x18]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov eax, dword [eax + 0x4fc128]
mov dword [edx], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
shl eax, 4
add eax, edx
lea edx, [eax + 0x1c]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov eax, dword [eax + 0x4fc12c]
mov dword [edx], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
shl eax, 4
add eax, edx
lea ebx, [eax + 0x14]
sub esp, 8
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 4
push dword [eax + 0x4fc128]
call fcn.00412e72
add esp, 0x10
mov dword [ebx], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
shl eax, 4
add eax, edx
add eax, 0x14
cmp dword [eax], 0
jne 0x4120e7
sub esp, 0xc
push dword [ebp - 8]
call fcn.004a2f78
add esp, 0x10
mov dword [ebp - 0x14], 0
jmp 0x41210b
lea eax, [ebp - 0x10]
inc dword [eax]
lea eax, [ebp - 0xc]
inc dword [eax]
jmp 0x411fec
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
inc dword [0x4fc110]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 4]
leave
ret