Function at 0x41fac0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [0x5426d0], 3
push ebx
push esi
push edi
jb 0x41fb0b
push 0x26000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x41fb0b
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x2c8]
mov ecx, dword [esi + 0x2c4]
push eax
push ecx
push str.MULTI:_multi_init_called__r_d_v_d
push 0x26000003
call fcn.00408640
add esp, 0x10
jmp 0x41fb0e
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 0x98]
mov ebx, dword [esi + 0x94]
mov esi, 0x513534
call fcn.0044ccb0
test eax, eax
je 0x41fb32
mov dword [esp + 0x10], 2
jmp 0x41fb5e
mov esi, 0x522c94
call fcn.0044ccb0
test eax, eax
je 0x41fb4a
mov dword [esp + 0x10], 3
jmp 0x41fb5e
mov esi, str.null
call fcn.0044ccb0
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 8]
push 0xa88
push 0
push esi
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x20]
add esp, 0xc
push edx
mov eax, 4
mov dword [esi], 1
call fcn.004078a0
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jge 0x41fb97
neg eax
mov dword [esp + 0x14], eax
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebx + 0x2c4]
call fcn.00413d80
mov dword [esi + 4], eax
lea eax, [esp + 0x18]
add esp, 4
push eax
mov eax, 4
call fcn.004078a0
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jge 0x41fbcc
neg eax
mov dword [esp + 0x14], eax
push eax
mov eax, dword [ebx + 0x2c8]
call fcn.00413d80
lea ecx, [esp + 0x18]
add esp, 4
mov dword [esi + 8], eax
push ecx
mov eax, 4
call fcn.004078a0
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jge 0x41fbfe
neg eax
mov dword [esp + 0x14], eax
push eax
mov eax, 1
call fcn.00413d80
add esp, 4
push 0xc
mov dword [esi + 0xc], eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x41fc23
jmp fcn.00408a80
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [esi + 0x10], eax
mov edi, dword [ebx + 0x318]
mov ebx, dword [ebx + 0x314]
call fcn.004346d0
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov edx, dword [edi + 0x2e8]
push edx
call fcn.004194c0
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x200]
add esp, 4
mov dword [esi + 0x50], eax
cmp dword [edi + 0x2ac], 0
je 0x41fd0a
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x41fc9a
mov ecx, dword [edi + 0x310]
mov eax, dword [edi + 0x2b4]
push ecx
mov ecx, dword [edi + 0x2b0]
push 1
call fcn.00437ff0
add esp, 8
mov dword [esi + 0x1c], eax
jmp 0x41fcf3
cmp eax, 2
jne 0x41fccc
mov edx, dword [edi + 0x310]
mov ecx, dword [edi + 0x2b0]
xor eax, eax
cmp dword [edi + 0xa4], 1
push edx
setne al
push eax
mov eax, dword [edi + 0x2b4]
call fcn.00437ff0
add esp, 8
mov dword [esi + 0x1c], eax
jmp 0x41fcf3
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41fcf3
push 0x150
push str..multi.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov eax, dword [edi + 0x644]
test eax, eax
je 0x41fd0a
mov ecx, dword [esi + 0x1c]
push ecx
push eax
call fcn.00438a50
add esp, 8
push 0xac
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x41fd23
jmp fcn.00408a80
push 0xac
push 0
push ebx
call sub.MSVCR80.dll_memset
mov dword [ebx + 4], 0x3c
mov dword [esi + 0x24], ebx
mov eax, dword [edi + 0x2c8]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add esp, 0xc
cmp eax, 0x10
jge 0x41fd5b
mov ebx, 0x10
jmp 0x41fd69
cmp eax, 0x400
mov ebx, 0x400
jg 0x41fd69
mov ebx, eax
push 0x10
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x41fd7d
jmp fcn.00408a80
mov edx, dword [0x5424f0]
mov ecx, dword [0x5424f4]
mov dword [eax], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
cmp dword [edi + 0x620], eax
jne 0x41fdde
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x41fdde
push 0x166
push str..multi.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov edx, dword [edi + 0x620]
mov eax, dword [edx + 0xa4]
push eax
mov byte [esi + 0x2e], 2
mov byte [esi + 0x2f], 0
mov byte [esi + 0x2c], 4
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [ebp + 0x10], 0
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x31c]
lea eax, [esi + 0x48]
mov dword [eax], ecx
je 0x41fe23
push eax
mov eax, dword [edi + 0x31c]
call fcn.0041d700
add esp, 4
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x2ec]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x30c]
pop edi
mov dword [esi + 0x44], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret