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

Disassembly:
sub esp, 0x44
mov eax, dword [0x45a080]
xor eax, esp
mov dword [esp + 0x40], eax
movups xmm0, xmmword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
xor edi, edi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x19], 0
movups xmmword [esp + 0x40], xmm0
test esi, esi
je 0x409231
cmp dword [esi + 0x1100], 0xc0dedbad
jne 0x409231
xor ebp, ebp
mov byte [esp + 0x12], 0
cmp dword [esi + 8], ebp
jne 0x407f9e
mov eax, dword [esi + 0x24]
cmp eax, 2
jle 0x407f9e
cmp eax, 0xe
jl 0x4091f2
mov al, byte [ebx + 0x79]
mov byte [ebx + 0x79], 0
test al, al
je 0x407ffa
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
test eax, eax
je 0x407ffa
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x407fd0
push ebx
mov dword [ebx + 0x24], 2
call fcn.0041a490
mov eax, dword [esp + 0x24]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x24]
add eax, 0x24
push eax
call fcn.0041bda0
push 7
push 0
push 0
push ebx
call fcn.00406710
mov byte [ebx + 0x1001], 1
add esp, 0x1c
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
mov ecx, eax
test eax, eax
je 0x408015
mov edx, dword [esi + 0x24]
cmp edx, 2
jle 0x408015
cmp edx, 0xf
jge 0x408015
mov dword [eax], esi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x408179
mov ecx, dword [esi + 0x24]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x408179
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00416780
add esp, 0xc
test edx, edx
jg 0x408179
jl 0x408056
test eax, eax
jae 0x408179
mov eax, dword [esi + 0x24]
movups xmm0, xmmword [esi + 0xb98]
cmp eax, 3
jne 0x408094
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
call fcn.0041bb50
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.00415020
add esp, 0x30
jmp 0x40814b
cmp eax, 4
jne 0x4080c8
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
call fcn.0041bb50
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.00415020
add esp, 0x30
jmp 0x40814b
mov edx, dword [esi + 0x88]
mov eax, edx
mov ecx, dword [esi + 0x8c]
and eax, ecx
mov ebx, dword [esi + 0x98]
mov edi, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x40811c
push ecx
push edx
push edi
push ebx
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax], xmm0
call fcn.0041bb50
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.00415020
add esp, 0x20
jmp 0x40814b
push edi
push ebx
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax], xmm0
call fcn.0041bb50
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.00415020
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x408163
push 2
push dword [esi + 8]
call fcn.00415ce0
add esp, 8
mov byte [esp + 0x12], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.00407a40
add esp, 0xc
jmp case.0x408185.1
mov ecx, dword [esi + 0x24]
cmp ecx, 0x10
ja case.default.0x408185
jmp dword [ecx*4 + 0x40924c]
push esi
call fcn.0041a520
mov edi, eax
add esp, 4
test edi, edi
jne case.0x408185.1
cmp dword [esi + 0x24], 2
je 0x4081b5
push esi
mov dword [esi + 0x24], 2
call fcn.0041a490
add esp, 4
push 1
push esi
call fcn.004226b0
add esp, 8
or ebp, 0xffffffff
jmp case.0x408185.1
push 2
push esi
call fcn.004226b0
mov eax, dword [esi + 0x640]
add esp, 8
test eax, eax
je 0x4081eb
push 9
cdq
push edx
push eax
push esi
call fcn.00406710
add esp, 0x10
mov eax, dword [esi + 0x644]
test eax, eax
je 0x408203
push 2
cdq
push edx
push eax
push esi
call fcn.00406710
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x2e]
push eax
push esi
call fcn.00410cd0
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x408245
cmp dword [esi + 0x24], 1
je 0x40822a
mov dword [esi + 0x24], 1
lea eax, [esi + 0xc]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.0041bd30
add esp, 0x10
xor edi, edi
jmp case.0x408185.1
cmp byte [esi + 0x1001], 0
je 0x4082ae
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.00415100
mov eax, dword [esi + 0x78]
add esp, 8
add eax, 0x24
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4082ae
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x40828c
push ebx
mov dword [ebx + 0x24], 2
call fcn.0041a490
mov eax, dword [esp + 0x24]
add esp, 4
push 0
push eax
push dword [esp + 0x34]
call fcn.0041bda0
push 7
push 0
push 0
push ebx
call fcn.00406710
add esp, 0x1c
mov byte [ebx + 0x1001], 1
test edi, edi
jne case.0x408185.1
cmp byte [esp + 0x2a], 0
je 0x4082d3
cmp dword [esi + 0x24], 3
je case.0x408185.1
mov dword [esi + 0x24], 3
jmp case.0x408185.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x4082f9
cmp dword [esi + 0x24], 8
je case.0x408185.1
push esi
mov dword [esi + 0x24], 8
call fcn.00419a10
jmp 0x40901e
push dword [esi + 8]
call fcn.00419a40
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x408320
cmp ecx, 5
je case.0x408185.1
mov dword [esi + 0x24], 5
jmp case.0x408185.1
cmp ecx, 4
je case.0x408185.1
mov dword [esi + 0x24], 4
jmp case.0x408185.1
mov edi, dword [esi + 8]
mov dword [esp + 0x14], ebp
cmp byte [edi + 0x2aa], 0
je 0x40834d
mov ebx, dword [edi + 0xe4]
jmp 0x408364
cmp byte [edi + 0x2a7], 0
je 0x40835e
mov ebx, dword [edi + 0xb4]
jmp 0x408364
mov ebx, dword [edi + 0x9c]
push dword [edi + 0xfc]
push ebx
push edi
call fcn.0041c4e0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4083a0
push ebx
push 0x44c620
mov dword [edi + 0x4ac], eax
mov byte [edi + 0x4b8], 1
xor edi, edi
push esi
call fcn.00415100
add esp, 0xc
cmp dword [esp + 0x14], edi
jne 0x4083b2
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.0041cd90
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x20]
call fcn.00409380
add esp, 8
cmp dword [esp + 0x14], ebp
je 0x4083e2
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.0041cb00
mov edi, eax
add esp, 8
test edi, edi
je 0x4082d3
mov dword [esi + 8], ebp
test edi, edi
je case.0x408185.1
mov byte [esp + 0x12], 1
jmp case.0x408185.1
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.0041efb0
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x2bc], 0
je 0x40843e
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
call fcn.00407a40
add esp, 0xc
cmp dword [esi + 0x24], 2
je case.0x408185.1
push esi
mov dword [esi + 0x24], 2
call fcn.0041a490
jmp 0x40901e
test edi, edi
jne 0x4083ea
cmp dword [eax + 0xf0], 2
jne 0x408458
cmp byte [eax + 0x2a0], 0
je case.0x408185.1
push eax
call fcn.004199f0
add esp, 4
test al, al
je case.0x408185.1
or ebp, 0xffffffff
cmp dword [esi + 0x24], 6
je case.0x408185.1
mov dword [esi + 0x24], 6
jmp case.0x408185.1
lea eax, [esp + 0x2b]
push eax
push 0
push dword [esi + 8]
call fcn.00415ee0
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x2b], 0
je 0x408521
test edi, edi
jne 0x408529
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x4084be
cmp byte [eax + 0x2a0], 0
je 0x4084cb
push eax
call fcn.00419a40
add esp, 4
test al, al
je 0x4084e1
cmp dword [esi + 0x24], 5
je case.0x408185.1
mov dword [esi + 0x24], 5
jmp case.0x408185.1
mov eax, dword [esi + 8]
or ebp, 0xffffffff
mov cl, byte [eax + 0x2b3]
xor eax, eax
test cl, cl
sete al
add eax, 5
cmp dword [esi + 0x24], eax
je case.0x408185.1
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x44c45c]
test eax, eax
je case.0x408185.1
push esi
call eax
jmp 0x40901e
test edi, edi
je case.0x408185.1
push esi
call fcn.0040b890
push 1
push edi
push esi
call fcn.00407a40
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x408185.1
mov edi, dword [esi + 8]
xor cl, cl
xor ebx, ebx
mov byte [esp + 0x11], cl
cmp byte [edi + 0x2a2], cl
je 0x40857f
cmp byte [edi + 0x2b1], cl
je 0x40858b
mov eax, dword [edi + 0x2e8]
movzx ecx, cl
cmp dword [eax + 0x18], ebx
mov eax, 1
cmove ecx, eax
xor edi, edi
mov byte [esp + 0x11], cl
jmp 0x40860b
cmp byte [edi + 0x2b1], cl
jne 0x408605
push 0
push edi
call fcn.00419ad0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4085a0
mov edi, eax
jmp 0x408607
cmp dword [edi + 0xf0], 2
jne 0x4085b6
cmp byte [edi + 0x2a0], 0
jne 0x4085b6
xor edi, edi
jmp 0x40860b
cmp byte [edi + 0x2b3], 0
je 0x4085d9
cmp byte [edi + 0x2aa], 0
je 0x4085d9
push edi
call fcn.00419a40
add esp, 4
test al, al
je 0x4085d9
xor edi, edi
jmp 0x40860b
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4085f9
lea ecx, [esp + 0x11]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4085fe
jmp 0x408605
mov byte [esp + 0x11], 1
mov byte [edi + 0x2b1], 1
mov edi, ebx
test ebx, ebx
jne 0x408646
cmp byte [esp + 0x11], 0
jne 0x408628
cmp dword [esi + 0x24], 7
je case.0x408185.1
mov dword [esi + 0x24], 7
jmp case.0x408185.1
cmp dword [esi + 0x24], 8
je 0x40863e
push esi
mov dword [esi + 0x24], 8
call fcn.00419a10
add esp, 4
or ebp, 0xffffffff
jmp case.0x408185.1
push esi
call fcn.0040b890
push 1
push ebx
push esi
call fcn.00407a40
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x408185.1
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
je 0x40869a
mov eax, dword [ecx + 0x2e8]
cmp dword [eax + 0x18], edi
je 0x40869a
mov byte [esp + 0x11], 0
lea edx, [esp + 0x11]
mov eax, dword [ecx + 0x2e8]
push edx
push ecx
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x24]
mov edi, eax
mov al, byte [esp + 0x19]
add esp, 8
jmp 0x4086a5
mov al, 1
mov ecx, 7
mov byte [esp + 0x11], al
test edi, edi
jne 0x408529
test al, al
je case.0x408185.1
cmp ecx, 8
jmp 0x40862c
cmp byte [esi + 0xad5], 0
je 0x4086ea
push 0
push dword [esi + 8]
call fcn.00415ce0
add esp, 8
cmp dword [esi + 0x24], 0xe
je 0x4086e0
mov dword [esi + 0x24], 0xe
xor edi, edi
or ebp, 0xffffffff
jmp case.0x408185.1
mov ebx, dword [esi + 8]
xor edi, edi
mov eax, dword [ebx + 0x2e8]
mov eax, dword [eax + 8]
test eax, eax
je 0x40872c
lea ecx, [esp + 0x13]
push ecx
push ebx
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x4087c4
cmp byte [esp + 0x13], al
je 0x40872c
mov eax, dword [ebx]
push 6
mov byte [eax + 0x58d], 0
push dword [ebx]
call fcn.004226b0
add esp, 8
test edi, edi
jne 0x4087c4
cmp byte [esp + 0x13], 0
jne 0x40878a
cmp byte [esi + 0xffb], 0
je 0x408776
mov eax, dword [esi + 0x1008]
cmp eax, 7
je 0x408754
cmp eax, 5
jne 0x408776
push 0
push 0
push esi
call fcn.00407a40
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x40876e
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x408185.1
cmp dword [esi + 0x24], 9
je 0x408783
mov dword [esi + 0x24], 9
xor ebp, ebp
jmp case.0x408185.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x2b0], 0
je 0x4087ac
cmp ecx, 0xa
je 0x4087a5
mov dword [esi + 0x24], 0xa
xor ebp, ebp
jmp case.0x408185.1
cmp ecx, 0xb
je 0x40863e
mov dword [esi + 0x24], 0xb
or ebp, 0xffffffff
jmp case.0x408185.1
cmp edi, 0x37
jne 0x408879
mov eax, dword [esi + 8]
cmp byte [eax + 0x2a5], 0
je 0x408879
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push ecx
push eax
call fcn.0041abd0
add esp, 8
test eax, eax
je 0x4087fa
mov edi, eax
mov byte [esp + 0x12], 1
push esi
call fcn.0040b890
push 0
push edi
push esi
call fcn.00407a40
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
je 0x408868
test eax, eax
je 0x40882b
cmp eax, 0x37
je 0x40882b
push ecx
mov edi, eax
call dword [0x45a004]
jmp 0x40901e
push 2
push ecx
push esi
call fcn.0041a1d0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x408858
cmp dword [esi + 0x24], 2
je 0x408853
push esi
mov dword [esi + 0x24], 2
call fcn.0041a490
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x45a004]
jmp 0x40901e
push ecx
mov byte [esp + 0x16], 1
call dword [0x45a004]
jmp 0x40901e
push esi
call fcn.0040b890
add esp, 4
cmp dword [esi + 8], ebp
je 0x408893
push 0
push edi
push esi
call fcn.00407a40
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x408185.1
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
je 0x4088d1
mov eax, dword [ecx + 0x2e8]
cmp dword [eax + 0x1c], edi
je 0x4088d1
mov byte [esp + 0x13], 0
lea edx, [esp + 0x13]
mov eax, dword [ecx + 0x2e8]
push edx
push ecx
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x24]
add esp, 8
mov edi, eax
jmp 0x4088db
mov byte [esp + 0x13], 1
mov edx, 9
test edi, edi
jne 0x40892c
cmp byte [esp + 0x13], 0
je case.0x408185.1
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x2b0]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x40863e
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x44c470]
test eax, eax
je 0x40863e
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x408185.1
push esi
call fcn.0040b890
push 0
push edi
push esi
call fcn.00407a40
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x408185.1
mov ebx, dword [esi + 8]
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor edi, edi
mov eax, dword [ebx + 0x2e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x408993
lea ecx, [esp + 0x34]
push ecx
push ebx
call eax
mov ecx, dword [esp + 0x3c]
mov edi, eax
add esp, 8
test edi, edi
jne 0x40892c
cmp ecx, 1
jne 0x408993
mov eax, dword [ebx]
push 6
mov byte [eax + 0x58d], 0
push dword [ebx]
call fcn.004226b0
mov ecx, dword [esp + 0x3c]
add esp, 8
test edi, edi
jne 0x40892c
test ecx, ecx
je 0x408783
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp dword [esi + 0x24], eax
je 0x40863e
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x44c448]
test eax, eax
je 0x40863e
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x408185.1
mov eax, dword [esi + 8]
mov edx, 0xb
cmp byte [eax + 0x2bf], 0
je 0x408a36
mov ebp, dword [ebx + 0x24]
test ebp, ebp
je 0x408a36
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x408a08
push ebx
mov dword [ebx + 0x24], 2
call fcn.0041a490
add esp, 4
mov eax, dword [esp + 0x1c]
push 0
add eax, 0x24
push ebp
push eax
call fcn.0041bda0
push 7
push 0
push 0
push ebx
call fcn.00406710
mov byte [ebx + 0x1001], 1
add esp, 0x1c
mov edx, dword [esi + 0x24]
mov ecx, edx
mov eax, dword [esi + 8]
cmp dword [eax + 0x30c], 0xffffffff
jne 0x408a7e
cmp dword [eax + 0x310], 0xffffffff
jne 0x408a7e
cmp byte [esi + 0xffb], 0
je 0x408a6a
mov eax, dword [eax + 0x2e8]
test dword [eax + 0x44], 0x1000
jne 0x408a6a
mov dword [esi + 0x1008], 7
cmp ecx, 0xe
je 0x408a8a
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x408185.1
cmp edx, 0xc
je 0x408a8a
mov dword [esi + 0x24], 0xc
or ebp, 0xffffffff
jmp case.0x408185.1
push dword [esi + 8]
call fcn.004227e0
add esp, 4
test eax, eax
je 0x408aab
mov edi, 0x2a
jmp case.0x408185.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004236d0
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x408185.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x20], xmm0
test edx, edx
jl 0x408b30
jg 0x408aea
test ecx, ecx
je 0x408b30
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xbc8]
push edx
push ecx
push dword [esi + 0xbdc]
movups xmmword [eax], xmm0
push dword [esi + 0xbd8]
push dword [esi + 0xb2c]
push dword [esi + 0xb28]
call fcn.004222f0
add esp, 0x38
mov dword [esp + 0x14], edx
mov ebx, eax
jmp 0x408b3c
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0x67c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x678]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x408b9d
jg 0x408b5b
test ecx, ecx
je 0x408b9d
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xbe0]
push edx
push ecx
push dword [esi + 0xbf4]
movups xmmword [eax], xmm0
push dword [esi + 0xbf0]
push dword [esi + 0xb24]
push dword [esi + 0xb20]
call fcn.004222f0
add esp, 0x38
mov ecx, eax
jmp 0x408ba5
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
or eax, dword [esp + 0x14]
jne 0x408bdb
mov eax, ecx
or eax, edx
jne 0x408bdb
cmp dword [esi + 0x24], 0xc
je 0x408bc0
mov dword [esi + 0x24], 0xc
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00422980
add esp, 0x14
jmp case.0x408185.1
mov eax, dword [esp + 0x14]
cmp eax, edx
jl 0x408bfb
jg 0x408be9
cmp ebx, ecx
jb 0x408bfb
push 0xa
push eax
push ebx
push esi
call fcn.00406710
add esp, 0x10
jmp case.0x408185.1
push 0xa
push edx
push ecx
push esi
call fcn.00406710
add esp, 0x10
jmp case.0x408185.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
movlpd qword [esp + 0x20], xmm0
test edx, edx
jl 0x408c80
jg 0x408c3a
test ecx, ecx
je 0x408c80
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xbc8]
push edx
push ecx
push dword [esi + 0xbdc]
movups xmmword [eax], xmm0
push dword [esi + 0xbd8]
push dword [esi + 0xb2c]
push dword [esi + 0xb28]
call fcn.004222f0
add esp, 0x38
mov dword [esp + 0x38], edx
mov ebx, eax
jmp 0x408c8c
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov edx, dword [esi + 0x67c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x678]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x408cf1
jg 0x408cab
test ecx, ecx
je 0x408cf1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xbe0]
push edx
push ecx
push dword [esi + 0xbf4]
movups xmmword [eax], xmm0
push dword [esi + 0xbf0]
push dword [esi + 0xb24]
push dword [esi + 0xb20]
call fcn.004222f0
add esp, 0x38
mov dword [esp + 0x2c], eax
mov ecx, eax
jmp 0x408cfd
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov eax, ebx
mov dword [esp + 0x20], edx
or eax, dword [esp + 0x38]
jne 0x408ec4
mov eax, ecx
or eax, edx
jne 0x408ec4
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x1d]
push eax
push esi
push dword [esi + 8]
call fcn.0041a8a0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x19], 0
jne 0x408d76
cmp edi, 0x38
je 0x408d76
cmp edi, 0x5c
jne 0x408da4
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2e8]
test byte [eax + 0x44], 2
jne 0x408d5f
cmp edi, 0x5c
je 0x408d5f
push 2
push ecx
call fcn.00415ce0
add esp, 8
push esi
call fcn.0040b890
push 1
push edi
push esi
call fcn.00407a40
add esp, 0x10
jmp case.0x408185.1
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.0041abd0
add esp, 8
test eax, eax
jne 0x408d9e
cmp dword [esp + 0x14], ebp
setne bl
test bl, bl
je 0x408da8
xor edi, edi
mov byte [esp + 0x19], 1
jmp 0x408db7
test edi, edi
jne 0x408d40
mov edi, eax
mov bl, byte [esp + 0x1a]
test edi, edi
jne 0x408d40
cmp byte [esp + 0x19], 0
je 0x408eb1
push esi
call fcn.0040b890
add esp, 4
test bl, bl
jne 0x408e66
cmp dword [esi + 0x140], ebp
jne 0x408e42
cmp dword [esi + 0x13c], ebp
je 0x408e29
push dword [esp + 0x14]
call dword [0x45a004]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x13c], ebp
call fcn.0041a1d0
push dword [esp + 0x24]
mov edi, eax
call dword [0x45a004]
add esp, 0x14
test edi, edi
je 0x408e29
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.00407a40
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x408185.1
cmp dword [esi + 0x24], 0xe
je 0x40876e
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x408185.1
push dword [esp + 0x14]
call dword [0x45a004]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x14], eax
mov edi, 3
mov dword [esi + 0x140], ebp
jmp 0x408e6b
mov edi, 2
push 0
push 0
push esi
call fcn.00407a40
push edi
push dword [esp + 0x24]
push esi
call fcn.0041a1d0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x408ea2
cmp dword [esi + 0x24], 2
je 0x408e9f
push esi
mov dword [esi + 0x24], 2
call fcn.0041a490
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x14]
call dword [0x45a004]
jmp 0x40901e
cmp byte [esp + 0x1b], 0
je case.0x408185.1
or ebp, 0xffffffff
jmp case.0x408185.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00422980
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x408ee7
mov dword [esi + 0x24], 0xd
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
cmp eax, edx
jl 0x408f0f
jg 0x408f17
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jb 0x408f13
push 0xa
push eax
push ebx
push esi
call fcn.00406710
add esp, 0x10
jmp case.0x408185.1
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
mov eax, edx
push 0xa
push eax
push ebx
push esi
call fcn.00406710
add esp, 0x10
jmp case.0x408185.1
mov eax, dword [esi + 8]
or ebp, 0xffffffff
test eax, eax
je 0x408fc1
cmp byte [eax + 0x2bf], 0
je 0x408f8d
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
test eax, eax
je 0x408f8d
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x408f67
push ebx
mov dword [ebx + 0x24], 2
call fcn.0041a490
mov eax, dword [esp + 0x24]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x24]
add eax, 0x24
push eax
call fcn.0041bda0
push 7
push 0
push 0
push ebx
call fcn.00406710
add esp, 0x1c
mov byte [ebx + 0x1001], 1
push 0
push edi
push esi
call fcn.00407a40
mov ecx, dword [esi + 8]
add esp, 0xc
test edi, edi
cmove edi, eax
test ecx, ecx
je 0x408fc1
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.0041bda0
add esp, 0xc
mov dword [esi + 8], 0
cmp byte [esi + 0xffb], 0
je 0x408fe2
cmp dword [esi + 0x1008], 7
je 0x408fe2
cmp dword [esi + 0x24], 0
je case.0x408185.1
mov dword [esi + 0x24], 0
jmp case.0x408185.1
cmp dword [esi + 0x24], 0xf
je case.0x408185.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x409011
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.0041bda0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.00406920
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, 0xf
jge 0x409176
test edi, edi
je 0x409114
mov ecx, dword [esp + 0x1c]
add ecx, 0x24
mov dword [esp + 0x20], ecx
mov ebp, dword [ecx]
test ebp, ebp
je 0x409085
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x409063
push ebx
mov dword [ebx + 0x24], 2
call fcn.0041a490
mov ecx, dword [esp + 0x24]
add esp, 4
push 0
push ebp
push ecx
call fcn.0041bda0
push 7
push 0
push 0
push ebx
call fcn.00406710
mov byte [ebx + 0x1001], 1
add esp, 0x1c
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x4090c4
cmp byte [esp + 0x12], 0
je 0x4090d2
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebx + 0x370]
sete byte [esp + 0x44]
push eax
call fcn.0041bda0
push dword [esp + 0x48]
mov dword [esi + 8], 0
push ebx
push esi
call fcn.00410f60
add esp, 0x18
jmp 0x4090d2
cmp eax, 2
jne 0x4090d2
push esi
call fcn.0040b890
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x409173
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x409105
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.0041bda0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.00406920
jmp 0x409170
mov eax, dword [esi + 8]
test eax, eax
je 0x409176
push eax
call fcn.004227e0
add esp, 4
test eax, eax
je 0x409176
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.00415ce0
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x409173
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x40915a
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x44c480]
test eax, eax
je 0x409173
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x24], 0xf
jne 0x4091c3
mov eax, dword [esi + 0xa9c]
test eax, eax
je 0x40918f
push edi
push esi
call eax
add esp, 8
jmp 0x4091b6
lea eax, [esi + 0x2c]
mov dword [eax + 0xc], 1
push eax
push eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.0041bd30
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x24], 0x10
je 0x4091c3
mov dword [esi + 0x24], 0x10
mov ebx, dword [esp + 0x1c]
cmp ebp, 0xffffffff
je 0x407f81
cmp byte [ebx + 0x79], 0
jne 0x407f81
mov dword [esi + 0x28], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044aca5
add esp, 0x44
ret
push eax
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.00415020
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044aca5
add esp, 0x44
ret
mov dword [esi + 0x28], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044aca5
add esp, 0x44
ret
mov ecx, dword [esp + 0x50]
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044aca5
add esp, 0x44
ret