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

Disassembly:
sub esp, 0x44
mov eax, dword [0x659bc0]
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 0x4a4053
cmp dword [esi + 0x10c0], 0xc0dedbad
jne 0x4a4053
xor ebp, ebp
mov byte [esp + 0x12], 0
cmp dword [esi + 8], ebp
jne 0x4a2dde
mov eax, dword [esi + 0x24]
cmp eax, 2
jle 0x4a2dde
cmp eax, 0xe
jl 0x4a4014
mov al, byte [ebx + 0x79]
mov byte [ebx + 0x79], 0
test al, al
je 0x4a2e3a
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a2e3a
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x4a2e10
push ebx
mov dword [ebx + 0x24], 2
call fcn.004b2b10
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x24]
push 0
push eax
lea eax, [ecx + 0x24]
push eax
call fcn.004b4190
push 7
push 0
push 0
push ebx
call fcn.004a1560
mov byte [ebx + 0xfe9], 1
add esp, 0x1c
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 8]
test eax, eax
je 0x4a2fbb
mov ecx, dword [esi + 0x24]
cmp ecx, 2
jle 0x4a2e5f
cmp ecx, 0xf
jge 0x4a2e5f
mov dword [eax], esi
mov eax, dword [esi + 8]
test eax, eax
je 0x4a2fbb
mov ecx, dword [esi + 0x24]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x4a2fbb
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.004ae5d0
add esp, 0xc
test edx, edx
jg 0x4a2fbb
jl 0x4a2e98
test eax, eax
jae 0x4a2fbb
mov eax, dword [esi + 0x24]
movups xmm0, xmmword [esi + 0xb80]
cmp eax, 3
jne 0x4a2ed6
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.004b13f0
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.0049f330
add esp, 0x30
jmp 0x4a2f8d
cmp eax, 4
jne 0x4a2f0a
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.004b13f0
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.0049f330
add esp, 0x30
jmp 0x4a2f8d
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 0x4a2f5e
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.004b13f0
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.0049f330
add esp, 0x20
jmp 0x4a2f8d
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.004b13f0
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.0049f330
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x4a2fa5
push 2
push dword [esi + 8]
call fcn.004add00
add esp, 8
mov byte [esp + 0x12], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.004a2880
add esp, 0xc
jmp case.0x4a2fc7.1
mov eax, dword [esi + 0x24]
cmp eax, 0x10
ja case.default.0x4a2fc7
jmp dword [eax*4 + 0x4a406c]
push esi
call fcn.004b2b30
mov edi, eax
add esp, 4
test edi, edi
jne case.0x4a2fc7.1
cmp dword [esi + 0x24], 2
je 0x4a2ff7
push esi
mov dword [esi + 0x24], 2
call fcn.004b2b10
add esp, 4
push 1
push esi
call fcn.004ba8b0
add esp, 8
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
push 2
push esi
call fcn.004ba8b0
mov eax, dword [esi + 0x640]
add esp, 8
test eax, eax
je 0x4a302d
push 9
cdq
push edx
push eax
push esi
call fcn.004a1560
add esp, 0x10
mov eax, dword [esi + 0x644]
test eax, eax
je 0x4a3045
push 2
cdq
push edx
push eax
push esi
call fcn.004a1560
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x2d]
push eax
push esi
call fcn.004a9cd0
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x4a3087
cmp dword [esi + 0x24], 1
je 0x4a306c
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.004b4110
add esp, 0x10
xor edi, edi
jmp case.0x4a2fc7.1
cmp byte [esi + 0xfe9], 0
je 0x4a30f0
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.0049f410
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 0x4a30f0
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x4a30ce
push ebx
mov dword [ebx + 0x24], 2
call fcn.004b2b10
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
push dword [esp + 0x34]
call fcn.004b4190
push 7
push 0
push 0
push ebx
call fcn.004a1560
add esp, 0x1c
mov byte [ebx + 0xfe9], 1
test edi, edi
jne case.0x4a2fc7.1
cmp byte [esp + 0x29], 0
je 0x4a3115
cmp dword [esi + 0x24], 3
je case.0x4a2fc7.1
mov dword [esi + 0x24], 3
jmp case.0x4a2fc7.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x4a313b
cmp dword [esi + 0x24], 8
je case.0x4a2fc7.1
push esi
mov dword [esi + 0x24], 8
call fcn.004b20e0
jmp 0x4a3e40
push dword [esi + 8]
call fcn.004b2110
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x4a3162
cmp ecx, 5
je case.0x4a2fc7.1
mov dword [esi + 0x24], 5
jmp case.0x4a2fc7.1
cmp ecx, 4
je case.0x4a2fc7.1
mov dword [esi + 0x24], 4
jmp case.0x4a2fc7.1
mov edi, dword [esi + 8]
mov dword [esp + 0x14], ebp
cmp byte [edi + 0x2aa], 0
je 0x4a318f
mov ebx, dword [edi + 0xe4]
jmp 0x4a31a6
cmp byte [edi + 0x2a7], 0
je 0x4a31a0
mov ebx, dword [edi + 0xb4]
jmp 0x4a31a6
mov ebx, dword [edi + 0x9c]
push dword [edi + 0xfc]
push ebx
push edi
call fcn.004b48e0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a31e2
push ebx
push 0x5dbf58
mov dword [edi + 0x4ac], eax
mov byte [edi + 0x4b8], 1
xor edi, edi
push esi
call fcn.0049f410
add esp, 0xc
cmp dword [esp + 0x14], edi
jne 0x4a31f4
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.004b5190
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x28]
call fcn.004a41a0
add esp, 8
cmp dword [esp + 0x14], ebp
je 0x4a322e
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.004b4f00
mov edi, eax
add esp, 8
test edi, edi
je 0x4a3115
mov dword [esi + 8], ebp
mov byte [esp + 0x12], 1
jmp case.0x4a2fc7.1
test edi, edi
je case.0x4a2fc7.1
mov byte [esp + 0x12], 1
jmp case.0x4a2fc7.1
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.004b7480
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x2b9], 0
je 0x4a328a
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
call fcn.004a2880
add esp, 0xc
cmp dword [esi + 0x24], 2
je case.0x4a2fc7.1
push esi
mov dword [esi + 0x24], 2
call fcn.004b2b10
jmp 0x4a3e40
test edi, edi
jne 0x4a3236
cmp dword [eax + 0xf0], 2
jne 0x4a32a4
cmp byte [eax + 0x2a0], 0
je case.0x4a2fc7.1
push eax
call fcn.004b20c0
add esp, 4
test al, al
je case.0x4a2fc7.1
or ebp, 0xffffffff
cmp dword [esi + 0x24], 6
je case.0x4a2fc7.1
mov dword [esi + 0x24], 6
jmp case.0x4a2fc7.1
lea eax, [esp + 0x2a]
push eax
push 0
push dword [esi + 8]
call fcn.004adf00
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x2a], 0
je 0x4a336d
test edi, edi
jne 0x4a3375
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x4a330a
cmp byte [eax + 0x2a0], 0
je 0x4a3317
push eax
call fcn.004b2110
add esp, 4
test al, al
je 0x4a332d
cmp dword [esi + 0x24], 5
je case.0x4a2fc7.1
mov dword [esi + 0x24], 5
jmp case.0x4a2fc7.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.0x4a2fc7.1
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x5dbd94]
test eax, eax
je case.0x4a2fc7.1
push esi
call eax
jmp 0x4a3e40
test edi, edi
je case.0x4a2fc7.1
push esi
call fcn.0044a800
push 1
push edi
push esi
call fcn.004a2880
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4a2fc7.1
mov edi, dword [esi + 8]
xor cl, cl
xor ebx, ebx
mov byte [esp + 0x11], cl
cmp byte [edi + 0x2a2], bl
je 0x4a33cb
cmp byte [edi + 0x2b1], bl
je 0x4a33d7
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 0x4a3477
cmp byte [edi + 0x2b1], bl
jne 0x4a346b
push 0
push edi
call fcn.004b2130
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a3406
mov edi, ebx
push esi
call fcn.0044a800
push 1
push ebx
push esi
call fcn.004a2880
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4a2fc7.1
cmp dword [edi + 0xf0], 2
jne 0x4a341c
cmp byte [edi + 0x2a0], 0
jne 0x4a341c
xor edi, edi
jmp 0x4a3477
cmp byte [edi + 0x2b3], 0
je 0x4a343f
cmp byte [edi + 0x2aa], 0
je 0x4a343f
push edi
call fcn.004b2110
add esp, 4
test al, al
je 0x4a343f
xor edi, edi
jmp 0x4a3477
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4a345f
lea ecx, [esp + 0x11]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a3464
jmp 0x4a346b
mov byte [esp + 0x11], 1
mov byte [edi + 0x2b1], 1
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x4a33ea
cmp byte [esp + 0x11], 0
jne 0x4a3494
cmp dword [esi + 0x24], 7
je case.0x4a2fc7.1
mov dword [esi + 0x24], 7
jmp case.0x4a2fc7.1
cmp dword [esi + 0x24], 8
je 0x4a34aa
push esi
mov dword [esi + 0x24], 8
call fcn.004b20e0
add esp, 4
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a34f0
mov eax, dword [ecx + 0x2e8]
cmp dword [eax + 0x18], ebp
je 0x4a34f0
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
add esp, 8
test edi, edi
jne 0x4a3375
mov al, byte [esp + 0x11]
jmp 0x4a34fd
mov al, 1
mov ecx, 7
mov byte [esp + 0x11], al
xor edi, edi
test al, al
je case.0x4a2fc7.1
cmp ecx, 8
jmp 0x4a3498
cmp byte [esi + 0xac0], 0
je 0x4a3537
push 0
push dword [esi + 8]
call fcn.004add00
add esp, 8
cmp dword [esi + 0x24], 0xe
je 0x4a352d
mov dword [esi + 0x24], 0xe
xor edi, edi
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
mov ecx, dword [esi + 8]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x2e8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a3581
lea edx, [esp + 0x13]
push edx
push ecx
call eax
mov ebx, eax
add esp, 8
mov edi, eax
test ebx, ebx
jne 0x4a3581
cmp byte [esp + 0x13], al
je 0x4a3581
mov ecx, dword [esp + 0x1c]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.004ba8b0
add esp, 8
jmp 0x4a3587
mov edi, ebx
test ebx, ebx
jne 0x4a35dc
cmp byte [esp + 0x13], 0
jne 0x4a35a2
cmp dword [esi + 0x24], 9
je 0x4a359b
mov dword [esi + 0x24], 9
xor ebp, ebp
jmp case.0x4a2fc7.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x2b0], 0
je 0x4a35c4
cmp ecx, 0xa
je 0x4a35bd
mov dword [esi + 0x24], 0xa
xor ebp, ebp
jmp case.0x4a2fc7.1
cmp ecx, 0xb
je 0x4a34aa
mov dword [esi + 0x24], 0xb
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
cmp ebx, 0x37
jne 0x4a3691
mov eax, dword [esi + 8]
cmp byte [eax + 0x2a5], 0
je 0x4a3691
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push ecx
push eax
call fcn.004b31b0
add esp, 8
test eax, eax
je 0x4a3612
mov edi, eax
mov byte [esp + 0x12], 1
push esi
call fcn.0044a800
push 0
push edi
push esi
call fcn.004a2880
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
je 0x4a3680
test eax, eax
je 0x4a3643
cmp eax, 0x37
je 0x4a3643
push ecx
mov edi, eax
call dword [0x6560dc]
jmp 0x4a3e40
push 2
push ecx
push esi
call fcn.004b2850
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4a3670
cmp dword [esi + 0x24], 2
je 0x4a366b
push esi
mov dword [esi + 0x24], 2
call fcn.004b2b10
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x6560dc]
jmp 0x4a3e40
push ecx
mov byte [esp + 0x16], 1
call dword [0x6560dc]
jmp 0x4a3e40
push esi
call fcn.0044a800
add esp, 4
cmp dword [esi + 8], ebp
je 0x4a3387
push 0
push ebx
push esi
call fcn.004a2880
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x4a2fc7.1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a3709
mov eax, dword [ecx + 0x2e8]
cmp dword [eax + 0x1c], ebp
je 0x4a3709
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]
mov edi, eax
add esp, 8
test edi, edi
je 0x4a3715
push esi
call fcn.0044a800
push 0
push edi
push esi
call fcn.004a2880
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4a2fc7.1
mov byte [esp + 0x13], 1
mov edx, 9
xor edi, edi
cmp byte [esp + 0x13], 0
je case.0x4a2fc7.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 0x4a34aa
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x5dbda8]
test eax, eax
je 0x4a34aa
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x4a2fc7.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 + 0x2e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4a37b9
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 0x4a37b9
cmp ecx, 1
jne 0x4a37b9
mov ecx, dword [esp + 0x1c]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.004ba8b0
mov ecx, dword [esp + 0x3c]
add esp, 8
jmp 0x4a37bf
mov edi, ebx
test ebx, ebx
jne 0x4a37ff
test ecx, ecx
je 0x4a359b
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp dword [esi + 0x24], eax
je 0x4a34aa
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x5dbd80]
test eax, eax
je 0x4a34aa
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
push esi
call fcn.0044a800
push 0
push ebx
push esi
call fcn.004a2880
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4a2fc7.1
mov eax, dword [esi + 8]
mov ecx, 0xb
cmp byte [eax + 0x2bc], 0
je 0x4a3878
mov ebp, dword [ebx + 0x24]
test ebp, ebp
je 0x4a3878
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4a384c
push ebx
mov dword [ebx + 0x24], 2
call fcn.004b2b10
add esp, 4
mov eax, dword [esp + 0x24]
push 0
add eax, 0x24
push ebp
push eax
call fcn.004b4190
push 7
push 0
push 0
push ebx
call fcn.004a1560
mov byte [ebx + 0xfe9], 1
add esp, 0x1c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp dword [eax + 0x30c], 0xffffffff
jne 0x4a389e
cmp dword [eax + 0x310], 0xffffffff
jne 0x4a389e
cmp ecx, 0xe
je 0x4a38aa
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
cmp ecx, 0xc
je 0x4a38aa
mov dword [esi + 0x24], 0xc
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
push dword [esi + 8]
call fcn.004ba9e0
add esp, 4
test eax, eax
je 0x4a38cb
mov edi, 0x2a
jmp case.0x4a2fc7.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004bb8c0
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x4a2fc7.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x1c], xmm0
test edx, edx
jl 0x4a3950
jg 0x4a390a
test ecx, ecx
je 0x4a3950
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 + 0xbb0]
push edx
push ecx
push dword [esi + 0xbc4]
movups xmmword [eax], xmm0
push dword [esi + 0xbc0]
push dword [esi + 0xb14]
push dword [esi + 0xb10]
call fcn.004ba4f0
add esp, 0x38
mov dword [esp + 0x14], edx
mov ebx, eax
jmp 0x4a395c
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 0x4a39bd
jg 0x4a397b
test ecx, ecx
je 0x4a39bd
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 + 0xb0c]
push dword [esi + 0xb08]
call fcn.004ba4f0
add esp, 0x38
mov ecx, eax
jmp 0x4a39c5
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
or eax, dword [esp + 0x14]
jne 0x4a39fb
mov eax, ecx
or eax, edx
jne 0x4a39fb
cmp dword [esi + 0x24], 0xc
je 0x4a39e0
mov dword [esi + 0x24], 0xc
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004bab80
add esp, 0x14
jmp case.0x4a2fc7.1
mov eax, dword [esp + 0x14]
cmp eax, edx
jl 0x4a3a1b
jg 0x4a3a09
cmp ebx, ecx
jb 0x4a3a1b
push 0xa
push eax
push ebx
push esi
call fcn.004a1560
add esp, 0x10
jmp case.0x4a2fc7.1
push 0xa
push edx
push ecx
push esi
call fcn.004a1560
add esp, 0x10
jmp case.0x4a2fc7.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 0x4a3aa0
jg 0x4a3a5a
test ecx, ecx
je 0x4a3aa0
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 + 0xbb0]
push edx
push ecx
push dword [esi + 0xbc4]
movups xmmword [eax], xmm0
push dword [esi + 0xbc0]
push dword [esi + 0xb14]
push dword [esi + 0xb10]
call fcn.004ba4f0
add esp, 0x38
mov dword [esp + 0x38], edx
mov ebx, eax
jmp 0x4a3aac
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 0x4a3b11
jg 0x4a3acb
test ecx, ecx
je 0x4a3b11
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 + 0xb0c]
push dword [esi + 0xb08]
call fcn.004ba4f0
add esp, 0x38
mov dword [esp + 0x2c], eax
mov ecx, eax
jmp 0x4a3b1d
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 0x4a3d07
mov eax, ecx
or eax, edx
jne 0x4a3d07
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x1e]
push eax
push esi
push dword [esi + 8]
call fcn.004b2e80
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x1a]
test al, al
jne 0x4a3c10
cmp edi, 0x38
je 0x4a3c10
cmp edi, 0x5c
je 0x4a3cd1
mov bl, byte [esp + 0x2b]
test edi, edi
jne 0x4a3cd1
test al, al
je 0x4a3cb9
push esi
call fcn.0044a800
add esp, 4
test bl, bl
jne 0x4a3c41
cmp dword [esi + 0x140], ebp
jne 0x4a3c95
cmp dword [esi + 0x13c], ebp
je 0x4a3bf7
push dword [esp + 0x14]
call dword [0x6560dc]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x13c], ebp
call fcn.004b2850
push dword [esp + 0x24]
mov edi, eax
call dword [0x6560dc]
add esp, 0x14
test edi, edi
je 0x4a3bf7
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.004a2880
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x4a2fc7.1
cmp dword [esi + 0x24], 0xe
je 0x4a34aa
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
lea eax, [esp + 0x14]
push eax
push dword [esi + 8]
call fcn.004b31b0
add esp, 8
test eax, eax
jne 0x4a3ccc
cmp dword [esp + 0x14], ebp
setne bl
test bl, bl
je 0x4a3c8c
push esi
mov byte [esp + 0x1e], 1
call fcn.0044a800
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.004a2880
push edi
push dword [esp + 0x24]
push esi
call fcn.004b2850
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4a3c7d
cmp dword [esi + 0x24], 2
je 0x4a3c7a
push esi
mov dword [esi + 0x24], 2
call fcn.004b2b10
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x14]
call dword [0x6560dc]
jmp 0x4a3e40
mov al, byte [esp + 0x1a]
jmp 0x4a3b71
push dword [esp + 0x14]
call dword [0x6560dc]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x14], eax
mov edi, 3
mov dword [esi + 0x140], ebp
jmp 0x4a3c46
cmp byte [esp + 0x1b], 0
je case.0x4a2fc7.1
or ebp, 0xffffffff
jmp case.0x4a2fc7.1
test edi, edi
cmove edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2e8]
test byte [eax + 0x44], 2
jne 0x4a3cf0
cmp edi, 0x5c
je 0x4a3cf0
push 2
push ecx
call fcn.004add00
add esp, 8
push esi
call fcn.0044a800
push 1
push edi
push esi
call fcn.004a2880
add esp, 0x10
jmp case.0x4a2fc7.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004bab80
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x4a3d2a
mov dword [esi + 0x24], 0xd
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x4a3d52
jg 0x4a3d5a
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jb 0x4a3d56
push 0xa
push eax
push ebx
push esi
call fcn.004a1560
add esp, 0x10
jmp case.0x4a2fc7.1
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
mov eax, edx
push 0xa
push eax
push ebx
push esi
call fcn.004a1560
add esp, 0x10
jmp case.0x4a2fc7.1
mov eax, dword [esi + 8]
or ebp, 0xffffffff
test eax, eax
je 0x4a3e04
cmp byte [eax + 0x2bc], 0
je 0x4a3dd0
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a3dd0
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x4a3daa
push ebx
mov dword [ebx + 0x24], 2
call fcn.004b2b10
mov eax, dword [esp + 0x20]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x24
push eax
call fcn.004b4190
push 7
push 0
push 0
push ebx
call fcn.004a1560
add esp, 0x1c
mov byte [ebx + 0xfe9], 1
push 0
push edi
push esi
call fcn.004a2880
mov ecx, dword [esi + 8]
add esp, 0xc
test edi, edi
cmove edi, eax
test ecx, ecx
je 0x4a3e04
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004b4190
add esp, 0xc
mov dword [esi + 8], 0
cmp dword [esi + 0x24], 0xf
je case.0x4a2fc7.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a3e33
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004b4190
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004a1770
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, 0xf
jge 0x4a3f98
test edi, edi
je 0x4a3f36
mov ecx, dword [esp + 0x24]
add ecx, 0x24
mov dword [esp + 0x1c], ecx
mov ebp, dword [ecx]
test ebp, ebp
je 0x4a3ea7
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4a3e85
push ebx
mov dword [ebx + 0x24], 2
call fcn.004b2b10
mov ecx, dword [esp + 0x20]
add esp, 4
push 0
push ebp
push ecx
call fcn.004b4190
push 7
push 0
push 0
push ebx
call fcn.004a1560
mov byte [ebx + 0xfe9], 1
add esp, 0x1c
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x4a3ee6
cmp byte [esp + 0x12], 0
je 0x4a3ef4
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebx + 0x370]
sete byte [esp + 0x44]
push eax
call fcn.004b4190
push dword [esp + 0x48]
mov dword [esi + 8], 0
push ebx
push esi
call fcn.004a9f60
add esp, 0x18
jmp 0x4a3ef4
cmp eax, 2
jne 0x4a3ef4
push esi
call fcn.0044a800
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x4a3f95
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a3f27
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004b4190
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004a1770
jmp 0x4a3f92
mov eax, dword [esi + 8]
test eax, eax
je 0x4a3f98
push eax
call fcn.004ba9e0
add esp, 4
test eax, eax
je 0x4a3f98
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.004add00
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x4a3f95
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x4a3f7c
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x5dbdb8]
test eax, eax
je 0x4a3f95
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x24], 0xf
jne 0x4a3fe5
mov eax, dword [esi + 0xa8c]
test eax, eax
je 0x4a3fb1
push edi
push esi
call eax
add esp, 8
jmp 0x4a3fd8
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.004b4110
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x24], 0x10
je 0x4a3fe5
mov dword [esi + 0x24], 0x10
mov ebx, dword [esp + 0x24]
cmp ebp, 0xffffffff
je 0x4a2dc1
cmp byte [ebx + 0x79], 0
jne 0x4a2dc1
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.005cdcb6
add esp, 0x44
ret
push eax
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.0049f330
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005cdcb6
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.005cdcb6
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.005cdcb6
add esp, 0x44
ret