joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x463218]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a3344], 0
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xf8], esi
je 0x40adf0
cmp dword [0x4a3340], 0
je 0x40adf0
test edi, edi
jns 0x40ac5d
mov edi, dword [0x4a36f8]
test edi, edi
js 0x40adf0
mov ecx, dword [0x4a3474]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
jne 0x40ac80
call fcn.0040a540
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xf0]
push str._010u
push 0xffffffffffffffff
push 0xea
push eax
call fcn.004073c0
mov eax, dword [0x4a3344]
mov ecx, 0xa
add esp, 0x14
lea eax, [eax + eax*4]
lea ebx, [eax*4 + 7]
cmp ebx, ecx
jle 0x40acf4
mov dword [ebp - 0xfc], 0x14
lea esi, [ecx + 0x24]
lea eax, [ecx - 0x13]
cdq
idiv dword [ebp - 0xfc]
test edx, edx
jne 0x40acd7
lea eax, [edx + 0x7c]
jmp 0x40ace2
test cl, 1
mov eax, 0x20
cmovne eax, esi
mov byte [ebp + ecx - 0xf0], al
inc ecx
cmp ecx, ebx
jl 0x40acc4
mov esi, dword [ebp - 0xf8]
lea eax, [ecx + 1]
mov byte [ebp + ecx - 0xf0], 0xa
mov ecx, esi
mov dword [ebp - 0xf8], eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ad10
mov eax, 0xf
lea ebx, [edi + edi*4]
sub ecx, edx
cmp ecx, eax
cmovg ecx, eax
mov al, byte [esi]
mov byte [ebp - 0xf1], al
mov eax, dword [0x4a3344]
dec eax
shl ebx, 2
cmp edi, eax
jge 0x40ad67
cmp byte [ebp - 0xf1], 0
lea ecx, [ebx + 0x16]
lea edx, [ecx + 0xf]
je 0x40ad95
sub esi, ecx
nop dword [eax]
cmp ecx, edx
jg 0x40ad95
mov al, byte [esi + ecx]
mov byte [ebp + ecx - 0xf0], al
inc ecx
cmp byte [esi + ecx], 0
jne 0x40ad50
jmp 0x40ad95
mov eax, ebx
sub eax, ecx
cmp byte [ebp - 0xf1], 0
lea ecx, [eax + 0x11]
lea edx, [ecx + 0xf]
je 0x40ad95
sub esi, ecx
nop dword [eax]
cmp ecx, edx
jg 0x40ad95
mov al, byte [esi + ecx]
mov byte [ebp + ecx - 0xf0], al
inc ecx
cmp byte [esi + ecx], 0
jne 0x40ad80
mov eax, dword [0x4a36f8]
test eax, eax
js 0x40ada9
lea eax, [eax + eax*4]
mov byte [ebp + eax*4 - 0xdd], 0x2f
mov esi, dword [ebp - 0xf8]
mov byte [ebp + ebx - 0xdd], 0x2a
pop ebx
cmp esi, 0xea
jbe 0x40add2
push 0x1c4
push str.C:qp_devqtoolsqspy_sourceqspy_seq.c
call fcn.00409260
add esp, 8
push dword [0x4a3340]
lea eax, [ebp - 0xf0]
push esi
push 1
push eax
call fcn.0042d32e
add esp, 0x10
inc dword [0x4a3474]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040c824
mov esp, ebp
pop ebp
ret
Function at 0x40ae00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x463218]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a3344], 0
je 0x40af14
cmp dword [0x4a3340], 0
je 0x40af14
mov ecx, dword [0x4a3474]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
jne 0x40ae50
call fcn.0040a540
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xf0]
push dword [ebp + 8]
push str.__Tick__1u__Ctr_010u
push 0xffffffffffffffff
push 0xea
push eax
call fcn.004073c0
mov eax, dword [0x4a3344]
mov ecx, 0x22
add esp, 0x18
lea eax, [eax + eax*4]
lea esi, [eax*4 + 7]
cmp esi, ecx
jle 0x40aebc
push ebx
push edi
mov ebx, 0x14
lea edi, [ecx - 2]
lea eax, [ecx - 0x13]
cdq
idiv ebx
test edx, edx
jne 0x40aea3
lea eax, [edx + 0x7c]
jmp 0x40aeae
test cl, 1
mov eax, 0x27
cmovne eax, edi
mov byte [ebp + ecx - 0xf0], al
inc ecx
cmp ecx, esi
jl 0x40ae94
pop edi
pop ebx
mov eax, dword [0x4a36f8]
test eax, eax
js 0x40aed0
lea eax, [eax + eax*4]
mov byte [ebp + eax*4 - 0xdd], 0x2f
lea esi, [ecx + 1]
mov byte [ebp + ecx - 0xf0], 0xa
cmp esi, 0xea
jbe 0x40aef5
push 0x25e
push str.C:qp_devqtoolsqspy_sourceqspy_seq.c
call fcn.00409260
add esp, 8
push dword [0x4a3340]
lea eax, [ebp - 0xf0]
push esi
push 1
push eax
call fcn.0042d32e
add esp, 0x10
inc dword [0x4a3474]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret
Function at 0x40af30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x463218]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a3344], 0
push esi
mov esi, dword [ebp + 0x10]
je 0x40b0c8
cmp dword [0x4a3340], 0
je 0x40b0c8
mov ecx, dword [0x4a3474]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
jne 0x40af84
call fcn.0040a540
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xf0]
push str._010u
push 0xffffffffffffffff
push 0xea
push eax
call fcn.004073c0
mov eax, dword [0x4a3344]
mov ecx, 0xa
add esp, 0x14
lea eax, [eax + eax*4]
lea edi, [eax*4 - 1]
cmp edi, ecx
jle 0x40afde
push ebx
mov ebx, 0x14
lea eax, [ecx - 0x13]
cdq
idiv ebx
neg edx
sbb dl, dl
and dl, 0xa4
add dl, 0x7c
mov byte [ebp + ecx - 0xf0], dl
inc ecx
cmp ecx, edi
jl 0x40afc1
pop ebx
mov word [ebp + ecx - 0xf0], 0xa7c
lea edi, [ecx + 2]
xor eax, eax
xor ecx, ecx
cmp byte [esi], al
je 0x40b019
test ecx, ecx
jne 0x40b012
mov dl, byte [eax + esi]
cmp dl, 0x5f
jne 0x40b004
lea ecx, [eax + 1]
jmp 0x40b012
cmp dl, 0x3a
jne 0x40b012
cmp byte [esi + eax + 1], dl
jne 0x40b012
lea ecx, [eax + 2]
inc eax
cmp byte [esi + eax], 0
jne 0x40aff3
sub eax, ecx
add esi, ecx
mov ecx, 0xf
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [ebp + 0xc]
inc eax
cdq
sub eax, edx
lea ecx, [ecx + ecx*4]
sar eax, 1
shl ecx, 2
sub ecx, eax
mov al, byte [esi]
lea edx, [ecx + 0x22]
mov byte [ebp + ecx - 0xdd], 0x3c
add ecx, 0x14
test al, al
je 0x40b063
nop dword [eax]
cmp ecx, edx
jg 0x40b063
inc esi
mov byte [ebp + ecx - 0xf0], al
inc ecx
mov al, byte [esi]
test al, al
jne 0x40b050
mov byte [ebp + ecx - 0xf0], 0x3e
inc ecx
cmp edi, ecx
ja 0x40b07b
mov byte [ebp + ecx - 0xf0], 0xa
lea edi, [ecx + 1]
mov eax, dword [0x4a36f8]
test eax, eax
js 0x40b08f
lea eax, [eax + eax*4]
mov byte [ebp + eax*4 - 0xdd], 0x2f
cmp edi, 0xea
jbe 0x40b0a9
push 0x20c
push str.C:qp_devqtoolsqspy_sourceqspy_seq.c
call fcn.00409260
add esp, 8
push dword [0x4a3340]
lea eax, [ebp - 0xf0]
push edi
push 1
push eax
call fcn.0042d32e
add esp, 0x10
inc dword [0x4a3474]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040c824
mov esp, ebp
pop ebp
ret
Function at 0x40b8d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x463218]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x463208], 0xffffffff
je 0x40b99c
cmp dword [0x4a40fc], 0
je 0x40b986
call fcn.00407400
mov eax, dword [0x463208]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x110]
push eax
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 1
push eax
push 0
push 0
mov dword [ebp - 0x110], 2
mov dword [ebp - 0x10c], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x40b986
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____F_END__ERROR____UDP_socket_select_Err_d
push 0xffffffffffffffff
push 0x3e0
push 0x4a5928
call fcn.004073c0
add esp, 0x14
mov edx, 0x3e0
lea ecx, [eax - 1]
cmp ecx, 0x3de
cmovbe edx, eax
mov dword [0x4a5d10], edx
call fcn.00401d30
push dword [0x463208]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x463208], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret

Function at 0x40b9e0
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x463218]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x40ba15
push eax
push str.____F_END__ERROR____Windows_Sockets_Init_Err_d
jmp 0x40bab6
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x463208], eax
cmp eax, 0xffffffff
jne 0x40ba39
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____F_END__ERROR____UDP_socket_create_Err_d
jmp 0x40bab6
push dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
mov eax, 2
movlpd qword [ebp - 0xc], xmm0
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [0x463208]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x40ba83
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____F_END__ERROR____UDP_socket_binding_Err_d
jmp 0x40bab6
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 1
push eax
push 0x8004667e
push dword [0x463208]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x40baf6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____F_END__ERROR____UDP_socket_non_blocking_Err_d
push 0xffffffffffffffff
push 0x3e0
push 0x4a5928
call fcn.004073c0
add esp, 0x14
mov edx, 0x3e0
lea ecx, [eax - 1]
cmp ecx, 0x3de
cmovbe edx, eax
mov dword [0x4a5d10], edx
call fcn.00401d30
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret
call fcn.00407410
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret
Function at 0x40be20
Capabilities:
Create tcp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x463218]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1a4]
mov dword [0x4a54b0], 0x40c400
push eax
push 0x202
mov dword [0x4a54b4], 0x40c750
mov dword [0x4a54b8], 0x40c3e0
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x40be73
push eax
push str.____COMMS__ERROR____Init_Windows_Sockets_Err_d
jmp 0x40bf38
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x46320c], eax
cmp eax, 0xffffffff
jne 0x40be9a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____COMMS__ERROR____Server_socket_create_Err_d
jmp 0x40bf38
push dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
mov eax, 2
movlpd qword [ebp - 0xc], xmm0
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [0x46320c]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x40bee4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____COMMS__ERROR____Binding_server_socket_Err_d
jmp 0x40bf38
push 1
push dword [0x46320c]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x40bf05
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____COMMS__ERROR____Server_socket_listen_Err_d
jmp 0x40bf38
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 1
push eax
push 0x8004667e
push dword [0x46320c]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x40bf78
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____COMMS__ERROR____Server_socket_non_blocking_Err_d
push 0xffffffffffffffff
push 0x3e0
push 0x4a5928
call fcn.004073c0
add esp, 0x14
mov edx, 0x3e0
lea ecx, [eax - 1]
cmp ecx, 0x3de
cmovbe edx, eax
mov dword [0x4a5d10], edx
call fcn.00401d30
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret
Function at 0x40bf90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x463218]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x463208]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x40c0e2
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push edx
lea edx, [ebp - 0x14]
push edx
push 0
push dword [edi]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c03b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
je 0x40c0e2
call fcn.0040b9d0
push esi
push str.____F_END__ERROR____UDP_socket_failed_Err_d
push ebx
push 0x3e0
push 0x4a5928
call fcn.004073c0
add esp, 0x14
mov edx, 0x3e0
lea ecx, [eax - 1]
cmp ecx, 0x3de
cmovbe edx, eax
mov dword [0x4a5d10], edx
call fcn.00401d30
pop edi
pop esi
lea eax, [ebx + 6]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a40fc]
test eax, eax
jne 0x40c077
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push esi
push eax
push 0x4a4100
call fcn.0040e160
add esp, 0xc
mov dword [0x4a40fc], esi
mov dword [edi], ebx
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c824
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], eax
jne 0x40c0a8
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x4a4108]
jne 0x40c0a8
mov eax, dword [ebp - 8]
cmp eax, dword [0x4a410c]
jne 0x40c0a8
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x4a4100]
jne 0x40c0a8
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x4a4104]
je 0x40c05f
push str.UDP_socket_in_use
push str.____F_END__WARN______s
push 0xffffffffffffffff
push 0x3e0
push 0x4a5928
call fcn.004073c0
add esp, 0x14
mov edx, 0x3e0
lea ecx, [eax - 1]
cmp ecx, 0x3de
cmovbe edx, eax
mov dword [0x4a5d10], edx
call fcn.00401d30
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c824
mov esp, ebp
pop ebp
ret

Function at 0x40c170
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a40fc]
test eax, eax
je 0x40c1dd
push eax
push 0x4a4100
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x463208]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x40c1dd
call fcn.0040b9d0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____F_END__ERROR____UDP_socket_failed_Err_d
push 0xffffffffffffffff
push 0x3e0
push 0x4a5928
call fcn.004073c0
add esp, 0x14
mov edx, 0x3e0
lea ecx, [eax - 1]
cmp ecx, 0x3de
cmovbe edx, eax
mov dword [0x4a5d10], edx
pop ebp
jmp fcn.00401d30
pop ebp
ret
Function at 0x43d709
Capabilities:
Read file on windows

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

Function at 0x43d714
Capabilities:
Read file on windows

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

Function at 0x43db88
Capabilities:
Print debug messages

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

Function at 0x440485
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043fe63
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x7d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x65
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x88
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x73
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe5
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x36
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4c
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x50
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x33
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb7
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x82
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x63
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xea
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b08b
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4995f1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x504c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49963c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499ab3
test al, al
jne 0x499636
sub edx, 2
cmp edx, edi
jne 0x49961c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49965e
lea eax, [edi + 2]
cmp edx, eax
je 0x49965e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004991ea
add esp, 0x10
jmp 0x499758
push esi
lea ecx, [ebp - 0x255]
call fcn.00499ab3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4996a1
push dword [ebp - 0x25c]
jmp 0x49964e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4996de
cmp word [ebp - 0x226], 0
je 0x4996ff
cmp word [ebp - 0x226], ax
jne 0x4996de
cmp word [ebp - 0x224], 0
je 0x4996ff
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004991ea
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49974b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4996b8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x499733
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x499758
push 0x498bd2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405542
add esp, 0x10
jmp 0x499728
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403044
leave
ret

Function at 0x43b631
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edx
push ebx
pop edi
call fcn.0043b66f
and edi, ebx
xor dword [eax], edx
dec ebx
inc edi
add eax, 1
mov edi, 0xac00aa7c
push 0x3513b0a
mov edi, dword [esp]
add esp, 4
add edi, 0x125205dc
cmp eax, ecx
jne fcn.0043b631
sub edi, ebx
ret
Function at 0x40af51
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x5c], eax
ret
Function at 0x40c4b0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x40e4a0
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x40fad6
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x40fad6
cmp dword [ecx + 0xc], 0
je 0x40fad6
cmp dword [ecx], 0
jne 0x40e4d8
cmp dword [ecx + 4], 0
jne 0x40fad6
cmp dword [edi], 0xb
jne 0x40e4e3
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja 0x40ee55
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x40e530
jmp dword [eax*4 + 0x40fae0]
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
Function at 0x40bb40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x40bb8c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40bb6f
cmp edi, 2
jb 0x40bb6f
cmp byte [esi], cl
jne 0x40bb6f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4f06e8]
test edi, edi
jne 0x40bb55
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x40bbbb
cmp cl, 0x23
jne 0x40bba2
cmp byte [esi], cl
jne 0x40bba2
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4f06e8]
test cl, cl
jne 0x40bb93
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x40bd20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x40bd43
push 0x849
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.cpp
push str.filename__mode
call fcn.004cb34c
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x40bd50
mov dword [edi], 0
mov edx, 0x4fd648
mov ecx, esi
call fcn.0040bbd0
mov esi, eax
test esi, esi
je 0x40be2f
push esi
call fcn.004cba40
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x40be26
push 2
push 0
push esi
call fcn.004cc14a
add esp, 0xc
test eax, eax
jne 0x40be26
push esi
call fcn.004cba40
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x40be26
push 0
push dword [ebp + 8]
push esi
call fcn.004cc14a
add esp, 0xc
test eax, eax
jne 0x40be26
mov eax, dword [0x52a278]
test eax, eax
je 0x40bdc5
inc dword [eax + 0xb8]
push ebx
call fcn.004cce5c
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x40be26
push esi
push ebx
push 1
push eax
call fcn.004ccda2
add esp, 0x10
push esi
cmp eax, ebx
je 0x40be10
call fcn.004cbe0a
mov eax, dword [0x52a278]
add esp, 4
test eax, eax
je 0x40bdfe
dec dword [eax + 0xb8]
push dword [ebp + 8]
call fcn.004ccba1
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004cbe0a
add esp, 4
test edi, edi
je 0x40be1e
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.004cbe0a
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret