joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422fa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a65d7
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d8114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
push 0x64
mov dword [ebp - 0x34], eax
call fcn.00462455
add esp, 4
mov dword [ebp - 0x30], eax
push esi
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00409010
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
push edi
call fcn.00408b50
push dword [ebp - 0x34]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00408b50
mov byte [ebp - 4], 3
lea ecx, [esi + 0x48]
push dword [ebp - 0x28]
call fcn.00408b50
mov eax, dword [ebp + 8]
mov dword [esi + 0x60], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.004153b0
mov dword [ebp - 0x24], 0x4c16a0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
push 0x415480
push dword [ebp - 0x2c]
call fcn.00461361
add esp, 0xc
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x42308f
push ecx
call fcn.00460419
add esp, 4
cmp byte [ebp - 0x18], 0
jne 0x4230b6
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00460bb2
add esp, 8
test eax, eax
je 0x4230b0
push eax
call fcn.00460419
add esp, 4
cmp byte [ebp - 0x18], 0
je 0x423095
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4230cf
mov ecx, esi
call fcn.004261e0
push 0x64
push esi
call fcn.00462702
add esp, 8
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
push esi
call fcn.004608be
add esp, 4
test eax, eax
je 0x4230ef
push eax
call fcn.00460419
add esp, 4
push esi
call fcn.00460802
push edi
call fcn.00460b29
mov eax, dword [ebp - 0x2c]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046219f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44ca90
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a93a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4d8114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x44cb06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x44cb06
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
je 0x44cb24
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046219f
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.00408fd0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.0044cbf0
push 0x4d3828
lea eax, [ebp - 0x50]
push eax
call fcn.004798e1
int3
Function at 0x450910
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
xor dl, dl
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 8], eax
push ebp
push esi
push edi
test bl, 3
jne 0x450a41
test al, 3
jne 0x450a41
mov edi, ecx
mov dword [esp + 0x10], 0
shr edi, 2
xor esi, esi
test edi, edi
je 0x4509fc
cmp edi, 8
jb 0x4509c5
mov ebp, dword [esp + 0x20]
mov edx, edi
mov dword [esp + 0x14], ebx
and edx, 0xfffffff8
add eax, 0x10
xorps xmm3, xmm3
sub dword [esp + 0x14], ebp
xorps xmm2, xmm2
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, edx
jb 0x450974
mov eax, dword [esp + 0x20]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd dword [esp + 0x10], xmm2
cmp esi, edi
jae 0x450a00
mov ebp, ebx
lea edx, [eax + esi*4]
sub ebp, eax
mov dword [esp + 0x14], ebp
mov ebp, edi
mov ebx, dword [esp + 0x14]
sub ebp, esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, dword [edx + ebx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
or edi, eax
sub ebp, 1
jne 0x4509e2
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x450a04
xor edi, edi
jmp 0x450a04
mov edi, dword [esp + 0x10]
shl esi, 2
sub ecx, esi
jne 0x450a18
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
add ebx, esi
mov ebp, dword [esp + 0x20]
mov edx, eax
shr eax, 0x10
add ebp, esi
shr edx, 0x18
or dl, al
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
shr eax, 8
or dl, al
mov eax, ebp
or dl, byte [esp + 0x10]
xor edi, edi
test ecx, ecx
je 0x450b00
cmp ecx, 0x20
jb 0x450ada
mov esi, ecx
xorps xmm3, xmm3
and esi, 0xffffffe0
xorps xmm2, xmm2
mov dword [esp + 0x1c], esi
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x450a75
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
mov ebp, dword [esp + 0x14]
cmp edi, ecx
jae 0x450b00
sub ebx, ebp
lea esi, [edi + ebp]
sub ecx, edi
nop dword [eax]
mov al, byte [ebx + esi]
lea esi, [esi + 1]
xor al, byte [esi - 1]
or dl, al
sub ecx, 1
jne 0x450af0
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x453fb0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x4e0444], 0
jne 0x453fbe
call fcn.0045c620
cmp byte [0x4e044d], 0
je 0x453fdc
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0045e040
add esp, 0x10
ret
jmp fcn.004522f0
Function at 0x465361
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x493990
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00493653

Function at 0x49399b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004937d4

Function at 0x49aafa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049a7ba
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.dll_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001294
cmp byte [ebx], 0x3d
je 0x10001280
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10007010], eax
cmp dword [ebp - 8], 0
jne 0x100012c2
xor eax, eax
jmp 0x1000131f
mov ebx, dword [ebp - 0x10]
jmp 0x1000130c
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x10001306
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x100012f4
jmp 0x1000131f
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call fcn.10004825
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012c7
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001324
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], edi
call fcn.10001a76
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x100047b9]
lea edx, [fcn.10001afc]
sub eax, edx
push eax
push fcn.10001afc
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x100013bc
push edi
call fcn.1000193f
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.10001989
add esp, 0xc
mov eax, edi
add eax, 0x2200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
or edi, edi
je 0x100013a4
mov eax, dword [ebp - 0x88]
mov esi, eax
add esi, eax
jmp 0x100013aa
mov esi, dword [ebp - 0x88]
push esi
lea eax, [0x100070e0]
add eax, edi
push eax
call fcn.10001afc
add esp, 0xc
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x10001a76
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push edi
and dword [ebp - 0x120], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindowLongA
push 0
push 0
call sub.USER32.DLL_GetDlgItem
push 0
push 0
push 0
push 0
call sub.USER32.DLL_GetDlgItemInt
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x40890a
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
dec ecx
add ecx, ecx
call fcn.00408928
add ecx, 0x9053b524
push edx
pop ecx
xor dword [eax], ebx
inc eax
cmp eax, edi
jne fcn.0040890a
dec ecx
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
push ebx
pop edx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
sub eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
mov esi, eax
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
or eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4d2638a2
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2dab74f4
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x414de2
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], edi
sub edx, ebx
add esi, 4
sub edx, 0x3d77b212
sub ecx, ebx
and ebx, edx
cmp esi, eax
jne fcn.00414de2
inc ecx
ret
Function at 0x401a6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c0d0]
jne 0x401a78
repz ret
jmp fcn.00402ba6

Function at 0x40f875
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004035f6
and dword [ebp - 4], 0
cmp dword [0x42e2fc], 0
mov ebx, eax
jne 0x40f926
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f9d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f9d7
push eax
call fcn.00403584
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e2fc], eax
call esi
push eax
call fcn.00403584
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42e300], eax
call esi
push eax
call fcn.00403584
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42e304], eax
call esi
push eax
call fcn.00403584
pop ecx
mov dword [0x42e30c], eax
test eax, eax
je 0x40f926
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403584
pop ecx
mov dword [0x42e308], eax
mov eax, dword [0x42e308]
cmp eax, ebx
je 0x40f97e
cmp dword [0x42e30c], ebx
je 0x40f97e
push eax
call fcn.004035ff
push dword [0x42e30c]
mov esi, eax
call fcn.004035ff
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f97e
test edi, edi
je 0x40f97e
call esi
test eax, eax
je 0x40f975
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f975
test byte [ebp - 0xc], 1
jne 0x40f97e
or dword [ebp + 0x10], 0x200000
jmp 0x40f9b7
mov eax, dword [0x42e300]
cmp eax, ebx
je 0x40f9b7
push eax
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9b7
mov eax, dword [0x42e304]
cmp eax, ebx
je 0x40f9b7
push eax
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e2fc]
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f9d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426105
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp esi, 0x5026c
jne 0x4261a2
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
push 0x42e3e0
mov byte [0x42e3e0], 0x6b
mov byte [0x42e3e1], 0x65
mov byte [0x42e3e2], 0x72
mov byte [0x42e3e3], 0x6e
mov byte [0x42e3e4], 0x65
mov byte [0x42e3e5], 0x6c
mov byte [0x42e3e6], 0x33
mov byte [0x42e3e7], 0x32
mov byte [0x42e3e8], 0x2e
mov byte [0x42e3e9], 0x64
mov byte [0x42e3ea], 0x6c
mov byte [0x42e3eb], 0x6c
mov byte [0x42e3ec], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 8]
push eax
push 0x40
push dword [0x42e7a4]
push dword [0x42e6ec]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, 0x36edcb
jl 0x42610d
pop esi
leave
ret
Function at 0x42675e
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x42c0d0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x42e7a4], 0xbf9
jne 0x42678e
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
cmp dword [0x42e7a4], 0x3dc
mov dword [0x42e798], 0x8e55ceaa
jne 0x4267b9
push esi
push str.sutejoyuvefejavasayoz_kuradahehihugas
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x42677b
cmp esi, 0x8465cd
jne 0x4267d3
mov eax, dword [0x42d780]
add eax, 0xa231
mov dword [0x42e7a4], eax
cmp dword [0x42e7a4], 0x141
jne 0x426800
push str.gacepelorawagemuyutajewelaxizebu_hiyupehiliyi_toxayekuxo_ziyapemiket_siwiyorosahasopisuzofuwuxuv
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
or dword [0x42e46c], 0xffffffff
mov dword [0x42e468], 0xec58acac
inc esi
cmp esi, 0x125483c
jl 0x4267bc
call fcn.004263c2
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00401a6e
add esp, 0x804
ret 0x10
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4027cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov dword [esp], str.File_name:
call sym._printf
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], 0x40523b
call sym._scanf
lea eax, [ebp - 0x84]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
lea eax, [ebp - 0x84]
add eax, edx
mov dword [eax], 0x7673632e
mov byte [eax + 4], 0
mov dword [esp + 4], 0x405330
lea eax, [ebp - 0x84]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str.Location_City_Price_Rooms_Bathroom_Carpark_Type_Furnish_n
call sym._fwrite
mov dword [ebp - 0x1c], 0
jmp 0x402952
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
lea esi, [eax + 0x4f]
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
add eax, 0x40
mov dword [ebp - 0x8c], eax
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
lea ebx, [eax + 0x3d]
mov dword [ebp - 0x90], ebx
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
lea edi, [eax + 0x3a]
mov dword [ebp - 0x94], edi
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
lea edi, [eax + 0x37]
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
lea ebx, [eax + 0x2d]
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
lea ecx, [eax + 0x19]
mov edx, dword [0x406020]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x5e
add eax, edx
mov dword [esp + 0x24], esi
mov esi, dword [ebp - 0x8c]
mov dword [esp + 0x20], esi
mov esi, dword [ebp - 0x90]
mov dword [esp + 0x1c], esi
mov esi, dword [ebp - 0x94]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__s__lld__d__d__d__s__s_n
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._fprintf
add dword [ebp - 0x1c], 1
mov eax, dword [0x406024]
cmp dword [ebp - 0x1c], eax
jl 0x402872
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._fclose
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], str.Data_successfully_written_to_file__s__n
call sym._printf
mov dword [esp], str.Press_any_key_to_continue...
call sym._printf
call sym._getch
call sym.showMenu__
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402ea0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable