joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450ee2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x47b9e8
call fcn.004513f0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x450f22
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x450f22
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x450f3a
cmp eax, 0x20b
je 0x450f27
mov dword [ebp - 0x1c], ebx
jmp 0x450f4e
cmp dword [ecx + 0x84], 0xe
jbe 0x450f22
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x450f48
cmp dword [ecx + 0x74], 0xe
jbe 0x450f22
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x201895c], 0xffffffff
or dword [0x2018960], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x20170c8]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x20170c4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x2018958], eax
call fcn.004514f4
call fcn.00451594
cmp dword [0x4a32d0], ebx
jne 0x450fae
push fcn.00451594
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00451582
push 0x4844e4
push 0x4844e0
call sub.MSVCR71.dll__initterm
push 0x451538
call fcn.00450bf6
mov eax, dword [0x20170c0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x20170bc]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x451002
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4844dc
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x451080
cmp al, bl
je 0x45102c
cmp dword [ebp - 0x20], ebx
jne 0x451080
mov al, byte [esi]
cmp al, bl
je 0x45103c
cmp al, 0x20
ja 0x45103c
inc esi
mov dword [ebp - 0x24], esi
jmp 0x45102c
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x451058
movzx eax, word [ebp - 0x54]
jmp 0x45105b
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.004630b0
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x451078
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4510d5
cmp al, 0x22
jne 0x45108f
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x4510a2
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x45101a
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0045142b
ret
Function at 0x452330
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x453bf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x453bff
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4a335c]
test eax, eax
je 0x453c0d
call fcn.00453b90
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x453d0f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x20170cc]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x20170cc]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x20170cc]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x20170cc]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x20170cc]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x20170cc]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x20170cc]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x20170cc]
xor eax, ecx
inc esi
dec edi
jne 0x453c27
pop edi
test edx, edx
je 0x453d31
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x20170cc]
xor eax, ecx
inc esi
dec edx
jne 0x453d13
pop ebx
pop esi
not eax
ret 0xc
Function at 0x459940
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x459961
mov ecx, dword [esp + 8]
nop
mov dl, byte [eax + ecx]
add dl, 0x5b
xor dl, 0xaf
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jl 0x459950
pop esi
ret
Function at 0x402f80
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x4595e8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x4595ec]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], edx
call fcn.00402f70
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x4595f0]
mov edx, dword [0x4595f4]
add edi, 0x23f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea esp, [esp]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x460dec]
shl esi, 4
add esi, dword [ebp - 0x1c]
cmp eax, 0xfa9
jne 0x40300c
mov dword [0x460de8], 0xedeb2e40
jmp 0x403027
cmp eax, 0x3eb
jne 0x403027
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x460878], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x460dec], 0x9e6
mov dword [0x460de4], 0xf4ea3dee
jne 0x403060
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
xor dword [ebp - 4], esi
cmp dword [0x460dec], 0x213
jne 0x4030dc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [ebp - 0xcc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea ecx, [ebp - 0x4c4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub ebx, dword [ebp - 4]
cmp dword [0x460dec], 0xc
jne 0x403100
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, ebx
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x14]
lea ecx, [edi + ebx]
xor esi, ecx
cmp dword [0x460dec], 0xb03
jne 0x403135
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x402fe0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403170
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x460dec]
shr eax, 3
push ebx
mov ebx, dword [0x46087c]
test eax, eax
jbe 0x4031f7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], eax
jmp 0x4031a0
cmp dword [0x460dec], 0x959
jne 0x4031e6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
call edi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push ebx
call fcn.00402f80
add ebx, 8
sub dword [ebp - 4], 1
jne 0x4031a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40962b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458748]
jne 0x409635
repz ret
jmp fcn.0040ce51

