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

Disassembly:
sub esp, 0x44
mov eax, dword [0x100df1f4]
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 + 0x24], ebx
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x1a], 0
movups xmmword [esp + 0x40], xmm0
test esi, esi
je 0x1002c60e
cmp dword [esi + 0x1140], 0xc0dedbad
jne 0x1002c60e
xor ebp, ebp
mov byte [esp + 0x12], 0
cmp dword [esi + 8], ebp
jne 0x1002b2fe
mov eax, dword [esi + 0x24]
cmp eax, 2
jle 0x1002b2fe
cmp eax, 0xe
jl 0x1002c5cf
mov al, byte [ebx + 0xe5]
mov byte [ebx + 0xe5], 0
test al, al
je 0x1002b360
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002b360
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x1002b336
push ebx
mov dword [ebx + 0x24], 2
call fcn.1003eb50
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x24
push eax
call fcn.100404c0
push 7
push 0
push 0
push ebx
call fcn.10029a00
mov byte [ebx + 0x1042], 1
add esp, 0x1c
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 8]
test eax, eax
je 0x1002b4e1
mov ecx, dword [esi + 0x24]
cmp ecx, 2
jle 0x1002b385
cmp ecx, 0xf
jge 0x1002b385
mov dword [eax], esi
mov eax, dword [esi + 8]
test eax, eax
je 0x1002b4e1
mov ecx, dword [esi + 0x24]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x1002b4e1
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.1003a0c0
add esp, 0xc
test edx, edx
jg 0x1002b4e1
jl 0x1002b3be
test eax, eax
jae 0x1002b4e1
mov eax, dword [esi + 0x24]
movups xmm0, xmmword [esi + 0xbd8]
cmp eax, 3
jne 0x1002b3fc
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.10040260
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.10038950
add esp, 0x30
jmp 0x1002b4b3
cmp eax, 4
jne 0x1002b430
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.10040260
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.10038950
add esp, 0x30
jmp 0x1002b4b3
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 0x1002b484
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.10040260
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.10038950
add esp, 0x20
jmp 0x1002b4b3
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.10040260
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.10038950
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x1002b4cb
push 2
push dword [esi + 8]
call fcn.10039630
add esp, 8
mov byte [esp + 0x12], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.1002ad80
add esp, 0xc
jmp case.0x1002b4ed.1
mov ecx, dword [esi + 0x24]
cmp ecx, 0x10
ja case.default.0x1002b4ed
jmp dword [ecx*4 + 0x1002c628]
push esi
call fcn.1003ebe0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x1002b4ed.1
cmp dword [esi + 0x24], 2
je 0x1002b51d
push esi
mov dword [esi + 0x24], 2
call fcn.1003eb50
add esp, 4
push 1
push esi
call fcn.10046fa0
add esp, 8
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
push 2
push esi
call fcn.10046fa0
mov eax, dword [esi + 0x640]
add esp, 8
test eax, eax
je 0x1002b553
push 9
cdq
push edx
push eax
push esi
call fcn.10029a00
add esp, 0x10
mov eax, dword [esi + 0x644]
test eax, eax
je 0x1002b56b
push 2
cdq
push edx
push eax
push esi
call fcn.10029a00
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x2d]
push eax
push esi
call fcn.10034540
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x1002b5ad
cmp dword [esi + 0x24], 1
je 0x1002b592
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.10040440
add esp, 0x10
xor edi, edi
jmp case.0x1002b4ed.1
cmp byte [esi + 0x1042], 0
je 0x1002b616
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.10038a30
mov eax, dword [esi + 0x78]
add esp, 8
add eax, 0x24
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002b616
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x1002b5f4
push ebx
mov dword [ebx + 0x24], 2
call fcn.1003eb50
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
push dword [esp + 0x34]
call fcn.100404c0
push 7
push 0
push 0
push ebx
call fcn.10029a00
add esp, 0x1c
mov byte [ebx + 0x1042], 1
test edi, edi
jne case.0x1002b4ed.1
cmp byte [esp + 0x29], 0
je 0x1002b63b
cmp dword [esi + 0x24], 3
je case.0x1002b4ed.1
mov dword [esi + 0x24], 3
jmp case.0x1002b4ed.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x1002b661
cmp dword [esi + 0x24], 8
je case.0x1002b4ed.1
push esi
mov dword [esi + 0x24], 8
call fcn.1003e090
jmp 0x1002c3f8
push dword [esi + 8]
call fcn.1003e0c0
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x1002b688
cmp ecx, 5
je case.0x1002b4ed.1
mov dword [esi + 0x24], 5
jmp case.0x1002b4ed.1
cmp ecx, 4
je case.0x1002b4ed.1
mov dword [esi + 0x24], 4
jmp case.0x1002b4ed.1
mov edi, dword [esi + 8]
mov dword [esp + 0x14], ebp
cmp byte [edi + 0x50e], 0
je 0x1002b6b5
mov ebx, dword [edi + 0x34c]
jmp 0x1002b6cc
cmp byte [edi + 0x50b], 0
je 0x1002b6c6
mov ebx, dword [edi + 0x31c]
jmp 0x1002b6cc
mov ebx, dword [edi + 0x304]
push dword [edi + 0x364]
push ebx
push edi
call fcn.10040c70
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002b708
push ebx
push 0x100bc7d8
mov dword [edi + 0x70c], eax
mov byte [edi + 0x718], 1
xor edi, edi
push esi
call fcn.10038a30
add esp, 0xc
cmp dword [esp + 0x14], edi
jne 0x1002b71a
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.10041590
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x28]
call fcn.1002c760
add esp, 8
cmp dword [esp + 0x14], ebp
je 0x1002b754
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.10041290
mov edi, eax
add esp, 8
test edi, edi
je 0x1002b63b
mov dword [esi + 8], ebp
mov byte [esp + 0x12], 1
jmp case.0x1002b4ed.1
test edi, edi
je case.0x1002b4ed.1
mov byte [esp + 0x12], 1
jmp case.0x1002b4ed.1
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.10043820
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x51f], 0
je 0x1002b7b0
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
call fcn.1002ad80
add esp, 0xc
cmp dword [esi + 0x24], 2
je case.0x1002b4ed.1
push esi
mov dword [esi + 0x24], 2
call fcn.1003eb50
jmp 0x1002c3f8
test edi, edi
jne 0x1002b75c
cmp dword [eax + 0x358], 2
jne 0x1002b7ca
cmp byte [eax + 0x504], 0
je case.0x1002b4ed.1
push eax
call fcn.1003e070
add esp, 4
test al, al
je case.0x1002b4ed.1
or ebp, 0xffffffff
cmp dword [esi + 0x24], 6
je case.0x1002b4ed.1
mov dword [esi + 0x24], 6
jmp case.0x1002b4ed.1
lea eax, [esp + 0x2a]
push eax
push 0
push dword [esi + 8]
call fcn.10039890
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x2a], 0
je 0x1002b893
test edi, edi
jne 0x1002b89b
mov eax, dword [esi + 8]
cmp dword [eax + 0x358], 2
jne 0x1002b830
cmp byte [eax + 0x504], 0
je 0x1002b83d
push eax
call fcn.1003e0c0
add esp, 4
test al, al
je 0x1002b853
cmp dword [esi + 0x24], 5
je case.0x1002b4ed.1
mov dword [esi + 0x24], 5
jmp case.0x1002b4ed.1
mov eax, dword [esi + 8]
or ebp, 0xffffffff
mov cl, byte [eax + 0x517]
xor eax, eax
test cl, cl
sete al
add eax, 5
cmp dword [esi + 0x24], eax
je case.0x1002b4ed.1
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x100bc614]
test eax, eax
je case.0x1002b4ed.1
push esi
call eax
jmp 0x1002c3f8
test edi, edi
je case.0x1002b4ed.1
push esi
call fcn.10001680
push 1
push edi
push esi
call fcn.1002ad80
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1002b4ed.1
mov edi, dword [esi + 8]
xor cl, cl
xor ebx, ebx
mov byte [esp + 0x11], cl
cmp byte [edi + 0x506], cl
je 0x1002b8f1
cmp byte [edi + 0x515], cl
je 0x1002b8fd
mov eax, dword [edi + 0x548]
movzx ecx, cl
cmp dword [eax + 0x18], ebx
mov eax, 1
cmove ecx, eax
xor edi, edi
mov byte [esp + 0x11], cl
jmp 0x1002b99d
cmp byte [edi + 0x515], cl
jne 0x1002b991
push 0
push edi
call fcn.1003e150
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1002b92c
mov edi, ebx
push esi
call fcn.10001680
push 1
push ebx
push esi
call fcn.1002ad80
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1002b4ed.1
cmp dword [edi + 0x358], 2
jne 0x1002b942
cmp byte [edi + 0x504], 0
jne 0x1002b942
xor edi, edi
jmp 0x1002b99d
cmp byte [edi + 0x517], 0
je 0x1002b965
cmp byte [edi + 0x50e], 0
je 0x1002b965
push edi
call fcn.1003e0c0
add esp, 4
test al, al
je 0x1002b965
xor edi, edi
jmp 0x1002b99d
mov eax, dword [edi + 0x548]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1002b985
lea ecx, [esp + 0x11]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1002b98a
jmp 0x1002b991
mov byte [esp + 0x11], 1
mov byte [edi + 0x515], 1
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x1002b910
cmp byte [esp + 0x11], 0
jne 0x1002b9ba
cmp dword [esi + 0x24], 7
je case.0x1002b4ed.1
mov dword [esi + 0x24], 7
jmp case.0x1002b4ed.1
cmp dword [esi + 0x24], 8
je 0x1002b9d0
push esi
mov dword [esi + 0x24], 8
call fcn.1003e090
add esp, 4
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002ba16
mov eax, dword [ecx + 0x548]
cmp dword [eax + 0x18], ebp
je 0x1002ba16
mov byte [esp + 0x11], 0
lea edx, [esp + 0x11]
mov eax, dword [ecx + 0x548]
push edx
push ecx
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x24]
mov edi, eax
add esp, 8
test edi, edi
jne 0x1002b89b
mov al, byte [esp + 0x11]
jmp 0x1002ba23
mov al, 1
mov ecx, 7
mov byte [esp + 0x11], al
xor edi, edi
test al, al
je case.0x1002b4ed.1
cmp ecx, 8
jmp 0x1002b9be
cmp byte [esi + 0xb19], 0
je 0x1002ba5d
push 0
push dword [esi + 8]
call fcn.10039630
add esp, 8
cmp dword [esi + 0x24], 0xe
je 0x1002ba53
mov dword [esi + 0x24], 0xe
xor edi, edi
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
mov ecx, dword [esi + 8]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x548]
mov eax, dword [eax + 8]
test eax, eax
je 0x1002baa7
lea edx, [esp + 0x13]
push edx
push ecx
call eax
mov ebx, eax
add esp, 8
mov edi, eax
test ebx, ebx
jne 0x1002baa7
cmp byte [esp + 0x13], al
je 0x1002baa7
mov ecx, dword [esp + 0x1c]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.10046fa0
add esp, 8
jmp 0x1002bab1
mov edi, ebx
test ebx, ebx
jne 0x1002bb41
cmp byte [esp + 0x13], 0
jne 0x1002bb07
cmp byte [esi + 0x103b], 0
je 0x1002baf3
mov eax, dword [esi + 0x1048]
cmp eax, 7
je 0x1002bad1
cmp eax, 5
jne 0x1002baf3
push 0
push 0
push esi
call fcn.1002ad80
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x1002baeb
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
cmp dword [esi + 0x24], 9
je 0x1002bb00
mov dword [esi + 0x24], 9
xor ebp, ebp
jmp case.0x1002b4ed.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x514], 0
je 0x1002bb29
cmp ecx, 0xa
je 0x1002bb22
mov dword [esi + 0x24], 0xa
xor ebp, ebp
jmp case.0x1002b4ed.1
cmp ecx, 0xb
je 0x1002b9d0
mov dword [esi + 0x24], 0xb
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
cmp ebx, 0x37
jne 0x1002bbf6
mov eax, dword [esi + 8]
cmp byte [eax + 0x509], 0
je 0x1002bbf6
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push ecx
push eax
call fcn.1003f290
add esp, 8
test eax, eax
je 0x1002bb77
mov edi, eax
mov byte [esp + 0x12], 1
push esi
call fcn.10001680
push 0
push edi
push esi
call fcn.1002ad80
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
je 0x1002bbe5
test eax, eax
je 0x1002bba8
cmp eax, 0x37
je 0x1002bba8
push ecx
mov edi, eax
call dword [0x100df09c]
jmp 0x1002c3f8
push 2
push ecx
push esi
call fcn.1003e870
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1002bbd5
cmp dword [esi + 0x24], 2
je 0x1002bbd0
push esi
mov dword [esi + 0x24], 2
call fcn.1003eb50
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x100df09c]
jmp 0x1002c3f8
push ecx
mov byte [esp + 0x16], 1
call dword [0x100df09c]
jmp 0x1002c3f8
push esi
call fcn.10001680
add esp, 4
cmp dword [esi + 8], ebp
je 0x1002b8ad
push 0
push ebx
push esi
call fcn.1002ad80
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x1002b4ed.1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002bc6e
mov eax, dword [ecx + 0x548]
cmp dword [eax + 0x1c], ebp
je 0x1002bc6e
mov byte [esp + 0x13], 0
lea edx, [esp + 0x13]
mov eax, dword [ecx + 0x548]
push edx
push ecx
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x24]
mov edi, eax
add esp, 8
test edi, edi
je 0x1002bc7a
push esi
call fcn.10001680
push 0
push edi
push esi
call fcn.1002ad80
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1002b4ed.1
mov byte [esp + 0x13], 1
mov edx, 9
xor edi, edi
cmp byte [esp + 0x13], 0
je case.0x1002b4ed.1
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x514]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x1002b9d0
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x100bc628]
test eax, eax
je 0x1002b9d0
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
mov edx, dword [esi + 8]
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor ebx, ebx
mov dword [esp + 0x1c], edx
mov eax, dword [edx + 0x548]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1002bd1e
lea ecx, [esp + 0x34]
push ecx
push edx
call eax
mov ecx, dword [esp + 0x3c]
mov ebx, eax
add esp, 8
mov edi, eax
test ebx, ebx
jne 0x1002bd1e
cmp ecx, 1
jne 0x1002bd1e
mov ecx, dword [esp + 0x1c]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.10046fa0
mov ecx, dword [esp + 0x3c]
add esp, 8
jmp 0x1002bd24
mov edi, ebx
test ebx, ebx
jne 0x1002bd64
test ecx, ecx
je 0x1002c25c
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp dword [esi + 0x24], eax
je 0x1002b9d0
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x100bc600]
test eax, eax
je 0x1002b9d0
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
push esi
call fcn.10001680
push 0
push ebx
push esi
call fcn.1002ad80
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1002b4ed.1
mov eax, dword [esi + 8]
mov edx, 0xb
cmp byte [eax + 0x522], 0
je 0x1002bddf
mov ebp, dword [ebx + 0x24]
test ebp, ebp
je 0x1002bddf
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x1002bdb1
push ebx
mov dword [ebx + 0x24], 2
call fcn.1003eb50
add esp, 4
mov eax, dword [esp + 0x24]
push 0
add eax, 0x24
push ebp
push eax
call fcn.100404c0
push 7
push 0
push 0
push ebx
call fcn.10029a00
mov byte [ebx + 0x1042], 1
add esp, 0x1c
mov edx, dword [esi + 0x24]
mov ecx, edx
mov eax, dword [esi + 8]
cmp dword [eax + 0x56c], 0xffffffff
jne 0x1002be27
cmp dword [eax + 0x570], 0xffffffff
jne 0x1002be27
cmp byte [esi + 0x103b], 0
je 0x1002be13
mov eax, dword [eax + 0x548]
test dword [eax + 0x44], 0x1000
jne 0x1002be13
mov dword [esi + 0x1048], 7
cmp ecx, 0xe
je 0x1002be33
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
cmp edx, 0xc
je 0x1002be33
mov dword [esi + 0x24], 0xc
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
push dword [esi + 8]
call fcn.100470d0
add esp, 4
test eax, eax
je 0x1002be54
mov edi, 0x2a
jmp case.0x1002b4ed.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.10048680
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x1002b4ed.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x1c], xmm0
test edx, edx
jl 0x1002bed9
jg 0x1002be93
test ecx, ecx
je 0x1002bed9
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 + 0xc08]
push edx
push ecx
push dword [esi + 0xc1c]
movups xmmword [eax], xmm0
push dword [esi + 0xc18]
push dword [esi + 0xb6c]
push dword [esi + 0xb68]
call fcn.10046be0
add esp, 0x38
mov dword [esp + 0x14], edx
mov ebx, eax
jmp 0x1002bee5
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
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 0x1002bf46
jg 0x1002bf04
test ecx, ecx
je 0x1002bf46
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 + 0xc20]
push edx
push ecx
push dword [esi + 0xc34]
movups xmmword [eax], xmm0
push dword [esi + 0xc30]
push dword [esi + 0xb64]
push dword [esi + 0xb60]
call fcn.10046be0
add esp, 0x38
mov ecx, eax
jmp 0x1002bf4e
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
or eax, dword [esp + 0x14]
jne 0x1002bf84
mov eax, ecx
or eax, edx
jne 0x1002bf84
cmp dword [esi + 0x24], 0xc
je 0x1002bf69
mov dword [esi + 0x24], 0xc
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.10047270
add esp, 0x14
jmp case.0x1002b4ed.1
mov eax, dword [esp + 0x14]
cmp eax, edx
jl 0x1002bfa4
jg 0x1002bf92
cmp ebx, ecx
jb 0x1002bfa4
push 0xa
push eax
push ebx
push esi
call fcn.10029a00
add esp, 0x10
jmp case.0x1002b4ed.1
push 0xa
push edx
push ecx
push esi
call fcn.10029a00
add esp, 0x10
jmp case.0x1002b4ed.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x2b], 0
mov byte [esp + 0x1b], 0
movlpd qword [esp + 0x1c], xmm0
test edx, edx
jl 0x1002c029
jg 0x1002bfe3
test ecx, ecx
je 0x1002c029
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 + 0xc08]
push edx
push ecx
push dword [esi + 0xc1c]
movups xmmword [eax], xmm0
push dword [esi + 0xc18]
push dword [esi + 0xb6c]
push dword [esi + 0xb68]
call fcn.10046be0
add esp, 0x38
mov dword [esp + 0x38], edx
mov ebx, eax
jmp 0x1002c035
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
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 0x1002c09a
jg 0x1002c054
test ecx, ecx
je 0x1002c09a
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 + 0xc20]
push edx
push ecx
push dword [esi + 0xc34]
movups xmmword [eax], xmm0
push dword [esi + 0xc30]
push dword [esi + 0xb64]
push dword [esi + 0xb60]
call fcn.10046be0
add esp, 0x38
mov dword [esp + 0x2c], eax
mov ecx, eax
jmp 0x1002c0a6
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov eax, ebx
mov dword [esp + 0x1c], edx
or eax, dword [esp + 0x38]
jne 0x1002c29e
mov eax, ecx
or eax, edx
jne 0x1002c29e
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x1e]
push eax
push esi
push dword [esi + 8]
call fcn.1003ef60
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x1a]
test al, al
jne 0x1002c199
cmp edi, 0x38
je 0x1002c199
cmp edi, 0x5c
je 0x1002c268
mov bl, byte [esp + 0x2b]
test edi, edi
jne 0x1002c268
test al, al
je 0x1002c242
push esi
call fcn.10001680
add esp, 4
test bl, bl
jne 0x1002c1ca
cmp dword [esi + 0x140], ebp
jne 0x1002c21e
cmp dword [esi + 0x13c], ebp
je 0x1002c180
push dword [esp + 0x14]
call dword [0x100df09c]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x13c], ebp
call fcn.1003e870
push dword [esp + 0x24]
mov edi, eax
call dword [0x100df09c]
add esp, 0x14
test edi, edi
je 0x1002c180
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.1002ad80
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x1002b4ed.1
cmp dword [esi + 0x24], 0xe
je 0x1002baeb
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x1002b4ed.1
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.1003f290
add esp, 8
test eax, eax
jne 0x1002c263
cmp dword [esp + 0x14], ebp
setne bl
test bl, bl
je 0x1002c215
push esi
mov byte [esp + 0x1e], 1
call fcn.10001680
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.1002ad80
push edi
push dword [esp + 0x24]
push esi
call fcn.1003e870
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x1002c206
cmp dword [esi + 0x24], 2
je 0x1002c203
push esi
mov dword [esi + 0x24], 2
call fcn.1003eb50
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x14]
call dword [0x100df09c]
jmp 0x1002c3f8
mov al, byte [esp + 0x1a]
jmp 0x1002c0fa
push dword [esp + 0x14]
call dword [0x100df09c]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x14], eax
mov edi, 3
mov dword [esi + 0x140], ebp
jmp 0x1002c1cf
cmp byte [esp + 0x1b], 0
je case.0x1002b4ed.1
push 7
push 0
push 0
push esi
call fcn.10029a00
add esp, 0x10
xor ebp, ebp
jmp case.0x1002b4ed.1
test edi, edi
cmove edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x548]
test byte [eax + 0x44], 2
jne 0x1002c287
cmp edi, 0x5c
je 0x1002c287
push 2
push ecx
call fcn.10039630
add esp, 8
push esi
call fcn.10001680
push 1
push edi
push esi
call fcn.1002ad80
add esp, 0x10
jmp case.0x1002b4ed.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.10047270
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x1002c2c1
mov dword [esi + 0x24], 0xd
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x1002c2e9
jg 0x1002c2f1
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jb 0x1002c2ed
push 0xa
push eax
push ebx
push esi
call fcn.10029a00
add esp, 0x10
jmp case.0x1002b4ed.1
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
mov eax, edx
push 0xa
push eax
push ebx
push esi
call fcn.10029a00
add esp, 0x10
jmp case.0x1002b4ed.1
mov eax, dword [esi + 8]
or ebp, 0xffffffff
test eax, eax
je 0x1002c39b
cmp byte [eax + 0x522], 0
je 0x1002c367
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002c367
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x1002c341
push ebx
mov dword [ebx + 0x24], 2
call fcn.1003eb50
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x24
push eax
call fcn.100404c0
push 7
push 0
push 0
push ebx
call fcn.10029a00
add esp, 0x1c
mov byte [ebx + 0x1042], 1
push 0
push edi
push esi
call fcn.1002ad80
mov ecx, dword [esi + 8]
add esp, 0xc
test edi, edi
cmove edi, eax
test ecx, ecx
je 0x1002c39b
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x5d0]
push eax
call fcn.100404c0
add esp, 0xc
mov dword [esi + 8], 0
cmp byte [esi + 0x103b], 0
je 0x1002c3bc
cmp dword [esi + 0x1048], 7
je 0x1002c3bc
cmp dword [esi + 0x24], 0
je case.0x1002b4ed.1
mov dword [esi + 0x24], 0
jmp case.0x1002b4ed.1
cmp dword [esi + 0x24], 0xf
je case.0x1002b4ed.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002c3eb
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x5d0]
push eax
call fcn.100404c0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.10029c10
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, 0xf
jge 0x1002c550
test edi, edi
je 0x1002c4ee
mov ecx, dword [esp + 0x24]
add ecx, 0x24
mov dword [esp + 0x1c], ecx
mov ebp, dword [ecx]
test ebp, ebp
je 0x1002c45f
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x1002c43d
push ebx
mov dword [ebx + 0x24], 2
call fcn.1003eb50
mov ecx, dword [esp + 0x20]
add esp, 4
push 0
push ebp
push ecx
call fcn.100404c0
push 7
push 0
push 0
push ebx
call fcn.10029a00
mov byte [ebx + 0x1042], 1
add esp, 0x1c
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1002c49e
cmp byte [esp + 0x12], 0
je 0x1002c4ac
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebx + 0x5d0]
sete byte [esp + 0x44]
push eax
call fcn.100404c0
push dword [esp + 0x48]
mov dword [esi + 8], 0
push ebx
push esi
call fcn.100347d0
add esp, 0x18
jmp 0x1002c4ac
cmp eax, 2
jne 0x1002c4ac
push esi
call fcn.10001680
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x1002c54d
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002c4df
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x5d0]
push eax
call fcn.100404c0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.10029c10
jmp 0x1002c54a
mov eax, dword [esi + 8]
test eax, eax
je 0x1002c550
push eax
call fcn.100470d0
add esp, 4
test eax, eax
je 0x1002c550
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.10039630
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x1002c54d
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x1002c534
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x100bc638]
test eax, eax
je 0x1002c54d
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x24], 0xf
jne 0x1002c59d
mov eax, dword [esi + 0xae0]
test eax, eax
je 0x1002c569
push edi
push esi
call eax
add esp, 8
jmp 0x1002c590
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 + 0x2c]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.10040440
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x24], 0x10
je 0x1002c59d
mov dword [esi + 0x24], 0x10
mov ebx, dword [esp + 0x24]
cmp ebp, 0xffffffff
je 0x1002b2e1
cmp byte [ebx + 0xe5], 0
jne 0x1002b2e1
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.10087257
add esp, 0x44
ret
push eax
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.10038950
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10087257
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.10087257
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.10087257
add esp, 0x44
ret