joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007300
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x10032c3c]
sub esp, 0x190
test eax, eax
jne 0x1000735d
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000735d
push esi
mov esi, dword [esp + 0x198]
test esi, esi
je 0x1000734c
push edi
mov edi, dword [esp + 0x1a0]
push str.Failed_to_initialize_Winsock_n
push edi
push esi
call fcn.10016898
add esp, 0xc
mov byte [esi + edi - 1], 0
pop edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
pop esi
add esp, 0x190
ret
mov eax, dword [0x10032c3c]
inc eax
mov dword [0x10032c3c], eax
xor eax, eax
add esp, 0x190
ret
Function at 0x100073d0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x468
push ebx
mov ebx, dword [esp + 0x470]
push ebp
push esi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push edi
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x10007428
mov eax, dword [esp + 0x48c]
mov ecx, dword [esp + 0x488]
push eax
push ecx
push str.socket__:
call fcn.100071f0
add esp, 0xc
or eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret
mov eax, dword [esp + 0x480]
test eax, eax
je 0x100074c2
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
push edx
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x10007475
mov ecx, dword [esp + 0x48c]
mov edx, dword [esp + 0x488]
push ecx
push edx
push str.bind__:
call fcn.100071f0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret
cmp dword [ebx + 8], 1
jne 0x10007597
mov eax, dword [esp + 0x484]
push eax
push edi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x10007597
mov ecx, dword [esp + 0x48c]
mov edx, dword [esp + 0x488]
push ecx
push edx
push str.listen__:
call fcn.100071f0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret
mov esi, dword [esp + 0x488]
mov ebp, dword [esp + 0x48c]
test ebx, ebx
mov byte [esi], 0
je 0x10007582
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
push eax
push ecx
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000757e
lea edx, [esp + 0x78]
push 0x400
push edx
push 0
call fcn.100071f0
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x20]
push 0x64
push eax
push 2
push 0
push 0
lea ecx, [esp + 0x34]
push 0x64
push ecx
push edx
call fcn.100080c0
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x40]
push eax
push ecx
push str.Is_the_server_properly_installed_on__s___connect___failed:__s
push ebp
push esi
call fcn.10016898
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, dword [esp + 0x10]
or edx, 0xffffffff
mov byte [ecx + esi], 0x20
lea esi, [ecx + esi + 1]
sub edx, ecx
mov byte [esi], al
mov ebx, dword [ebx + 0x1c]
add ebp, edx
test ebx, ebx
jne 0x100074db
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x468
ret
test ebx, ebx
jne 0x10007597
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x468
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret
Function at 0x10007890
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_send]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
push 0
push esi
push edi
push ebx
call ebp
cmp eax, 0xffffffff
je 0x100078c6
cmp eax, esi
je 0x100078e5
sub esi, eax
add edi, eax
push 0
push esi
push edi
push ebx
call ebp
cmp eax, 0xffffffff
jne 0x100078b2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str.send__:
call fcn.100071f0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x10007960
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
test edi, edi
jne 0x10007975
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push edi
push ebx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100079b6
test eax, eax
je 0x100079d5
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100079ff
add esi, eax
cmp esi, edi
je 0x100079fd
mov eax, edi
push 0
sub eax, esi
lea ecx, [esi + ebx]
push eax
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1000798d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
push str.recv__:
call fcn.100071f0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100079f5
mov edi, dword [esp + 0x28]
push str.The_other_host_terminated_the_connection.
push edi
push esi
call fcn.10016898
add esp, 0xc
mov byte [esi + edi - 1], 0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10009ea0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
add esp, 0x190
ret
Function at 0x10015ce0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
push 0x1002fbb0
push 0x1002ff18
call fcn.1001758d
add esp, 0xc
push 2
call fcn.1001812c
nop
nop
Function at 0x1001bb4a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100324b8
cmp edx, dword [eax]
je 0x1001bb6c
add eax, 8
inc ecx
cmp eax, 0x10032548
jl 0x1001bb5d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100324b8]
jne 0x1001bc9a
mov eax, dword [0x1003932c]
cmp eax, 1
je 0x1001bc74
test eax, eax
jne 0x1001bb9d
cmp dword [0x10039330], 1
je 0x1001bc74
cmp edx, 0xfc
je 0x1001bc9a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001bbd4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1001bde0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1001b2b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1001bc17
lea eax, [ebp - 0x1a4]
push eax
call fcn.1001b2b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1002ad18
push edi
call fcn.10016ba0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1001bde0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1001bdf0
lea eax, [ebp - 0xa0]
push 0x1002acf8
push eax
call fcn.1001bdf0
push dword [esi + 0x100324bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.1001bdf0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1001e081
add esp, 0x2c
pop edi
jmp 0x1001bc9a
lea eax, [ebp + 8]
lea esi, [esi + 0x100324bc]
push 0
push eax
push dword [esi]
call fcn.1001b2b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x43c500
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x43ca20
test edx, edx
je 0x43ca20
call fcn.0043c517
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x43ca60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0043c500
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x43cad1
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x43ca96
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x43d3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x43d464
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x43d43c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x43d444
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.0043d469

Function at 0x448590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b42b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x637bb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x4485f4
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x448605
push 0x48
push esi
call fcn.005b109b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x448ba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b43d1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x637bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
push 0
mov dword [ebp - 0x1c], 0
call fcn.00466620
mov dword [ebp - 4], 0
mov dword [edi], vtable.CryptoPP::BaseN_Decoder.0
mov dword [edi + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00467170
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00468cd0
mov esi, eax
push 0x14
mov byte [ebp - 4], 3
call fcn.005b0e1a
mov ecx, eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], str.DecodingLookupArray
mov word [ecx + 8], 1
mov dword [ecx + 0xc], 0
mov dword [ecx], vtable.CryptoPP::AlgorithmParametersTemplate_int_const__.0
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
mov dword [esi + 4], 0
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
test edx, edx
je 0x448cb2
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 4]
mov dword [ebp - 0x14], 0
test edx, edx
je 0x448cce
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00468c50
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x448cfa
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push str.Log2Base
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], vtable.CryptoPP::NameValuePairs.0
call fcn.00456620
push eax
mov ecx, edi
call fcn.0046cb30
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x448d2f
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, edi
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.005b0bf7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b42b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x637bb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x448da7
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x448db8
push 0x3c
push esi
call fcn.005b109b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44b220
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x44b242
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 8]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x44b230
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret
Function at 0x44daa0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 0x4a], 0
je 0x44dac2
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 8]
inc eax
xor byte [edx], cl
cmp eax, 0x49
jb 0x44dab0
mov byte [esi + 0x4a], 0
mov edx, esi
mov ecx, edi
call fcn.004569c0
mov eax, edi
pop edi
pop esi
ret

Function at 0x44dad0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp byte [esi + 0x15], 0
je 0x44daf2
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 8]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x44dae0
mov byte [esi + 0x15], 0
mov edx, esi
mov ecx, edi
call fcn.004569c0
mov eax, edi
pop edi
pop esi
ret
Function at 0x450740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b51ad
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x637bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 0
call fcn.0047ca20
mov edi, eax
test edi, edi
jne 0x4507f1
push 4
mov dword [esi], eax
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push str.null
mov byte [esi], al
call fcn.004559d0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4507d4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4507ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450929
push edx
push ecx
call fcn.005b109b
add esp, 8
mov eax, esi
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.005b0bf7
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x62a710]
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x3474706f
mov dword [ebp - 0x34], 0x30776d7d
mov dword [ebp - 0x30], 0xc120f11
mov word [ebp - 0x2c], 0x100
nop
lea eax, [ecx + 8]
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x1c
jb 0x450830
lea eax, [ebp - 0x48]
mov byte [ebp - 0x2b], 0
push eax
push 0x2712
push edi
call fcn.004807e0
push 0
push 0x40
push edi
call fcn.004807e0
push 0
push 0x51
push edi
call fcn.004807e0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x271f
push edi
call fcn.004807e0
push 0x4506e0
push 0x4e2b
push edi
call fcn.004807e0
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.004807e0
add esp, 0x48
push edi
call fcn.0047cac0
add esp, 4
test eax, eax
je 0x4508c0
push 0x10
push 0
push eax
call fcn.0047d480
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
movups xmm0, xmmword [ebp - 0x28]
mov edx, dword [ebp + 0x1c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp edx, 0x10
jb 0x4507d4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4507ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4507ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x451000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x637bb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov esi, eax
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x130], 0x128
cmp esi, 0xffffffff
je 0x4510bf
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4510bf
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
je 0x4510b8
nop dword [eax]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10c]
cmovae eax, dword [ebp + 8]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4510a1
test dl, dl
je 0x45109d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4510a1
add ecx, 2
add eax, 2
test dl, dl
jne 0x451081
xor eax, eax
jmp 0x4510a6
sbb eax, eax
or eax, 1
test eax, eax
je 0x4510f2
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x451070
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edx, dword [ebp + 0x1c]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x45110b
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x451101
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x128]
jmp 0x4510c1
push edx
push ecx
call fcn.005b109b
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b0bf7
mov esp, ebp
pop ebp
ret
Function at 0x452510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x45253c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x45255e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x452560
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x4525e5
jg 0x452575
test esi, esi
je 0x4525e5
test ecx, ecx
jl 0x4525c8
jg 0x45257f
test eax, eax
je 0x4525c8
cmp edi, ecx
jg 0x452593
jl 0x452589
cmp esi, eax
jae 0x452593
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
mov edx, dword [ebp + 8]
sbb edi, dword [esp + 0x10]
add edx, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x4525e5
jg 0x4525cb
test esi, esi
je 0x4525e5
jmp 0x4525cb
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4525e5
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
jg 0x45262c
jl 0x452620
test esi, esi
jne 0x45262c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x452645
push eax
push esi
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, esi
mov edx, dword [eax]
test edx, edx
je 0x45267f
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x45267f
mov edi, dword [ebp + 0xc]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x4c], 0
mov edx, edi
je 0x452700
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4526a8
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, edi
mov ecx, dword [ebp - 4]
cmp edi, 0xfff
jbe 0x4526ec
nop word [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push ecx
call eax
mov ecx, dword [ebp - 4]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x452713
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x4526c0
test edx, edx
je 0x452700
push dword [ebx + 0x4c]
push edi
push 1
push ecx
call eax
mov edx, edi
add esp, 0x10
sub edx, eax
sub esi, edx
mov edx, dword [ebp + 0x10]
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
sub esi, edi
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc