joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret

Function at 0x417b50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x417b72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417b79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417b68
mov eax, 1
add ebx, ebx
jne 0x417b8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417b80
jne 0x417b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417b80
xor ecx, ecx
sub eax, 3
jb 0x417bb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417c22
mov ebp, eax
add ebx, ebx
jne 0x417bbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417bec
inc ecx
add ebx, ebx
jne 0x417bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417bcd
jne 0x417be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417bcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417c0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417bfd
jmp 0x417b6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417c0c
add edi, ecx
jmp 0x417b6e
pop esi
mov edi, esi
mov ecx, 0xec
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417c2a
cmp byte [edi], 0xa
jne 0x417c2a
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 0x417c2f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417ca7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417c5c
mov ecx, edi
jns 0x417c8b
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 + 0x1784c]
or eax, eax
je 0x417ca1
mov dword [ebx], eax
add ebx, 4
jmp 0x417c79
call dword [esi + 0x17848]
mov ebp, dword [esi + 0x17850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x417cdb
sub esp, 0xffffff80
jmp 0x4010d8
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401180
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x403588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0x4060f8
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.MicrosoftMMCjifef.dll_ProtectFile
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0040331e
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push eax
call fcn.0040331e
mov ecx, dword [esp]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401200
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4035a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0x4060f8
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.MicrosoftMMCjifef.dll_UnprotectFile
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0040331e
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push eax
call fcn.0040331e
mov ecx, dword [esp]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401370
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4013a1
mov esi, dword [esp + 8]
jmp 0x4013d0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4013f9
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x4013f9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret

Function at 0x401400
Capabilities:
Delete registry key

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401445
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test esi, esi
je 0x401445
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x401450
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401481
mov esi, dword [esp + 8]
jmp 0x4014b0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4014da
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push edx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x4014da
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x4020a0
Capabilities:
Create shortcut via ishelllink
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x403716
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebp
push esi
mov esi, dword [esp + 0x234]
push edi
push 0x10000000
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call sub.MFC42.DLL_CString::CString_2
call fcn.00401280
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push esi
call edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x402290
lea eax, [esp + 0x10]
push eax
push 0x4041b0
push 1
push 0
push 0x4041a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x402257
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4041c0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x402257
lea eax, [esp + 0x20]
push 0x104
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x402257
lea ecx, [esp + 0xc]
call fcn.00403312
mov eax, dword [esp + 0x10]
push 2
push 0
push 0x400
mov ebp, dword [eax]
push 0x400
lea ecx, [esp + 0x1c]
mov dword [esp + 0x240], 0
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [ebp + 0xc]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 1
call fcn.0040333c
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0xc]
push str.IEXPLORE.EXE
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x402243
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x23c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
push 0x4061c4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
push esi
call edi
push 0x80000000
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call sub.MFC42.DLL_CString::CString_2
call fcn.00401280
add esp, 8
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x228
ret
Function at 0x4022b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x34]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
push 1
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4053d8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40232e
push 0x4053d8
lea ecx, [esp + 8]
call fcn.0040331e
push str..lnk
lea ecx, [esp + 8]
call fcn.0040331e
mov edx, dword [esp + 4]
push 0
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4023b3
push esi
push edi
mov edi, dword [esp + 0x40]
mov bl, 2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov esi, eax
mov eax, dword [esp + 0x10]
push 0x10
lea ecx, [esp + 0x14]
call dword [eax + 0x40]
test eax, eax
jne 0x4023ad
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4023ad
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push edi
push eax
mov byte [esp + 0x3c], bl
call fcn.004020a0
add esp, 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x402358
pop edi
pop esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004033a8
mov ecx, dword [esp + 0x24]
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x402480
Capabilities:
Delete registry value

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor esi, esi
push eax
push 0xf003f
push esi
push str.lnkfile
push 0x80000000
mov dword [esp + 0x20], esi
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4024ca
mov esi, dword [esp + 0xc]
push str.IsShortcut
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test esi, esi
je 0x4024ca
push esi
call ebp
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0xf003f
push 0
push str.piffile
push 0x80000000
call edi
test eax, eax
jne 0x402515
test esi, esi
je 0x4024f5
push esi
call ebp
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x402515
push str.IsShortcut
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test esi, esi
je 0x40251c
push esi
call ebp
pop edi
pop esi
pop ebp
pop ecx
ret
test esi, esi
je 0x40251c
push esi
call ebp
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x403430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4041d0
push 0x403568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4061e4], 0xffffffff
or dword [0x4061e8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4061dc]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4061d8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4061e0], eax
call fcn.00403567
cmp dword [0x4060e0], 0
jne 0x4034b3
push 0x403564
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00403552
push 0x405020
push 0x40501c
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4061d4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4061d0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x405018
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402530
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x1000c147
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xa4
lea eax, [0x1002db60]
pushal
fild dword [edx]
adc byte [ecx + 0x458bf845], cl
clc
Function at 0x402b68
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.00404380
test esi, esi
jne 0x402b9e
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.00404470
jmp 0x402bbc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a1c
mov edi, eax
test esi, esi
je 0x402bbc
cmp dword [ebx], 0
je 0x402bbc
dec esi
jmp 0x402ba5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402e78
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x54f008], 0x8088405
inc edx
mov dword [ebx + 0x54f008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40333c
Capabilities:
Query or enumerate registry value

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

Function at 0x404180
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x55504c], 0
je 0x4041e1
cmp word [0x555220], 0xd7b2
jne 0x4041a9
cmp dword [0x555228], 0
jbe 0x4041a9
mov eax, 0x55521c
call dword [0x555238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x54f070
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 0x404208
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x54f034], 0
jne 0x4041fd
push 0
push 0x54f068
push 0x54f070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404334
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.004027e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x55504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4042fc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405f04
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 0x406134
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f87
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406134
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f87
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406150
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406010
xor eax, eax
push ebp
push 0x406009
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405d4c
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 0x405fee
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406170
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405fee
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 0x406010
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 0x40612a
cmp byte [ebp - 0xd], 0
jne 0x406057
cmp byte [ebp - 0x12], 0
je 0x40612a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406070
dec ebx
cmp byte [ebx], 0x2e
je 0x40607f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40606f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40612a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4060bc
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 0x40612a
cmp byte [ebp - 0xd], 0
je 0x40612a
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 0x40612a
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 0x406818
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 0x40687e
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.004045f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f00
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406868
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406885
lea eax, [ebp - 0x10]
call fcn.00404380
ret

Function at 0x40cf88
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 0x40cfc1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404470
jmp 0x40cfca
mov eax, ebx
mov edx, esi
call fcn.004043d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d67c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d4f4
mov eax, dword [0x5540cc]
cmp byte [eax], 0
je 0x40d6f8
mov eax, dword [0x553cc4]
call fcn.00402ca8
call fcn.00402948
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.00409b90
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 0x40d740
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d72e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x553c20]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x555668]
call fcn.00405d10
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