joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450fbc
Capabilities:
Hide graphical window

Disassembly:
call fcn.00450fac
test al, al
je 0x450fea
mov eax, dword [sym.imp.vcl120.bpl__Forms_Application]
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x450fea
push 0
mov eax, dword [sym.imp.vcl120.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call sub.vcl120.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_ShowWindow
ret
push 0
mov eax, dword [sym.imp.vcl120.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x451770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45184e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x451826
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x23
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebx + 8]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call sub.rtl120.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
push 0
push 0x1a
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebx + 4]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call sub.rtl120.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
lea edx, [ebp - 0x214]
xor eax, eax
call sub.rtl120.bpl__System_ParamStr_qqri
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call sub.rtl120.bpl__Sysutils_ExtractFilePath_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x210]
lea eax, [ebx + 0xc]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451830
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451855
lea eax, [ebp - 0x214]
mov edx, 2
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x45ce6c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x45cf06
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x45ce8b
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x45cf1c
dec edx
je 0x45cf51
jmp 0x45cfa2
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x45cfa2
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45d084
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x45d0a3
add edx, 3
sar edx, 2
test edx, edx
jle 0x45d1b1
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x45d0d8
je 0x45d11b
sub ecx, 0x2b
je 0x45d111
sub ecx, 4
je 0x45d116
dec ecx
sub ecx, 0xa
jb 0x45d103
jmp 0x45d11e
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x45d0ea
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x45d0f5
jmp 0x45d11e
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x45d11e
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x45d11e
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x45d11e
mov byte [eax], 0x3e
jmp 0x45d11e
mov byte [eax], 0x3f
jmp 0x45d11e
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x45d0bb
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0x45d16f
cmp byte [esp + 7], 0xff
jne 0x45d16f
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x45d1a6
cmp dl, 0xff
je 0x45d1a6
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x45d0b2
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x45e0cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x45e0ed
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x45e0da
pop edi
pop esi
pop ebx
ret

Function at 0x45f114
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
movzx ebx, dl
dec ebx
test ebx, ebx
jb 0x45f168
inc ebx
xor edx, edx
mov ecx, edx
add ecx, ecx
add ecx, ecx
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x4a0ad0]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x4a0ed0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x4a12d0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x4a16d0]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x45f122
pop edi
pop esi
pop ebx
ret

Function at 0x463de4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
mov eax, 0xedb88320
xor esi, esi
mov ebx, dword [esp]
mov edx, esi
mov ecx, 0xfffffff8
mov edi, edx
and edi, 1
dec edi
jne 0x463e0a
shr edx, 1
xor edx, eax
jmp 0x463e0c
shr edx, 1
inc ecx
jne 0x463dfc
mov dword [ebx], edx
inc esi
add ebx, 4
cmp esi, 0x100
jne 0x463df5
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x463e24
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x463e2d
mov eax, dword [ebp - 4]
add esp, 0xfffff7f0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__Classes_TStream_GetPosition_qqrv
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
or esi, 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
sub eax, dword [ebp + 8]
sub eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x463eda
cmp dword [ebp - 0xc], 0x2800
jl 0x463e88
mov dword [ebp - 8], 0x2800
jmp 0x463e8e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x2814]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x10]
jge 0x463ed2
mov eax, esi
shr eax, 8
and eax, 0xffffff
movzx edx, byte [ebp + ebx - 0x2814]
xor esi, edx
and esi, 0xff
xor eax, dword [esi*4 + 0x4a62e0]
mov esi, eax
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x463ea9
mov eax, dword [ebp - 8]
sub dword [ebp - 0xc], eax
jmp 0x463e70
mov ebx, esi
xor ebx, 0xffffffff
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47be04
Capabilities:
Create thread

Disassembly:
push ecx
push esp
push 0
push 0
push 0x4799d8
push 0
push 0
call sub.kernel32.dll_CreateThread
pop edx
ret

Function at 0x492e24
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
mov edx, 0x492fbc
mov eax, 0x492fe8
call fcn.004037ec
xor edx, edx
mov eax, dword [0x4a67a0]
call sub.vcl120.bpl__Forms_TCustomForm_SetVisible_qqro
movzx eax, byte [esi + 0x4a9]
sub al, 4
je 0x492e52
jmp 0x492f34
mov edx, 0x492fbc
mov eax, 0x493028
call fcn.004037ec
xor edx, edx
mov eax, dword [0x4a67a0]
call sub.vcl120.bpl__Forms_TCustomForm_SetVisible_qqro
mov byte [esi + 0x4a9], 5
mov eax, dword [esi + 0x4b8]
mov ecx, 0xa
cdq
idiv ecx
dec edx
jne 0x492f34
cmp dword [esi + 0x4b4], 4
jne 0x492ec2
mov edx, 0x492fbc
mov eax, 0x49307c
call fcn.004037ec
mov edx, 2
mov eax, dword [esi + 0x520]
call fcn.00472234
mov edx, 0x492fbc
mov eax, 0x4930a0
call fcn.004037ec
jmp 0x492f34
cmp dword [esi + 0x4c8], 2
je 0x492ed9
mov eax, dword [0x4a67a0]
cmp byte [eax + 0x283], 1
jne 0x492f09
mov edx, 0x492fbc
mov eax, 0x4930cc
call fcn.004037ec
mov edx, 1
mov eax, dword [esi + 0x520]
call fcn.00472234
mov edx, 0x492fbc
mov eax, 0x4930f0
call fcn.004037ec
jmp 0x492f34
mov edx, 0x492fbc
mov eax, 0x49311c
call fcn.004037ec
xor edx, edx
mov eax, dword [esi + 0x520]
call fcn.00472234
mov edx, 0x492fbc
mov eax, 0x493140
call fcn.004037ec
mov edx, 0x492fbc
mov eax, 0x49316c
call fcn.004037ec
cmp byte [esi + 0x4ac], 0
je 0x492f76
mov edx, 0x492fbc
mov eax, 0x4931ac
call fcn.004037ec
mov eax, 4
call fcn.00445ad8
mov edx, 0x492fbc
mov eax, 0x4931f0
call fcn.004037ec
jmp 0x492f85
mov edx, 0x492fbc
mov eax, 0x49323c
call fcn.004037ec
xor edx, edx
mov eax, dword [esi + 0x430]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x492fbc
mov eax, 0x493284
call fcn.004037ec
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x414860
Capabilities:
Hash data with md5

Disassembly:
push edi
push esi
sub esp, 8
mov dword [esp + 4], ecx
mov eax, ecx
mov edx, dword [0x4a73f4]
add edx, 0x6000181
mov dword [0x4a73f4], edx
mov dword [ecx], 0
mov edx, dword [0x4aba28]
dec edx
mov dword [0x4aba28], edx
mov si, word [0x4939ac]
mov di, si
sub edi, edx
mov si, di
mov word [0x4939ac], si
mov dword [ecx + 4], 0
mov si, word [0x495974]
movsx ecx, si
not ecx
mov edx, dword [0x4a050c]
mov edi, edx
dec edi
mov dword [0x4a050c], edi
imul edx, edx, 0x4463a3ae
or ecx, edx
cmp ecx, 0x4e8c800
mov dword [esp], eax
jne 0x4148ff
mov eax, dword [0x4a3724]
xor eax, 0x2920
mov cx, word [0x496702]
mov dx, cx
and edx, eax
mov cx, dx
mov word [0x496702], cx
mov eax, 0x87080861
mov ecx, dword [esp]
mov dword [ecx + 8], 0x67452301
mov edx, dword [0x4a4d24]
sar edx, 8
and edx, 0x86679dc4
cmp eax, edx
jle 0x41493e
mov eax, dword [0x4a78a4]
and eax, 0x7c67
xor eax, 0xee77
mov cx, ax
mov word [0x497d7c], cx
mov eax, dword [esp]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [0x4a994c]
or ecx, 0x8310abe
mov dword [0x4a994c], ecx
mov dword [eax + 0x10], 0x98badcfe
mov dx, word [0x497a98]
mov cx, dx
or ecx, 0x6be8
mov dx, cx
mov word [0x497a98], dx
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [0x4a8c3c]
shl ecx, 5
add ecx, 0xdad784c7
or ecx, 0xe6afdb96
mov esi, dword [0x4a8094]
add esi, ecx
mov dword [0x4a8094], esi
add esp, 8
pop esi
pop edi
ret
Function at 0x42f410
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, 1
mov dword [esp + 0xc], eax
mov eax, dword [0x49fa38]
add eax, 0x4a99eced
and eax, 0x4bbee8eb
mov edx, dword [0x4a8b7c]
add edx, eax
mov dword [0x4a8b7c], edx
mov eax, dword [0x4b096c]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 8], ecx
call fcn.00432480
mov ecx, dword [0x4ab77c]
imul ecx, ecx, 0x349e98fa
and ecx, 0x527a140c
mov edx, dword [0x4a5f48]
imul edx, ecx
mov dword [0x4a5f48], edx
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.0045693b
Function at 0x46d645
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48fbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045fb3e
mov dword [ebp - 0x14], eax
cmp dword [0x4b1c6c], esi
jne 0x46d738
push 0x800
push esi
push 0x4836c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46d6c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46d818
push esi
push esi
push 0x4836c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46d818
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46d818
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b1c6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b1c70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b1c74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b1c7c], eax
test eax, eax
je 0x46d735
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b1c78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46d75d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46d750
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46d772
push 4
pop eax
jmp 0x46d81a
cmp dword [ebp - 0x14], esi
je 0x46d772
push dword [0x4b1c6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46d757
mov eax, dword [0x4b1c78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46d7d0
cmp dword [0x4b1c7c], edi
je 0x46d7d0
push eax
call ebx
push dword [0x4b1c7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46d7d0
test eax, eax
je 0x46d7d0
call ecx
test eax, eax
je 0x46d7c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46d7c5
test byte [ebp - 8], 1
jne 0x46d7d0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46d800
mov eax, dword [0x4b1c70]
cmp eax, edi
je 0x46d7fd
push eax
call ebx
test eax, eax
je 0x46d7fd
call eax
mov esi, eax
test esi, esi
je 0x46d7fd
mov eax, dword [0x4b1c74]
cmp eax, edi
je 0x46d7fd
push eax
call ebx
test eax, eax
je 0x46d7fd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b1c6c]
call ebx
test eax, eax
je 0x46d818
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46d81a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464556
mov esp, ebp
pop ebp
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.00403fe0
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.004040d0
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 0x403118
Capabilities:
Query or enumerate registry value

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

Function at 0x403e64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45404c], 0
je 0x403ec5
cmp word [0x454220], 0xd7b2
jne 0x403e8d
cmp dword [0x454228], 0
jbe 0x403e8d
mov eax, 0x45421c
call dword [0x454238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45206c
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 0x403eec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x452030], 0
jne 0x403ee1
push 0
push 0x452064
push 0x45206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4054c4
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 0x4056f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405547
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4056f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405547
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405710
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4055d0
xor eax, eax
push ebp
push 0x4055c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040530c
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 0x4055ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405730
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4055ae
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 0x4055d0
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 0x4056ea
cmp byte [ebp - 0xd], 0
jne 0x405617
cmp byte [ebp - 0x12], 0
je 0x4056ea
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405630
dec ebx
cmp byte [ebx], 0x2e
je 0x40563f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40562f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4056ea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40567c
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 0x4056ea
cmp byte [ebp - 0xd], 0
je 0x4056ea
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 0x4056ea
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 0x405dbc
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 0x405e22
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.00404250
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cdc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e0c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e29
lea eax, [ebp - 0x10]
call fcn.00403fe0
ret

Function at 0x40ae04
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 0x40ae3d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040d0
jmp 0x40ae46
mov eax, ebx
mov edx, esi
call fcn.00404034
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b4f8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b370
mov eax, dword [0x453090]
cmp byte [eax], 0
je 0x40b574
mov eax, dword [0x452ea4]
call fcn.00402b48
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.00408644
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 0x40b5bc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b5aa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x452e50]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x454668]
call fcn.004052d0
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