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

Disassembly:
sub esp, 0x44
mov eax, dword [0x100892c0]
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 + 0x28], 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 0x100389ec
cmp dword [esi + 0x1068], 0xc0dedbad
jne 0x100389ec
xor ebp, ebp
mov byte [esp + 0x12], 0
cmp dword [esi + 8], ebp
jne 0x1003781e
mov eax, dword [esi + 0x24]
cmp eax, 2
jle 0x1003781e
cmp eax, 0xe
jl 0x100389ad
mov al, byte [ebx + 0x79]
mov byte [ebx + 0x79], 0
test al, al
je 0x1003787d
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1003787d
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x10037850
push ebx
mov dword [ebx + 0x24], 2
call fcn.1004b520
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x30]
add eax, 0x24
push eax
call fcn.1004cd90
push 7
push 0
push 0
push ebx
call fcn.10036150
add esp, 0x1c
or dword [ebx + 0xf94], 0x2000
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov ecx, eax
test eax, eax
je 0x10037898
mov edx, dword [esi + 0x24]
cmp edx, 2
jle 0x10037898
cmp edx, 0xf
jge 0x10037898
mov dword [eax], esi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100379fc
mov ecx, dword [esi + 0x24]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x100379fc
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.10045bb0
add esp, 0xc
test edx, edx
jg 0x100379fc
jl 0x100378d9
test eax, eax
jae 0x100379fc
mov eax, dword [esi + 0x24]
movups xmm0, xmmword [esi + 0xb38]
cmp eax, 3
jne 0x10037917
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.1004cb40
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.100446b0
add esp, 0x30
jmp 0x100379ce
cmp eax, 4
jne 0x1003794b
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.1004cb40
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.100446b0
add esp, 0x30
jmp 0x100379ce
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 0x1003799f
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.1004cb40
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.100446b0
add esp, 0x20
jmp 0x100379ce
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.1004cb40
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.100446b0
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x100379e6
push 2
push dword [esi + 8]
call fcn.10045230
add esp, 8
mov byte [esp + 0x12], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.10037330
add esp, 0xc
jmp case.0x10037a08.1
mov eax, dword [esi + 0x24]
cmp eax, 0x10
ja case.default.0x10037a08
jmp dword [eax*4 + 0x10038a04]
push esi
call fcn.1004b540
mov edi, eax
add esp, 4
test edi, edi
jne case.0x10037a08.1
cmp dword [esi + 0x24], 2
je 0x10037a38
push esi
mov dword [esi + 0x24], 2
call fcn.1004b520
add esp, 4
push 1
push esi
call fcn.100533d0
add esp, 8
or ebp, 0xffffffff
jmp case.0x10037a08.1
push 2
push esi
call fcn.100533d0
mov eax, dword [esi + 0x638]
add esp, 8
test eax, eax
je 0x10037a6e
push 9
cdq
push edx
push eax
push esi
call fcn.10036150
add esp, 0x10
mov eax, dword [esi + 0x63c]
test eax, eax
je 0x10037a86
push 2
cdq
push edx
push eax
push esi
call fcn.10036150
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x2a]
push eax
push esi
call fcn.10040100
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x10037ac8
cmp dword [esi + 0x24], 1
je 0x10037aad
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.1004cd20
add esp, 0x10
xor edi, edi
jmp case.0x10037a08.1
test dword [esi + 0xf94], 0x2000
je 0x10037b37
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.100447a0
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 0x10037b37
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x10037b12
push ebx
mov dword [ebx + 0x24], 2
call fcn.1004b520
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
push dword [esp + 0x34]
call fcn.1004cd90
push 7
push 0
push 0
push ebx
call fcn.10036150
add esp, 0x1c
or dword [ebx + 0xf94], 0x2000
test edi, edi
jne case.0x10037a08.1
cmp byte [esp + 0x26], 0
je 0x10037b5c
cmp dword [esi + 0x24], 3
je case.0x10037a08.1
mov dword [esi + 0x24], 3
jmp case.0x10037a08.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x10037b82
cmp dword [esi + 0x24], 8
je case.0x10037a08.1
push esi
mov dword [esi + 0x24], 8
call fcn.1004aaf0
jmp 0x100387fd
push dword [esi + 8]
call fcn.1004ab20
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x10037ba9
cmp ecx, 5
je case.0x10037a08.1
mov dword [esi + 0x24], 5
jmp case.0x10037a08.1
cmp ecx, 4
je case.0x10037a08.1
mov dword [esi + 0x24], 4
jmp case.0x10037a08.1
mov edi, dword [esi + 8]
mov dword [esp + 0x14], ebp
mov eax, dword [edi + 0x29c]
test al, 0x40
je 0x10037bd7
mov ebx, dword [edi + 0xe4]
jmp 0x10037be9
test al, 8
je 0x10037be3
mov ebx, dword [edi + 0xb4]
jmp 0x10037be9
mov ebx, dword [edi + 0x9c]
push dword [edi + 0xfc]
push ebx
push edi
call fcn.1004d4e0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x10037c25
or dword [edi + 0x490], 1
push ebx
push 0x1006c130
mov dword [edi + 0x484], eax
xor edi, edi
push esi
call fcn.100447a0
add esp, 0xc
cmp dword [esp + 0x14], edi
jne 0x10037c37
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.1004dd90
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x2c]
call fcn.10038b40
add esp, 8
cmp dword [esp + 0x14], ebp
je 0x10037c67
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.1004db00
mov edi, eax
add esp, 8
test edi, edi
je 0x10037b5c
mov dword [esi + 8], ebp
test edi, edi
je case.0x10037a08.1
mov byte [esp + 0x12], 1
jmp case.0x10037a08.1
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.100500c0
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
test dword [eax + 0x29c], 0x200000
je 0x10037cc6
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
call fcn.10037330
add esp, 0xc
cmp dword [esi + 0x24], 2
je case.0x10037a08.1
push esi
mov dword [esi + 0x24], 2
call fcn.1004b520
jmp 0x100387fd
test edi, edi
jne 0x10037c6f
cmp dword [eax + 0xf0], 2
jne 0x10037ce0
cmp byte [eax + 0x298], 0
je case.0x10037a08.1
push eax
call fcn.1004aad0
add esp, 4
test al, al
je case.0x10037a08.1
or ebp, 0xffffffff
cmp dword [esi + 0x24], 6
je case.0x10037a08.1
mov dword [esi + 0x24], 6
jmp case.0x10037a08.1
lea eax, [esp + 0x27]
push eax
push 0
push dword [esi + 8]
call fcn.100454c0
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x27], 0
je 0x10037dae
test edi, edi
jne 0x10037db6
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x10037d46
cmp byte [eax + 0x298], 0
je 0x10037d53
push eax
call fcn.1004ab20
add esp, 4
test al, al
je 0x10037d69
cmp dword [esi + 0x24], 5
je case.0x10037a08.1
mov dword [esi + 0x24], 5
jmp case.0x10037a08.1
mov eax, dword [esi + 8]
or ebp, 0xffffffff
mov ecx, dword [eax + 0x29c]
and ecx, 0x8000
mov eax, ecx
neg eax
sbb eax, eax
add eax, 6
cmp dword [esi + 0x24], eax
je case.0x10037a08.1
mov dword [esi + 0x24], eax
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x1006bf74]
test eax, eax
je case.0x10037a08.1
push esi
call eax
jmp 0x100387fd
test edi, edi
je case.0x10037a08.1
push esi
call fcn.1003b1c0
push 1
push edi
push esi
call fcn.10037330
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x10037a08.1
mov edi, dword [esi + 8]
xor cl, cl
xor ebx, ebx
mov byte [esp + 0x11], cl
cmp byte [edi + 0x29a], bl
je 0x10037e10
test dword [edi + 0x29c], 0x2000
je 0x10037e20
mov eax, dword [edi + 0x2c0]
movzx ecx, cl
cmp dword [eax + 0x18], ebx
mov eax, 1
cmove ecx, eax
xor edi, edi
mov byte [esp + 0x11], cl
jmp 0x10037ea3
test dword [edi + 0x29c], 0x2000
jne 0x10037e9d
push 0
push edi
call fcn.1004ab40
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10037e35
mov edi, eax
jmp 0x10037e9f
cmp dword [edi + 0xf0], 2
jne 0x10037e4b
cmp byte [edi + 0x298], 0
jne 0x10037e4b
xor edi, edi
jmp 0x10037ea3
mov eax, dword [edi + 0x29c]
and eax, 0x8040
cmp eax, 0x8040
jne 0x10037e6e
push edi
call fcn.1004ab20
add esp, 4
test al, al
je 0x10037e6e
xor edi, edi
jmp 0x10037ea3
mov eax, dword [edi + 0x2c0]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10037e8e
lea ecx, [esp + 0x11]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10037e93
jmp 0x10037e9d
mov byte [esp + 0x11], 1
or dword [edi + 0x29c], 0x2000
mov edi, ebx
test ebx, ebx
jne 0x10037ede
cmp byte [esp + 0x11], 0
jne 0x10037ec0
cmp dword [esi + 0x24], 7
je case.0x10037a08.1
mov dword [esi + 0x24], 7
jmp case.0x10037a08.1
cmp dword [esi + 0x24], 8
je 0x10037ed6
push esi
mov dword [esi + 0x24], 8
call fcn.1004aaf0
add esp, 4
or ebp, 0xffffffff
jmp case.0x10037a08.1
push esi
call fcn.1003b1c0
push 1
push ebx
push esi
call fcn.10037330
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x10037a08.1
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
je 0x10037f32
mov eax, dword [ecx + 0x2c0]
cmp dword [eax + 0x18], edi
je 0x10037f32
mov byte [esp + 0x11], 0
lea edx, [esp + 0x11]
mov eax, dword [ecx + 0x2c0]
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 0x10037f3d
mov al, 1
mov ecx, 7
mov byte [esp + 0x11], al
test edi, edi
jne 0x10037db6
test al, al
je case.0x10037a08.1
cmp ecx, 8
jmp 0x10037ec4
test byte [esi + 0xa8c], 1
je 0x10037f82
push 0
push dword [esi + 8]
call fcn.10045230
add esp, 8
cmp dword [esi + 0x24], 0xe
je 0x10037f78
mov dword [esi + 0x24], 0xe
xor edi, edi
or ebp, 0xffffffff
jmp case.0x10037a08.1
mov ebx, dword [esi + 8]
xor edi, edi
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 8]
test eax, eax
je 0x10037fc0
lea ecx, [esp + 0x13]
push ecx
push ebx
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003801c
cmp byte [esp + 0x13], al
je 0x10037fc0
mov eax, dword [ebx]
push 6
and dword [eax + 0x588], 0xffffffdf
push dword [ebx]
call fcn.100533d0
add esp, 8
test edi, edi
jne 0x1003801c
cmp byte [esp + 0x13], 0
jne 0x10037fdf
cmp dword [esi + 0x24], 9
je 0x10037fd8
mov dword [esi + 0x24], 9
xor ebp, ebp
jmp case.0x10037a08.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
test dword [eax + 0x29c], 0x1000
je 0x10038004
cmp ecx, 0xa
je 0x10037ffd
mov dword [esi + 0x24], 0xa
xor ebp, ebp
jmp case.0x10037a08.1
cmp ecx, 0xb
je 0x10037ed6
mov dword [esi + 0x24], 0xb
or ebp, 0xffffffff
jmp case.0x10037a08.1
cmp edi, 0x37
jne 0x100380d1
mov eax, dword [esi + 8]
test byte [eax + 0x29c], 2
je 0x100380d1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push ecx
push eax
call fcn.1004bbd0
add esp, 8
test eax, eax
je 0x10038052
mov edi, eax
mov byte [esp + 0x12], 1
push esi
call fcn.1003b1c0
push 0
push edi
push esi
call fcn.10037330
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
je 0x100380c0
test eax, eax
je 0x10038083
cmp eax, 0x37
je 0x10038083
push ecx
mov edi, eax
call dword [0x10089208]
jmp 0x100387fd
push 2
push ecx
push esi
call fcn.1004b260
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100380b0
cmp dword [esi + 0x24], 2
je 0x100380ab
push esi
mov dword [esi + 0x24], 2
call fcn.1004b520
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x10089208]
jmp 0x100387fd
push ecx
mov byte [esp + 0x16], 1
call dword [0x10089208]
jmp 0x100387fd
push esi
call fcn.1003b1c0
add esp, 4
cmp dword [esi + 8], ebp
je 0x100380eb
push 0
push edi
push esi
call fcn.10037330
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x10037a08.1
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
je 0x10038129
mov eax, dword [ecx + 0x2c0]
cmp dword [eax + 0x1c], edi
je 0x10038129
mov byte [esp + 0x13], 0
lea edx, [esp + 0x13]
mov eax, dword [ecx + 0x2c0]
push edx
push ecx
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [esi + 0x24]
add esp, 8
mov edi, eax
jmp 0x10038133
mov byte [esp + 0x13], 1
mov ecx, 9
test edi, edi
jne 0x1003817e
cmp byte [esp + 0x13], 0
je case.0x10037a08.1
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x29c]
shr eax, 0xc
not eax
and eax, 1
or eax, 0xa
cmp ecx, eax
je 0x10037ed6
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x1006bf60]
test eax, eax
je 0x10037ed6
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x10037a08.1
push esi
call fcn.1003b1c0
push 0
push edi
push esi
call fcn.10037330
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x10037a08.1
mov ebx, dword [esi + 8]
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor edi, edi
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100381e5
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 0x1003817e
cmp ecx, 1
jne 0x100381e5
mov eax, dword [ebx]
push 6
and dword [eax + 0x588], 0xffffffdf
push dword [ebx]
call fcn.100533d0
mov ecx, dword [esp + 0x3c]
add esp, 8
test edi, edi
jne 0x1003817e
test ecx, ecx
je 0x10037fd8
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp dword [esi + 0x24], eax
jmp 0x10038158
mov eax, dword [esi + 8]
mov ecx, 0xb
test dword [eax + 0x29c], 0x1000000
je 0x10038273
mov ebp, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, 0xb
test ebp, ebp
je 0x10038273
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x10038248
push ebx
mov dword [ebx + 0x24], 2
call fcn.1004b520
add esp, 4
push 0
push ebp
push dword [esp + 0x24]
call fcn.1004cd90
push 7
push 0
push 0
push ebx
call fcn.10036150
add esp, 0x1c
or dword [ebx + 0xf94], 0x2000
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp dword [eax + 0x2e4], 0xffffffff
jne 0x10038299
cmp dword [eax + 0x2e8], 0xffffffff
jne 0x10038299
cmp ecx, 0xe
je 0x100382a5
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x10037a08.1
cmp ecx, 0xc
je 0x100382a5
mov dword [esi + 0x24], 0xc
or ebp, 0xffffffff
jmp case.0x10037a08.1
push dword [esi + 8]
call fcn.10053500
add esp, 4
test eax, eax
je 0x100382c6
mov edi, 0x2a
jmp case.0x10037a08.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.10054280
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x10037a08.1
mov edx, dword [esi + 0x66c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x668]
movlpd qword [esp + 0x1c], xmm0
test edx, edx
jl 0x1003834b
jg 0x10038305
test ecx, ecx
je 0x1003834b
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 + 0xb68]
push edx
push ecx
push dword [esi + 0xb7c]
movups xmmword [eax], xmm0
push dword [esi + 0xb78]
push dword [esi + 0xacc]
push dword [esi + 0xac8]
call fcn.10053010
add esp, 0x38
mov dword [esp + 0x14], edx
mov ebx, eax
jmp 0x10038357
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x100383b8
jg 0x10038376
test ecx, ecx
je 0x100383b8
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 + 0xb80]
push edx
push ecx
push dword [esi + 0xb94]
movups xmmword [eax], xmm0
push dword [esi + 0xb90]
push dword [esi + 0xac4]
push dword [esi + 0xac0]
call fcn.10053010
add esp, 0x38
mov ecx, eax
jmp 0x100383c0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
or eax, dword [esp + 0x14]
jne 0x100383f6
mov eax, ecx
or eax, edx
jne 0x100383f6
cmp dword [esi + 0x24], 0xc
je 0x100383db
mov dword [esi + 0x24], 0xc
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.10053660
add esp, 0x14
jmp case.0x10037a08.1
mov eax, dword [esp + 0x14]
cmp eax, edx
jl 0x10038416
jg 0x10038404
cmp ebx, ecx
jb 0x10038416
push 0xa
push eax
push ebx
push esi
call fcn.10036150
add esp, 0x10
jmp case.0x10037a08.1
push 0xa
push edx
push ecx
push esi
call fcn.10036150
add esp, 0x10
jmp case.0x10037a08.1
mov edx, dword [esi + 0x66c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x668]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
movlpd qword [esp + 0x1c], xmm0
test edx, edx
jl 0x1003849b
jg 0x10038455
test ecx, ecx
je 0x1003849b
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 + 0xb68]
push edx
push ecx
push dword [esi + 0xb7c]
movups xmmword [eax], xmm0
push dword [esi + 0xb78]
push dword [esi + 0xacc]
push dword [esi + 0xac8]
call fcn.10053010
add esp, 0x38
mov dword [esp + 0x38], edx
mov ebx, eax
jmp 0x100384a7
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x1003850c
jg 0x100384c6
test ecx, ecx
je 0x1003850c
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 + 0xb80]
push edx
push ecx
push dword [esi + 0xb94]
movups xmmword [eax], xmm0
push dword [esi + 0xb90]
push dword [esi + 0xac4]
push dword [esi + 0xac0]
call fcn.10053010
add esp, 0x38
mov dword [esp + 0x2c], eax
mov ecx, eax
jmp 0x10038518
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 0x100386df
mov eax, ecx
or eax, edx
jne 0x100386df
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x1d]
push eax
push esi
push dword [esi + 8]
call fcn.1004b890
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x19], 0
jne 0x10038591
cmp edi, 0x38
je 0x10038591
cmp edi, 0x5c
jne 0x100385bf
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2c0]
test byte [eax + 0x44], 2
jne 0x1003857a
cmp edi, 0x5c
je 0x1003857a
push 2
push ecx
call fcn.10045230
add esp, 8
push esi
call fcn.1003b1c0
push 1
push edi
push esi
call fcn.10037330
add esp, 0x10
jmp case.0x10037a08.1
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.1004bbd0
add esp, 8
test eax, eax
jne 0x100385b9
cmp dword [esp + 0x14], ebp
setne bl
test bl, bl
je 0x100385c3
xor edi, edi
mov byte [esp + 0x19], 1
jmp 0x100385d2
test edi, edi
jne 0x1003855b
mov edi, eax
mov bl, byte [esp + 0x1a]
test edi, edi
jne 0x1003855b
cmp byte [esp + 0x19], 0
je 0x100386cc
push esi
call fcn.1003b1c0
add esp, 4
test bl, bl
jne 0x10038681
cmp dword [esi + 0x140], ebp
jne 0x1003865d
cmp dword [esi + 0x13c], ebp
je 0x10038644
push dword [esp + 0x14]
call dword [0x10089208]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x13c], ebp
call fcn.1004b260
push dword [esp + 0x24]
mov edi, eax
call dword [0x10089208]
add esp, 0x14
test edi, edi
je 0x10038644
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.10037330
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x10037a08.1
cmp dword [esi + 0x24], 0xe
je 0x10037ed6
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x10037a08.1
push dword [esp + 0x14]
call dword [0x10089208]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x14], eax
mov edi, 3
mov dword [esi + 0x140], ebp
jmp 0x10038686
mov edi, 2
push 0
push 0
push esi
call fcn.10037330
push edi
push dword [esp + 0x24]
push esi
call fcn.1004b260
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x100386bd
cmp dword [esi + 0x24], 2
je 0x100386ba
push esi
mov dword [esi + 0x24], 2
call fcn.1004b520
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x14]
call dword [0x10089208]
jmp 0x100387fd
cmp byte [esp + 0x1b], 0
je case.0x10037a08.1
or ebp, 0xffffffff
jmp case.0x10037a08.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.10053660
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x10038702
mov dword [esi + 0x24], 0xd
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x1003872a
jg 0x10038732
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jb 0x1003872e
push 0xa
push eax
push ebx
push esi
call fcn.10036150
add esp, 0x10
jmp case.0x10037a08.1
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
mov eax, edx
push 0xa
push eax
push ebx
push esi
call fcn.10036150
add esp, 0x10
jmp case.0x10037a08.1
mov eax, dword [esi + 8]
or ebp, 0xffffffff
test eax, eax
je 0x100387e4
test dword [eax + 0x29c], 0x1000000
je 0x100387b0
lea eax, [ebx + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100387b0
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x1003878b
push ebx
mov dword [ebx + 0x24], 2
call fcn.1004b520
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
push dword [esp + 0x34]
call fcn.1004cd90
push 7
push 0
push 0
push ebx
call fcn.10036150
add esp, 0x1c
or dword [ebx + 0xf94], 0x2000
push 0
push edi
push esi
call fcn.10037330
mov ecx, dword [esi + 8]
add esp, 0xc
test edi, edi
cmove edi, eax
test ecx, ecx
je 0x100387e4
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x348]
push eax
call fcn.1004cd90
add esp, 0xc
mov dword [esi + 8], 0
cmp dword [esi + 0x24], 0xf
je case.0x10037a08.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
push esi
dec dword [eax + 0x10]
call fcn.100360e0
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, 0xf
jge 0x10038931
test edi, edi
je 0x100388cf
mov ecx, dword [esp + 0x28]
add ecx, 0x24
mov dword [esp + 0x1c], ecx
mov ebp, dword [ecx]
test ebp, ebp
je 0x10038867
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x10038842
push ebx
mov dword [ebx + 0x24], 2
call fcn.1004b520
mov ecx, dword [esp + 0x20]
add esp, 4
push 0
push ebp
push ecx
call fcn.1004cd90
push 7
push 0
push 0
push ebx
call fcn.10036150
add esp, 0x1c
or dword [ebx + 0xf94], 0x2000
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x100388a6
cmp byte [esp + 0x12], 0
je 0x100388b4
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebx + 0x348]
sete byte [esp + 0x44]
push eax
call fcn.1004cd90
push dword [esp + 0x48]
mov dword [esi + 8], 0
push ebx
push esi
call fcn.10040350
add esp, 0x18
jmp 0x100388b4
cmp eax, 2
jne 0x100388b4
push esi
call fcn.1003b1c0
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x1003892e
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
push esi
dec dword [eax + 0x10]
call fcn.100360e0
jmp 0x1003892b
mov eax, dword [esi + 8]
test eax, eax
je 0x10038931
push eax
call fcn.10053500
add esp, 4
test eax, eax
je 0x10038931
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.10045230
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x1003892e
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x10038915
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x1006bf98]
test eax, eax
je 0x1003892e
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x24], 0xf
jne 0x1003897e
mov eax, dword [esi + 0xa74]
test eax, eax
je 0x1003894a
push edi
push esi
call eax
add esp, 8
jmp 0x10038971
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 + 0x30]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.1004cd20
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x24], 0x10
je 0x1003897e
mov dword [esi + 0x24], 0x10
mov ebx, dword [esp + 0x28]
cmp ebp, 0xffffffff
je 0x10037801
cmp byte [ebx + 0x79], 0
jne 0x10037801
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.10067186
add esp, 0x44
ret
push eax
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.100446b0
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10067186
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.10067186
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.10067186
add esp, 0x44
ret