joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416fc0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
mov eax, dword [esi + 0x20a0]
push 0x8004667e
xor ebx, ebx
push eax
xor ebp, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x417017
push 0x210
call fcn.00408960
add esp, 4
test eax, eax
je 0x417017
push str.Set_socket_to_non_blocking_mode_failed
push 0x210
call fcn.00408640
add esp, 8
mov edi, 3
mov ecx, esi
mov dword [esi + 0x20dc], ebp
mov dword [esi + 0x20e0], ebp
mov dword [esi + 0x20e4], ebp
mov dword [esi + 0x20e8], ebp
mov dword [esi + 0x20c8], ebp
mov dword [esi + 0x20cc], ebp
mov dword [esi + 0x20c4], ebp
mov dword [esi + 0x2098], edi
call fcn.00416de0
cmp dword [0x5426d0], edi
jb 0x41709f
push 0x28000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x41709f
lea edx, [esp + 0x10]
push edx
push 2
push 0x5164a8
lea ebx, [esi + 0x60]
call fcn.00441eb0
add esp, 0xc
push eax
mov eax, dword [esp + 0x20]
push eax
push str.MANAGEMENT:__s__s
push 0x28000003
call fcn.00408640
mov ebx, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esi + 0x20d4]
push ecx
call fcn.00403bb0
add esp, 4
cmp dword [esi + 0x74], ebp
je 0x4170bb
cmp dword [esi + 0x20c8], ebp
je 0x4170c0
call fcn.00415290
cmp dword [esi + 0x74], ebp
je 0x4170d9
cmp dword [esi + 0x20c8], ebp
jne 0x4170d9
mov ecx, str.ENTER_PASSWORD:
mov eax, esi
call fcn.00415400
cmp dword [esi + 0x20a0], 0xffffffff
je 0x4170f8
mov edx, dword [esi + 0x20d4]
xor eax, eax
cmp dword [edx], ebp
setne al
add eax, 2
mov dword [esi + 0x2098], eax
cmp ebx, ebp
je 0x417112
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov eax, ebx
mov esi, dword [eax]
push eax
call edi
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x417104
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4171e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, eax
or eax, 0xffffffff
push edi
xor edi, edi
cmp dword [esi + 0x209c], eax
mov dword [esp + 0xc], edi
mov dword [esi + 0x2098], 1
mov dword [esi + 0x20a0], eax
jne 0x4172f2
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ebx, [esi + 0x60]
push str.MANAGEMENT
mov ecx, ebx
mov dword [esi + 0x209c], eax
call fcn.00440180
mov eax, dword [esi + 0x209c]
add esp, 4
push 1
push eax
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x417267
push 0x210
call fcn.00408960
add esp, 4
test eax, eax
je 0x417267
push str.MANAGEMENT:_listen___failed
push 0x210
call fcn.00408640
add esp, 8
mov eax, dword [esi + 0x209c]
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x4172ad
push 0x210
call fcn.00408960
add esp, 4
test eax, eax
je 0x4172ad
push str.Set_socket_to_non_blocking_mode_failed
push 0x210
call fcn.00408640
add esp, 8
cmp dword [0x5426d0], 3
jb 0x4172f2
push 0x28000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x4172f2
lea edx, [esp + 0xc]
push edx
push 2
push 0x5164a8
call fcn.00441eb0
add esp, 0xc
push eax
push str.MANAGEMENT:_TCP_Socket_listening_on__s
push 0x28000003
call fcn.00408640
mov edi, dword [esp + 0x18]
add esp, 0xc
mov ecx, esi
call fcn.00416de0
test edi, edi
je 0x417313
mov eax, edi
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x417305
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x417320
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 6
mov esi, eax
push 1
xor edi, edi
push 2
mov dword [esp + 0x1c], edi
mov dword [esi + 0x2098], edi
mov dword [esi + 0x209c], 0xffffffff
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ebx, [esi + 0x60]
push ebx
push eax
mov dword [esi + 0x20a0], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, edi
je 0x417407
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
test ebp, ebp
je 0x417407
cmp dword [0x5426d0], 1
jb 0x4173c9
push 0x1000021
call fcn.00408960
add esp, 4
test eax, eax
je 0x4173c9
lea eax, [esp + 0x10]
push eax
push 2
push 0x5164a8
call fcn.00441eb0
add esp, 0xc
mov esi, eax
push ebp
lea eax, [esp + 0x14]
call fcn.00419e60
add esp, 4
push eax
push esi
push str.MANAGEMENT:_connect_to__s_failed:__s
push 0x1000021
call fcn.00408640
mov edi, dword [esp + 0x20]
add esp, 0x10
test edi, edi
mov dword [0x542690], 4
mov dword [0x542694], 0
mov dword [0x542698], 0x515938
je 0x417401
mov eax, edi
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x4173f3
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, esi
call fcn.00416e60
push str.Connected_to_management_server_at
mov eax, esi
call fcn.00416fc0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x417430
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
xor ebp, ebp
cmp dword [edi + 0x20a0], 0xffffffff
push esi
je 0x4174f3
cmp dword [0x5426d0], 3
jb 0x41746d
push 0x28000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x41746d
push str.MANAGEMENT:_Client_disconnected
push 0x28000003
call fcn.00408640
add esp, 8
cmp dword [edi + 0x20b4], ebp
lea esi, [edi + 0x20b4]
je 0x417488
mov ecx, dword [esi + 8]
push 1
call fcn.00452c80
add esp, 4
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], ebp
mov eax, dword [edi + 0x20a0]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [edi + 0x20d0]
mov dword [edi + 0x20a0], 0xffffffff
mov eax, dword [esi]
cmp eax, ebp
jle 0x4174c3
mov ecx, dword [esi + 0xc]
push eax
push ebp
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
mov eax, dword [esi + 0x10]
cmp eax, ebp
jle 0x4174de
mov edx, dword [esi + 0x1c]
push eax
push ebp
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebp
mov eax, dword [edi + 0x20d4]
push eax
call fcn.00403bb0
add esp, 4
cmp dword [esp + 0xc], ebp
jne 0x4175cb
test byte [edi + 0x5c], 0x10
je 0x417508
call fcn.00443dd0
test byte [edi + 0x5c], 8
je 0x41757f
mov eax, dword [edi + 0x2094]
test al, 2
mov esi, 1
je 0x417522
mov esi, 3
test al, 4
je 0x41752b
mov esi, 4
test al, 1
je 0x417539
cmp esi, 3
je 0x41757f
cmp esi, 1
je 0x41757f
cmp esi, ebp
jl 0x41757f
cmp dword [0x5426d0], 3
jb 0x417569
push 0x28000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x417569
push str.MANAGEMENT:_Triggering_management_signal
push 0x28000003
call fcn.00408640
add esp, 8
mov dword [0x542690], esi
mov dword [0x542694], ebp
mov dword [0x542698], 0x515a68
test byte [edi + 0x5c], 0x20
je 0x4175ce
cmp dword [0x5426d0], 3
jb 0x4175b1
push 0x28000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x4175b1
push str.MANAGEMENT:_Triggering_management_exit
push 0x28000003
call fcn.00408640
add esp, 8
mov dword [0x542690], 4
mov dword [0x542694], ebp
mov dword [0x542698], 0x515aa8
pop esi
pop ebp
ret
pop esi
mov eax, edi
pop ebp
jmp fcn.004171e0
Function at 0x4175e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
push 0x44
lea eax, [esp + 0x1c]
push edi
push eax
mov dword [esp + 0x1c], edi
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 8]
lea esi, [ecx + 8]
add esp, 0xc
xor ebx, ebx
cmp esi, edi
je 0x41765d
push 0x40
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x417624
jmp fcn.00408a80
push 0x40
push edi
push ebx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x10], esi
add esp, 0xc
or eax, 0xffffffff
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx], 2
cmp dword [ecx + 0x74], edi
je 0x417677
cmp dword [ecx + 0x20c8], edi
jne 0x417677
mov eax, dword [ebp + 0xc]
call fcn.00415310
jmp 0x417740
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x24800
push edi
push 0x10
push edx
mov edx, 0x515ab8
lea ecx, [esp + 0x2c]
call fcn.0042c910
mov esi, dword [esp + 0x2c]
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x14], eax
je 0x4176e3
mov edi, str.password
mov ecx, 9
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4176e3
cmp dword [0x5426d0], 3
jb 0x417726
push 0x46000083
call fcn.00408960
add esp, 4
test eax, eax
je 0x417726
push str.MANAGEMENT:_CMD_password__..._
push 0x46000083
call fcn.00408640
add esp, 8
jmp 0x417726
mov esi, dword [ebp + 0xc]
mov edi, str.load_stats
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x417726
cmp dword [0x5426d0], 3
jb 0x417726
push 0x46000083
call fcn.00408960
add esp, 4
test eax, eax
je 0x417726
mov eax, dword [ebp + 0xc]
push eax
push str.MANAGEMENT:_CMD__s
push 0x46000083
call fcn.00408640
add esp, 0xc
cmp dword [esp + 0x14], 0
jle 0x41773e
mov ecx, dword [ebp + 8]
push ebx
push ecx
lea eax, [esp + 0x20]
call fcn.004163d0
add esp, 8
xor edi, edi
mov esi, ebx
call fcn.0044c840
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x417763
mov ebx, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call ebx
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x417755
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417810
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [ebx + 0x20a0]
push esi
push edi
push 0
push 0x100
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
jne 0x417871
push 0
mov edi, ebx
call fcn.00417430
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret
jle 0x4179f9
cmp esi, 0x100
mov dword [esp + 0xc], 0
jle 0x4178ae
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x4178ae
push 0x67d
push str..manage.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
push esi
mov esi, dword [ebx + 0x20d0]
lea edx, [esp + 0x14]
push edx
call fcn.00418e10
mov eax, dword [ebx + 0x20d4]
push eax
call fcn.00403bb0
add esp, 0xc
mov edi, edi
mov esi, dword [ebx + 0x20d0]
mov ecx, esi
call fcn.00403740
xor edi, edi
cmp eax, edi
jl 0x41797a
lea ecx, [esi + 0x10]
push ecx
mov ecx, eax
mov eax, esi
call fcn.00414ce0
add esp, 4
call fcn.00403310
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x41790f
cmp dword [esi + 8], edi
jl 0x41790f
mov esi, dword [esi + 4]
add esi, eax
jmp 0x417911
xor esi, esi
cmp esi, edi
je 0x41797a
push esi
push ebx
call fcn.004175e0
add esp, 8
cmp dword [ebx + 0x20c4], edi
jne 0x417982
mov esi, dword [ebx + 0x20d0]
mov eax, dword [esi]
cmp eax, edi
jle 0x417941
mov edx, dword [esi + 0xc]
push eax
push edi
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esi + 8], edi
mov dword [esi + 4], edi
lea edi, [esi + 0x10]
mov eax, edi
call fcn.00443a70
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
jle 0x417967
push eax
mov eax, dword [edi + 0xc]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [edi + 8], esi
mov dword [edi + 4], esi
mov dword [esp + 0xc], 1
jmp 0x4178d0
cmp dword [ebx + 0x20c4], edi
je 0x4179a3
push edi
mov edi, ebx
call fcn.00417430
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0xc], edi
je 0x4179c2
cmp dword [ebx + 0x74], edi
je 0x4179c2
cmp dword [ebx + 0x20c8], edi
jne 0x4179c2
mov ecx, str.ENTER_PASSWORD:
mov eax, ebx
call fcn.00415400
cmp dword [ebx + 0x20a0], 0xffffffff
mov eax, dword [esp + 8]
je 0x417a10
mov ecx, dword [ebx + 0x20d4]
xor edx, edx
cmp dword [ecx], edi
setne dl
add edx, 2
mov dword [ebx + 0x2098], edx
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret
push str.recv
call fcn.00417770
add esp, 4
test eax, eax
jne 0x41784f
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret
Function at 0x417a30
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x20d4]
mov eax, dword [eax]
xor esi, esi
test eax, eax
je 0x417aa6
mov edx, dword [eax + 0xc]
test edx, edx
je 0x417aa6
mov ecx, dword [eax + 8]
test ecx, ecx
jl 0x417aa6
je 0x417aa6
cmp ecx, 0x100
jle 0x417a60
mov ecx, 0x100
mov eax, dword [eax + 4]
push 0
add eax, edx
push ecx
push eax
mov eax, dword [edi + 0x20a0]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test esi, esi
jl 0x417a8b
mov eax, dword [edi + 0x20d4]
mov ecx, esi
call fcn.00403d40
jmp 0x417aa6
push str.send
call fcn.00417770
add esp, 4
test eax, eax
je 0x417aa6
push 0
call fcn.00417430
add esp, 4
cmp dword [edi + 0x20a0], 0xffffffff
mov eax, esi
je 0x417ac7
mov ecx, dword [edi + 0x20d4]
xor edx, edx
cmp dword [ecx], edx
setne dl
add edx, 2
mov dword [edi + 0x2098], edx
pop edi
pop esi
pop ecx
ret

Function at 0x417ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [ebx], 0
push esi
push edi
jne 0x417b6b
push 0x58
push 0
push ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x10
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x417b04
jmp fcn.00408a80
mov edi, 0x64
call fcn.004190e0
lea eax, [ebx + 8]
push 0x10
mov dword [ebx + 4], esi
mov dword [ebx + 0x10], fcn.00415470
mov dword [eax], ebx
mov dword [ebx + 0xc], 0x24800
mov dword [0x5426cc], eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x417b3f
jmp fcn.00408a80
call fcn.004190e0
push 0x10
mov dword [ebx + 0x38], esi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x417b5d
jmp fcn.00408a80
call fcn.004190e0
mov dword [ebx + 0x3c], esi
mov dword [ebx], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [esi + 0x2098], 0
push edi
jne 0x417f06
xor eax, eax
mov dword [esi + 0x20b4], eax
mov dword [esi + 0x20b8], eax
mov dword [esi + 0x20c0], eax
mov dword [esi + 0x20bc], 0xffffffff
call fcn.00418d10
push 0x10
mov dword [esi + 0x20d0], eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x417e92
jmp fcn.00408a80
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [esi + 0x20d4], eax
lea eax, [esp + 4]
push 2
push eax
mov dword [esp + 0xc], 1
call fcn.00409ce0
mov edi, eax
add esp, 8
test edi, edi
jne 0x417ee9
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x417ee9
push 0x402
push str..event.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
test byte [esi + 0x5c], 0x20
mov dword [esi + 0x20d8], edi
mov eax, esi
je 0x417f01
call fcn.00417320
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004171e0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x418d10
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
push 0x20
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x418d2c
jmp fcn.00408a80
push 0
mov esi, 0x400
lea edi, [esp + 0x14]
call fcn.00402dc0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebx], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 4], edx
mov edx, dword [eax + 0xc]
add esp, 4
mov dword [ebx + 8], ecx
push 0
lea edi, [esp + 0x14]
mov dword [ebx + 0xc], edx
call fcn.00402dc0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebx + 0x10], ecx
mov ecx, dword [eax + 8]
add esp, 4
mov dword [ebx + 0x14], edx
mov edx, dword [eax + 0xc]
pop edi
mov dword [ebx + 0x18], ecx
pop esi
mov dword [ebx + 0x1c], edx
mov eax, ebx
pop ebx
add esp, 0x18
ret
Function at 0x418ea0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp dword [esp + 0x28], ebx
push esi
mov esi, 0x2000
je 0x419070
push 0x2004
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x418ed2
jmp fcn.00408a80
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 4]
mov dword [edx], ecx
mov byte [eax], bl
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x28]
test ebx, 0x100
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
je 0x418f12
push str._FATAL:
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
test bl, 1
je 0x418f28
push str._LOG:
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
test bl, 2
je 0x418f3e
push str._ECHO:
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
test bl, 4
je 0x418f54
push str._STATE:
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
test bl, 8
je 0x418f6d
mov eax, dword [edi]
push eax
push 0x515cb0
lea esi, [esp + 0x18]
call fcn.00402ff0
add esp, 8
test bl, 0x10
je 0x418f94
mov ecx, dword [edi + 0x14]
mov eax, dword [esp + 0x2c]
push ecx
call fcn.00408ed0
add esp, 4
push eax
push 0x515cb4
lea esi, [esp + 0x18]
call fcn.00402ff0
add esp, 8
test bl, 0x20
je 0x418fb3
mov eax, dword [edi + 0x14]
call fcn.00415200
push eax
push 0x515cb4
lea esi, [esp + 0x18]
call fcn.00402ff0
add esp, 8
test ebx, 0x200
je 0x418fd0
mov edx, dword [edi + 0x14]
push edx
push 0x515cb8
lea esi, [esp + 0x18]
call fcn.00402ff0
add esp, 8
mov eax, dword [edi + 8]
test eax, eax
je 0x418fe9
push eax
push 0x5103a4
lea esi, [esp + 0x18]
call fcn.00402ff0
add esp, 8
test bl, 0x40
je 0x41900f
mov eax, dword [edi + 0xc]
push 1
push eax
mov eax, dword [esp + 0x34]
call fcn.004420a0
push eax
push 0x515cbc
lea esi, [esp + 0x20]
call fcn.00402ff0
add esp, 0x10
test ebx, 0x400
je 0x419038
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x2c]
push 1
push ecx
call fcn.004420a0
push eax
push 0x515cbc
lea esi, [esp + 0x20]
call fcn.00402ff0
add esp, 0x10
test ebx, 0x800
je 0x4190a0
cmp dword [0x5426d0], 3
jb 0x4190a0
push 0x28000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x4190a0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41908b
cmp dword [esp + 0x18], ebp
jl 0x41908b
mov edx, dword [esp + 0x14]
add eax, edx
jmp 0x41908d
push 0x2000
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x418ee3
jmp fcn.00408a80
xor eax, eax
push eax
push str.MANAGEMENT:__s
push 0x28000003
call fcn.00408640
add esp, 0xc
test bl, bl
jns 0x4190b5
push 0x5103c8
lea esi, [esp + 0x14]
call fcn.00402ff0
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4190d0
cmp dword [esp + 0x18], ebp
jl 0x4190d0
mov ecx, dword [esp + 0x14]
add eax, ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4190e0
Capabilities:
Terminate process

Disassembly:
push ecx
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov eax, edi
mov ecx, 0x18
mul ecx
cmp edi, 0xffffffff
push ebx
push ebp
mov dword [esi + 8], edi
mov ebx, eax
mov ebp, edx
ja 0x41910b
test ebp, ebp
ja 0x41910b
cmp eax, 0xffffffff
jbe 0x419128
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x419128
push str.attemped_allocation_of_excessively_large_array
push 0x10
call fcn.00408640
add esp, 8
mov eax, ebx
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
mov dword [esi + 0xc], eax
jne 0x419140
jmp fcn.00408a80
cmp edi, 0xffffffff
ja 0x41914e
test ebp, ebp
ja 0x41914e
cmp ebx, 0xffffffff
jbe 0x41916b
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41916b
push str.attemped_allocation_of_excessively_large_array
push 0x10
call fcn.00408640
add esp, 8
mov edx, dword [esi + 0xc]
push ebx
push 0
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
pop ebp
pop ebx
pop ecx
ret
Function at 0x419250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
push esi
push edi
jl 0x419268
cmp eax, dword [ebx + 8]
jle 0x41928f
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41928f
push 0xb69
push str..manage.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov ecx, dword [ebx + 4]
mov edi, dword [ebx + 8]
cmp ecx, edi
mov eax, dword [ebx]
jne 0x419326
mov ecx, dword [ebx + 0xc]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*8]
mov eax, dword [esi + 8]
test eax, eax
je 0x4192b9
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [ebx]
test eax, eax
mov edi, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [esp + 0xc], ecx
jl 0x4192ee
cmp eax, edi
jge 0x4192ee
mov edx, edi
neg edx
cmp edx, 1
jg 0x4192ee
cmp edi, 1
jge 0x419316
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x419312
push 0x5e
push str.d:_vpndwopenvpndwopenvpndwopenvpninteger.h
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov ecx, dword [esp + 0xc]
cmp ecx, edi
jl 0x41931c
sub ecx, edi
test ecx, ecx
jge 0x419322
add ecx, edi
mov dword [ebx], ecx
jmp 0x419338
call fcn.004348f0
mov ecx, dword [ebx + 0xc]
add dword [ebx + 4], 1
lea eax, [eax + eax*2]
lea esi, [ecx + eax*8]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x10], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x14], ecx
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4193ac
lea edx, [eax + 1]
jmp 0x419370
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x419370
sub eax, edx
lea ebx, [eax + 1]
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x419393
jmp fcn.00408a80
mov edx, dword [esp + 0xc]
push ebx
push edx
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov dword [esi + 8], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [esi + 8], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret