joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fc047
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.0043dfe0
mov eax, dword [0x580e04]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
jbe 0x4fc1b4
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
shl eax, 8
or ebx, eax
inc esi
movzx eax, byte [esi + 1]
inc esi
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 1]
shl edx, 0x18
inc esi
or ebx, edx
movzx edx, byte [esi + 1]
inc esi
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
inc esi
mov byte [edi], dl
mov byte [ebp], al
call fcn.004ace10
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004acf10
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00513640
push ebp
call fcn.004ace10
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.004acf10
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00513640
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
inc eax
shr edx, 8
add esp, 0x30
mov byte [eax], dl
inc eax
inc eax
mov edx, ebx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
inc eax
shr ebx, 0x18
mov byte [eax - 1], bl
mov byte [eax], dl
mov ebx, edx
inc eax
inc eax
shr ebx, 8
mov byte [eax - 1], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax], bl
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov eax, ebp
mov byte [eax], cl
mov byte [eax + 1], dl
inc eax
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
shr ecx, 0x18
sub dword [esp + 0x18], 1
mov byte [eax], dl
mov byte [eax + 1], cl
jne 0x4fc063
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.0043bcca
add esp, 0xa0
ret
Function at 0x509ea8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x580e04]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00509e3d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043c2f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x509ef7
cmp dword [ebp - 0x1c], 5
jb 0x509f0f
jmp 0x509f0b
cmp dword [ebp - 0x10], 1
jne 0x509f0f
cmp dword [ebp - 0x1c], 4
ja 0x509f0b
jne 0x509f0f
cmp dword [ebp - 0x18], 0
jbe 0x509f0f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x5728b8
call fcn.00509d2e
test eax, eax
jge 0x509f30
mov byte [0x58ac34], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043bcca
add ebp, 0x78
leave
ret

Function at 0x50c9c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
xor esi, esi
mov edx, 0x591620
mov eax, esi
mov ecx, 8
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec ecx
jne 0x50c9d0
mov dword [edx], eax
add edx, 4
inc esi
cmp edx, 0x591a20
jl 0x50c9c9
cmp esi, 0x800
jae 0x50ca2a
lea ecx, [esi*4 + 0x591620]
mov eax, dword [ecx - 0x400]
add ecx, 4
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x591620]
xor edx, eax
cmp ecx, 0x593620
mov dword [ecx - 4], edx
jl 0x50ca02
mov dword [0x590478], fcn.0050d4d0
call fcn.0050d6b0
pop edi
pop esi
test eax, eax
jne 0x50ca49
mov dword [0x590478], 0x50d580
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80b004]
jne 0x40100a
repz ret
jmp fcn.004013a0

Function at 0x4047ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403b3a
and dword [ebp - 0x14], 0
cmp dword [0x80da38], 0
mov dword [ebp - 0x18], eax
jne 0x40485e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404906
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404906
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x80da38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x80da3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x80da40], eax
call edi
push eax
call esi
mov dword [0x80da48], eax
test eax, eax
je 0x40485e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x80da44], eax
mov eax, dword [0x80da44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4048b7
cmp dword [0x80da48], ecx
je 0x4048b7
push eax
call esi
push dword [0x80da48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4048b7
test ebx, ebx
je 0x4048b7
call edi
test eax, eax
je 0x4048ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4048ae
test byte [ebp - 8], 1
jne 0x4048b7
or dword [ebp + 0x10], 0x200000
jmp 0x4048ea
mov eax, dword [0x80da3c]
cmp eax, dword [ebp - 0x18]
je 0x4048ea
push eax
call esi
test eax, eax
je 0x4048ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4048ea
mov eax, dword [0x80da40]
cmp eax, dword [ebp - 0x18]
je 0x4048ea
push eax
call esi
test eax, eax
je 0x4048ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80da38]
call esi
test eax, eax
je 0x404906
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404908
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x417a10
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str.CONOUT_
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x417a5f
mov ecx, dword [0x4c3a9c]
push 0x4c378c
push ecx
mov dword [0x4c0064], edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x46242b
Capabilities:
Packed with generic packer

Disassembly:
inc eax
add byte [edx], cl
or dword [esi + eax*2 + 0x69], edx
insb byte es:[edi], dx
dec esi
popal
insd dword es:[edi], dx
nop
mov ah, 0x90
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + edx*4 + 0x40], dh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
invalid

Function at 0x4715d5
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x9fa7fc33
test al, 0xe9
pushal
mov eax, dword [0x163fbbaa]
mov al, 0x54
xor dh, bl
dec ebp
or dword [edx], ecx
sti
xlatb
adc dword [ebx + 0x42], ebx
fstp xword [edx - 0x19]
mov edi, 0xda3f46ee
inc esi
aas
fimul dword [ebp - 0x73]
movsd dword es:[edi], dword [esi]
push ecx
in al, dx
stosd dword es:[edi], eax
inc esi
aas
fimul dword [ebp - 0x73]
movsd dword es:[edi], dword [esi]
push ecx
in al, dx
stosd dword es:[edi], eax
cwde
xor al, 0xe5
pushal
xor al, 0x92
pop es
outsd dx, dword [esi]
in eax, 0x5c
xchg esp, edx
js 0x4715b7

Function at 0x4715f5
Capabilities:
Encode data using xor

Disassembly:
xor al, 0xfd
push 0x7cb2ac14
adc al, 0xac
mov dl, 0x7c
stosb byte es:[edi], al
cmp al, byte [eax - 0x33]
jp 0x4715f2
aad 0x80
Function at 0x49f615
Capabilities:
Encode data using xor

Disassembly:
rcr esp, 0x2d
xchg esp, eax
pop esp
mul dword [eax]
lcall 0x4ddf, 0x4a180531
jp 0x49f683
cwde
push esp
test ebx, esi
test eax, 0x3a10cf4d
outsd dx, dword [esi]
sbb eax, 0xd81b4d77
pop ds
adc ebp, dword [ebx]
mov ch, 0x5d
xor dword [0x3f3d6906], ebx
cmp eax, 0xfd5e495e
jae 0x49f666
sti
pushfd
add ebp, eax
call 0xe00acb7e
push esp
jae 0x49f642
pop ecx
hlt
mov ch, 0x3f
pop ss
add byte [edi - 0x39f2332d], dh
or eax, 0x90ec670
push ss
dec eax
xor cl, ch
jecxz 0x49f612
and eax, 0xcb0cb390
loope 0x49f6a4
sub byte [esi - 0x5ca18d6e], 0xca
test al, 0xe5
and dword [ebx + esi*8 + 0x617dcf28], ebp
xchg edx, eax
jb 0x49f6e4
mov dword [0x21e5a8ca], eax
lodsb al, byte [esi]
sub bh, cl
jge 0x49f6f2
adc ah, al
ret 0x2800
sbb byte [eax], 0x67
insd dword es:[edi], dx
mov bl, 0xf
mov dh, 0xa1
sub al, 0x4b
shl byte [ecx + 0x26a43c4], 1
imul esp, eax, 0x6b5e5eb
inc ebx
and eax, 0x21ed841a
xlatb
jecxz 0x49f655
xchg dh, dl
and dword [ebp + 0x30], edi
mov edx, 0x19c4c36d
pop ebp
das
xor bl, byte [esi]
inc edx
cmp eax, 0x9b523d1a
cmp dword [edx], eax
invalid
xor dword [eax], esp
sbb edx, dword [edi + 0x2c]
jge 0x49f6ec
xor byte [edi + edi*4 + 0xcf41df0], al
test byte [edi + 0xcf41df0], bh
jbe 0x49f71c
or eax, 0x890730f3
shr esp, 0x96
invalid
rcr byte [ebp + 0x631dc1a0], cl
xchg dword [eax + 0x62], ebx
and eax, 0x4940bb3a
outsb dx, byte [esi]
sub eax, 0x900ce021
in al, 0xb2
out dx, al
mov edx, 0x4ae89227
dec edx
xlatb
mov dword [0xa2f70d04], eax
jbe 0x49f7b3
les ecx, [0xdbfc48d0]
or ah, byte [esi + 0x2a]
sbb dl, cl
xor dword [ecx], esp
retf
or eax, 0x3ec93c7b
out 0xf, al
rcl dword [edi]
lds eax, [ebp + 0x3d]
jecxz 0x49f737
insd dword es:[edi], dx
pop ebp
wait
in al, 0xaa
popal
ret 0x8d51
and al, 0x1d
cli
sub dword [edx + 0x4c4d4103], 0x98ac94c8
or ah, byte [ecx]
jns 0x49f7ed
cmp ecx, 0x16d46079
loope 0x49f769
jne 0x49f7fa
bswap ebp
xchg edi, eax
adc eax, 0xb475a317
insd dword es:[edi], dx
jo 0x49f7e6
out dx, eax
wait
xchg esp, eax
dec esp
inc ebp
int1
sar bh, 0xad
invalid
lds edx, [esi + 0x7d]
add dl, bl
inc esp
mov byte [0x48f745c5], al
lds eax, [ebp - 9]
dec eax
push ebp
cli
mul dword [esp + ecx - 0x4dae4859]
aad 0x13
popal
invalid
Function at 0x41a49bc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41a4a53
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 4]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x41a4a6c
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a4a5a
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b18cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41b192c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x41b1916
push 3
push 0x41b1938
push 0x41b1938
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
push 0x41b193c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b1933
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b5afc
Capabilities:
Reference sql statements

Disassembly:
add esp, 0xfffffff8
mov eax, 0x41b5b38
mov dword [esp], eax
mov eax, 0x41b5b5c
mov dword [esp + 4], eax
mov eax, esp
mov edx, 1
call fcn.041aaecc
mov edx, 0x41b5b70
mov eax, 0x41b6874
call fcn.041ab28c
pop ecx
pop edx
ret
Function at 0x41b6ccc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x41b6ddc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, 0x41b6df4
mov dword [ebp - 0x58], eax
mov eax, 0x41b6e14
mov dword [ebp - 0x54], eax
mov eax, 0x41b6e34
mov dword [ebp - 0x50], eax
mov eax, 0x41b6e50
mov dword [ebp - 0x4c], eax
mov eax, 0x41b6e70
mov dword [ebp - 0x48], eax
mov eax, 0x41b6e90
mov dword [ebp - 0x44], eax
mov eax, 0x41b6eac
mov dword [ebp - 0x40], eax
mov eax, 0x41b6ecc
mov dword [ebp - 0x3c], eax
mov eax, 0x41b6ef0
mov dword [ebp - 0x38], eax
mov eax, 0x41b6f0c
mov dword [ebp - 0x34], eax
mov eax, 0x41b6f2c
mov dword [ebp - 0x30], eax
mov eax, 0x41b6f4c
mov dword [ebp - 0x2c], eax
mov eax, 0x41b6f6c
mov dword [ebp - 0x28], eax
mov eax, 0x41b6f8c
mov dword [ebp - 0x24], eax
mov eax, 0x41b6fac
mov dword [ebp - 0x20], eax
mov eax, 0x41b6fcc
mov dword [ebp - 0x1c], eax
mov eax, 0x41b6fe8
mov dword [ebp - 0x18], eax
mov eax, 0x41b700c
mov dword [ebp - 0x14], eax
mov eax, 0x41b7030
mov dword [ebp - 0x10], eax
mov eax, 0x41b7054
mov dword [ebp - 0xc], eax
mov eax, 0x41b7078
mov dword [ebp - 8], eax
mov eax, 0x41b7098
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
mov edx, 0x15
call fcn.041aaecc
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x5c]
or ecx, 0xffffffff
mov eax, 0x41b70b8
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x5c]
mov eax, 0x41c1c20
call fcn.041ab28c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b6de3
lea eax, [ebp - 0x5c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x405a54
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 0x405aba
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.00404110
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405aa4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ac1
lea eax, [ebp - 0x10]
call fcn.00403ea0
ret

Function at 0x40abf0
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 0x40ac29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f90
jmp 0x40ac32
mov eax, ebx
mov edx, esi
call fcn.00403ef4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b2e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b15c
mov eax, dword [0x45d800]
cmp byte [eax], 0
je 0x40b360
mov eax, dword [0x45d614]
call fcn.004029dc
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.004083dc
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 0x40b3a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b396
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45d5c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45e664]
call fcn.00404f68
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 0x40bbfc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bcd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f38
lea eax, [ebp - 8]
call fcn.004043b0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404360
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bcbc
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bcb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404360
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bc9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bce4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bc9f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcbc
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcd9
lea eax, [ebp - 8]
call fcn.00403ea0
ret

Function at 0x40c1e4
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 0x40c248
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.00404110
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f24
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c24f
lea eax, [ebp - 0xc]
call fcn.00403ea0
ret

Function at 0x41aaa4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45e884
cmp dword [edi], 0
jne 0x41ab20
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45e880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45c3f0
mov ecx, 2
call fcn.004028c8
mov edx, 0x41aa7c
lea eax, [esi + 5]
call fcn.0041aa9c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041aa9c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41aaf5
mov dword [0x45e880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c09c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c0a2
ret
Function at 0x41e54c
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 0x41e59d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e584
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e574
jmp 0x41e59d
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 0x41e585
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427120
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404350
xor eax, eax
push ebp
push 0x42724e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427221
xor eax, eax
push ebp
push 0x42721a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404160
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4271ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4271de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404160
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404360
mov edx, ebx
pop ecx
call fcn.004028c8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4271e5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x45d568]
mov dl, 1
mov eax, dword [0x406de4]
call fcn.0040b468
call fcn.004038dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427255
lea eax, [ebp - 4]
call fcn.00403ea0
ret