Function at 0x40b53e
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.00407d68
and dword [ebp - 4], 0
cmp dword [0x45e868], 0
mov ebx, eax
jne 0x40b5ef
push 0x401ab8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b6a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401aac
push edi
call esi
test eax, eax
je 0x40b6a0
push eax
call fcn.00407cf6
mov dword [esp], 0x401a9c
push edi
mov dword [0x45e868], eax
call esi
push eax
call fcn.00407cf6
mov dword [esp], 0x401a88
push edi
mov dword [0x45e86c], eax
call esi
push eax
call fcn.00407cf6
mov dword [esp], 0x401a6c
push edi
mov dword [0x45e870], eax
call esi
push eax
call fcn.00407cf6
pop ecx
mov dword [0x45e878], eax
test eax, eax
je 0x40b5ef
push 0x401a54
push edi
call esi
push eax
call fcn.00407cf6
pop ecx
mov dword [0x45e874], eax
mov eax, dword [0x45e874]
cmp eax, ebx
je 0x40b647
cmp dword [0x45e878], ebx
je 0x40b647
push eax
call fcn.00407d71
push dword [0x45e878]
mov esi, eax
call fcn.00407d71
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b647
test edi, edi
je 0x40b647
call esi
test eax, eax
je 0x40b63e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b63e
test byte [ebp - 0xc], 1
jne 0x40b647
or dword [ebp + 0x10], 0x200000
jmp 0x40b680
mov eax, dword [0x45e86c]
cmp eax, ebx
je 0x40b680
push eax
call fcn.00407d71
pop ecx
test eax, eax
je 0x40b680
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b680
mov eax, dword [0x45e870]
cmp eax, ebx
je 0x40b680
push eax
call fcn.00407d71
pop ecx
test eax, eax
je 0x40b680
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e868]
call fcn.00407d71
pop ecx
test eax, eax
je 0x40b6a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b6a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4af1b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6c000]
push edi
or ebp, 0xffffffff
jmp 0x4af1d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4af1d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af1c8
mov eax, 1
add ebx, ebx
jne 0x4af1eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4af1fc
jne 0x4af21b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af21b
dec eax
add ebx, ebx
jne 0x4af208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4af1e0
add ebx, ebx
jne 0x4af217
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4af26d
xor ecx, ecx
sub eax, 3
jb 0x4af233
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4af2a2
sar eax, 1
mov ebp, eax
jmp 0x4af23e
add ebx, ebx
jne 0x4af23e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af20c
inc ecx
add ebx, ebx
jne 0x4af24c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4af20c
add ebx, ebx
jne 0x4af259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4af24e
jne 0x4af26a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4af24e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4af28c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4af27e
jmp 0x4af1ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4af28c
add edi, ecx
jmp 0x4af1ce
pop esi
mov edi, esi
mov ecx, 0x370c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4af2aa
cmp byte [edi], 0x4a
jne 0x4af2aa
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 0x4af2af
lea edi, [esi + 0xab000]
mov eax, dword [edi]
or eax, eax
je 0x4af327
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xaff28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb007c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4af2dc
mov ecx, edi
jns 0x4af30b
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 + 0xb0080]
or eax, eax
je 0x4af321
mov dword [ebx], eax
add ebx, 4
jmp 0x4af2f9
call dword [esi + 0xb0090]
mov ebp, dword [esi + 0xb0084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4af35b
sub esp, 0xffffff80
jmp 0x418150
Function at 0x40a65b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041a210
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0040a0f0
push esi
call fcn.00419f06
pop ecx
push esi
mov ebx, eax
call fcn.0040a597
test al, al
je 0x40a715
push esi
call fcn.0040a0f0
test al, al
je 0x40a6c5
add ebx, 4
cmp dword [ebp + 0x10], ebx
jbe 0x40a7de
mov edi, dword [ebp + 0xc]
push 4
push 0x4276f4
push edi
call fcn.0041c0bf
push esi
add edi, 8
push edi
call fcn.00419f4e
add esp, 0x14
mov al, 1
jmp 0x40a7e0
cmp word [esi], 0x5c
jne 0x40a7de
add esi, 2
cmp word [esi], 0x5c
jne 0x40a7de
add ebx, 6
cmp dword [ebp + 0x10], ebx
jbe 0x40a7de
mov edi, dword [ebp + 0xc]
push 4
push 0x4276f4
push edi
call fcn.0041c0bf
lea eax, [edi + 8]
push 0x4276ec
push eax
call fcn.00419f4e
push esi
add edi, 0xe
push edi
call fcn.00419f4e
add esp, 0x1c
jmp 0x40a6be
lea eax, [ebp - 0x1000]
push eax
mov edi, 0x7ff
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40a7de
cmp eax, edi
ja 0x40a7de
movzx eax, word [esi]
push eax
call fcn.00409ed6
test al, al
je 0x40a785
add ebx, 6
cmp dword [ebp + 0x10], ebx
jbe 0x40a7de
mov edi, dword [ebp + 0xc]
push 4
push 0x4276f4
push edi
call fcn.0041c0bf
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [edi + 8]
push eax
call fcn.0041c0bf
push esi
add edi, 0xc
push edi
call fcn.00419f4e
add esp, 0x20
jmp 0x40a6be
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.00409efb
lea eax, [ebp - 0x1000]
push eax
call fcn.00419f06
lea eax, [eax + ebx + 4]
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x40a7de
mov edi, dword [ebp + 0xc]
push 4
push 0x4276f4
push edi
call fcn.0041c0bf
lea eax, [ebp - 0x1000]
push eax
lea eax, [edi + 8]
push eax
call fcn.00419f4e
add esp, 0x14
push dword [ebp + 0x10]
push esi
push edi
call fcn.0041086e
jmp 0x40a6be
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

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

Disassembly:
push 0x14
push 0x43c510
call fcn.0042be5e
push 1
call fcn.0042b6a2
pop ecx
test al, al
jne 0x42b3e1
push 7
call fcn.0042c0e7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0042b66d
mov byte [ebp - 0x24], al
mov eax, dword [0x447fe8]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x42b3da
test eax, eax
jne 0x42b44b
mov dword [0x447fe8], ecx
push 0x42f2f4
push 0x42f2dc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x42b42e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42b532
push 0x42f2d8
push 0x42f2b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x447fe8], 2
jmp 0x42b450
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0042b7ff
pop ecx
call fcn.0042c0db
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x42b480
push esi
call fcn.0042b772
pop ecx
test al, al
je 0x42b480
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0042c316
call esi
call fcn.0042c0e1
mov esi, eax
cmp dword [esi], edi
je 0x42b49e
push esi
call fcn.0042b772
pop ecx
test al, al
je 0x42b49e
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.0042c1fc
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0042c22f
test al, al
jne 0x42b4d7
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x42b4e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0042b81c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x42b532
call fcn.0042bea4
ret
call fcn.0042b247
jmp 0x42b3c2

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

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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x10
call sym._mcount
call dbg._monstartup
call dbg.__main
mov dword [esp + 4], str.inserisci_il_primo_numero
mov dword [esp], 0x4881c0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], 0x492024
mov ecx, 0x487f80
call method.std::istream.operator___int_
sub esp, 4
mov dword [esp + 4], str.inserisci_il_secondo_numero
mov dword [esp], 0x4881c0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], 0x492028
mov ecx, 0x487f80
call method.std::istream.operator___int_
sub esp, 4
mov eax, dword [0x492024]
test eax, eax
jle 0x4015e7
mov edx, dword [0x492024]
mov eax, edx
add eax, eax
add eax, edx
mov dword [0x49202c], eax
mov ebx, dword [0x49202c]
mov dword [esp + 4], str.visualizza_prodotto
mov dword [esp], 0x4881c0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], ebx
mov ecx, eax
call method.std::ostream.operator___int_
sub esp, 4
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
jmp 0x401634
mov eax, dword [0x492028]
lea edx, [eax + 3]
test eax, eax
cmovs eax, edx
sar eax, 2
mov dword [0x492030], eax
mov ebx, dword [0x492030]
mov dword [esp + 4], str.visualizza_quoziente
mov dword [esp], 0x4881c0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], ebx
mov ecx, eax
call method.std::ostream.operator___int_
sub esp, 4
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], str.pause
call sym._system
mov eax, 0
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret