Function at 0x412f70
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ebx, eax
mov eax, dword [ebp + 0x570]
xor esi, esi
cmp eax, 4
push edi
je 0x412f98
cmp eax, 3
je 0x412f98
mov dword [esp + 0x18], esi
mov edi, 1
jmp 0x412fa1
mov edi, 1
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 0x57c]
mov dword [ebp + 0x660], esi
mov dword [eax], esi
mov ecx, dword [ebp + 0x57c]
mov dword [ecx + 8], esi
mov edx, dword [ebp + 0x57c]
push ebp
mov dword [esp + 0x14], esi
mov dword [edx + 4], esi
call fcn.0040f460
add esp, 4
cmp dword [ebp + 0x34], edi
jne 0x412ff0
mov eax, dword [ebp + 0x570]
cmp eax, edi
jne 0x412fe3
mov dword [esp + 0x10], edi
jmp 0x412ff0
cmp eax, 4
jne 0x412ff0
mov dword [esp + 0x10], 2
cmp dword [ebp + 0x56c], esi
je 0x41301d
cmp dword [ebp + 0xe0], esi
je 0x41301d
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x41301d
push str.WARNING:_mlockall_call_failed__function_not_implemented_
push 0x40
call fcn.00408640
add esp, 8
mov eax, dword [ebp + 0x570]
cmp eax, esi
je 0x41302b
cmp eax, edi
jne 0x41305b
cmp dword [ebp + 0x56c], esi
jne 0x41303c
mov ecx, ebp
call fcn.00410eb0
jmp 0x413049
cmp dword [0x5426b0], esi
je 0x413049
call fcn.00418be0
mov eax, dword [ebp + 0x57c]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4134b6
xor esi, esi
mov edi, 1
cmp dword [0x53c210], edi
jne 0x413074
mov edi, ebp
call fcn.0040f570
mov edi, 1
mov edx, dword [0x5426d0]
xor eax, eax
add edx, 0xfffffffb
cmp eax, edx
sbb eax, eax
add eax, 1
mov dword [ebp + 0x8e4], eax
mov eax, dword [ebp + 0x570]
cmp eax, esi
jne 0x41309e
mov dword [0x5426c8], esi
jmp 0x4130a2
cmp eax, edi
jne 0x4130b0
mov esi, ebp
call fcn.00411bf0
xor esi, esi
mov edi, 1
cmp ebx, esi
je 0x4130e4
push 8
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
cmp eax, esi
jne 0x4130c8
jmp fcn.00408a80
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [ebp + 0x950], eax
push eax
mov eax, ebx
mov dword [ebp + 0x954], edi
call fcn.0041a4d0
add esp, 4
mov eax, dword [ebp + 0x570]
cmp eax, esi
je 0x4130f2
cmp eax, edi
jne 0x4130ff
push 2
push esi
mov eax, ebp
call fcn.00412be0
add esp, 8
mov eax, dword [ebp + 0x570]
cmp eax, esi
je 0x41310d
cmp eax, edi
jne 0x413138
cmp dword [ebp + 0x208], esi
je 0x413138
cmp dword [0x5426d0], edi
jb 0x413138
push edi
call fcn.00408960
add esp, 4
test eax, eax
je 0x413138
push str.NOTE:___fast_io_is_disabled_since_we_are_running_on_Windows
push edi
call fcn.00408640
add esp, 8
mov ecx, dword [ebp + 0x554]
mov eax, dword [ebp + 0x570]
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, edi
cmp eax, esi
mov dword [ebp + 0x800], ecx
je 0x41315b
cmp eax, edi
jne 0x413164
push ebp
call fcn.004129f0
add esp, 4
cmp dword [ebp + 0x570], edi
jne 0x41319a
cmp dword [ebp + 0x644], esi
jne 0x41319a
mov eax, dword [ebp + 0x2bc]
cmp eax, esi
je 0x41319a
mov edx, dword [ebp + 0x2c0]
push edx
push eax
call fcn.00438660
add esp, 8
mov dword [ebp + 0x644], eax
mov dword [ebp + 0x648], edi
mov eax, dword [ebp + 0x570]
cmp eax, esi
je 0x4131aa
cmp dword [esp + 0x18], esi
je 0x4131b4
mov dword [ebp + 0x78c], 0xffffffff
cmp eax, esi
jne 0x4131d8
cmp dword [ebp + 0xb8], esi
lea ecx, [ebp + 0x668]
mov dword [ecx], 4
mov eax, 2
je 0x4131ea
mov eax, 3
jmp 0x4131ea
cmp eax, 4
jne 0x4131fb
lea ecx, [ebp + 0x668]
mov dword [ecx], eax
mov eax, 2
call fcn.00409fb0
mov dword [ebp + 0x66c], edi
mov dword [ebp + 0x664], eax
cmp dword [ebp + 0x80], esi
je 0x41320a
mov eax, ebp
call fcn.0040f640
mov eax, dword [ebp + 0x570]
cmp eax, esi
je 0x41321d
cmp eax, edi
je 0x41321d
cmp eax, 4
jne 0x413229
mov edi, ebp
call fcn.004122a0
mov edi, 1
cmp dword [ebp + 0xdc], esi
je 0x413255
cmp dword [ebp + 0x570], esi
je 0x41323f
cmp dword [esp + 0x18], esi
je 0x413255
lea edi, [ebp + 0x698]
call fcn.0040d5e0
mov dword [ebp + 0x6b8], eax
mov edi, 1
mov eax, dword [ebp + 0x570]
xor ecx, ecx
cmp eax, edi
jne 0x413268
mov ecx, 4
jmp 0x41327e
cmp eax, esi
jne 0x413273
mov ecx, 3
jmp 0x41327e
cmp dword [esp + 0x18], esi
je 0x41327e
mov ecx, 2
cmp dword [ebp + 0x34c], esi
je 0x413290
push ecx
mov ecx, ebp
call fcn.00411020
jmp 0x4132b1
cmp dword [ebp + 0x394], esi
jne 0x4132a9
cmp dword [ebp + 0x398], esi
jne 0x4132a9
mov eax, ebp
call fcn.00411a00
jmp 0x4132b4
push ecx
mov eax, ebp
call fcn.004114f0
add esp, 4
mov eax, dword [ebp + 0x57c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4132cc
cmp dword [esp + 0x18], esi
je 0x4134b6
xor esi, esi
mov eax, dword [ebp + 0x20c]
test al, 1
je 0x4132f3
cmp dword [ebp + 0x570], esi
je 0x4132e4
cmp dword [esp + 0x18], esi
je 0x4132f3
push eax
lea esi, [ebp + 0x860]
call fcn.004145a0
add esp, 4
mov ebx, ebp
call fcn.00411a60
call fcn.00411920
mov eax, dword [ebp + 0x570]
test eax, eax
je 0x41330e
cmp eax, 4
jne 0x413329
lea ebx, [ebp + 0x698]
call fcn.00411f70
mov dword [ebp + 0x8a8], eax
mov dword [ebp + 0x8ac], 1
cmp dword [ebp + 0xdc], 0
je 0x413349
cmp dword [ebp + 0x570], 0
je 0x413342
cmp dword [esp + 0x18], 0
je 0x413349
mov edi, ebp
call fcn.00412230
mov eax, dword [ebp + 0x11c]
test eax, eax
je 0x413363
push 2
lea esi, [ebp + 0x698]
call fcn.0041e960
add esp, 4
mov eax, dword [ebp + 0x570]
test eax, eax
je 0x413377
cmp eax, 1
je 0x413377
cmp eax, 4
jne 0x413382
mov edi, dword [esp + 0x10]
mov eax, ebp
call fcn.00412320
cmp dword [ebp + 0x1d0], 0
jne 0x4133b2
cmp dword [ebp + 0x334], 0
jne 0x4133b2
mov eax, dword [ebp + 0x570]
test eax, eax
je 0x4133a3
cmp eax, 1
jne 0x4133b2
push ebp
call fcn.00410280
add esp, 4
mov dword [ebp + 0x908], eax
lea esi, [ebp + 0x698]
push str.Data_Channel_MTU_parms
push 0x15000002
mov eax, esi
call fcn.0041ea20
add esp, 8
cmp dword [ebp + 0x6b8], 0
je 0x4133ed
push str.Fragmentation_MTU_parms
push 0x15000002
lea eax, [ebp + 0x6bc]
call fcn.0041ea20
add esp, 8
cmp dword [ebp + 0x570], 0
je 0x4133fd
cmp dword [esp + 0x18], 0
je 0x413404
mov ecx, ebp
call fcn.004123c0
cmp dword [ebp + 0x570], 0
jne 0x413414
mov ecx, ebp
call fcn.0040fdf0
mov eax, ebp
call fcn.00412650
mov eax, dword [ebp + 0x570]
test eax, eax
je 0x41342a
cmp eax, 1
jne 0x413438
push 3
push 0
mov eax, ebp
call fcn.00412be0
add esp, 8
mov ebx, dword [ebp + 0x908]
mov eax, ebp
call fcn.0040f9d0
mov eax, dword [ebp + 0x570]
test eax, eax
je 0x413459
cmp eax, 1
je 0x413459
cmp eax, 4
jne 0x413471
mov edx, dword [ebp + 0x57c]
mov eax, dword [ebp + 0x674]
push edx
push eax
mov eax, esi
call fcn.00440c50
add esp, 8
cmp dword [ebp + 0x570], 0
je 0x413481
cmp dword [esp + 0x18], 0
je 0x41348d
push 0
mov esi, ebp
call fcn.0040fc10
add esp, 4
mov eax, dword [ebp + 0x570]
test eax, eax
je 0x41349c
cmp eax, 1
jne 0x4134aa
push 4
push 0
mov eax, ebp
call fcn.00412be0
add esp, 8
mov ecx, dword [ebp + 0x57c]
mov edx, dword [ecx]
test edx, edx
je 0x4134db
mov eax, dword [ebp + 0x57c]
cmp dword [eax + 8], 0
jne 0x4134c9
mov dword [eax + 8], str.init_instance
mov eax, dword [esp + 0x1c]
push eax
or edi, 0xffffffff
mov esi, ebp
call fcn.00413a30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret