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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
xor edi, edi
mov byte [esp + 0x50], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x4a7d77
cmp dword [esi + 0x1100], 0xc0dedbad
jne 0x4a7d77
lea ebp, [esi + 0x24]
cmp dword [esi + 8], 0
mov byte [esp + 0x11], 0
mov dword [esp + 0x18], 0
jne 0x4a69fb
mov eax, dword [ebp]
cmp eax, 2
jle 0x4a69fb
cmp eax, 0xe
jl 0x4a7d4e
mov ecx, dword [esp + 0x3c]
mov al, byte [ecx + 0x79]
mov byte [ecx + 0x79], 0
test al, al
je 0x4a6a5a
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4a6a5a
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x4a6a35
push ebx
mov dword [ebx + 0x24], 2
call fcn.004c65a0
mov eax, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x3c]
push 0
push eax
lea eax, [ecx + 0x24]
push eax
call fcn.004b86b0
push 7
push 0
push 0
push ebx
call fcn.004a4f00
add esp, 0x1c
mov byte [ebx + 0x1001], 1
lea ebp, [esi + 0x24]
mov ecx, dword [esi + 8]
mov ebx, ebp
test ecx, ecx
je 0x4a6a73
mov eax, dword [ebp]
sub eax, 3
cmp eax, 0xb
ja 0x4a6a73
mov dword [ecx], esi
lea ebx, [esi + 0x24]
cmp dword [esi + 8], 0
je 0x4a6bd9
mov ecx, dword [ebp]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x4a6bd9
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.004a9510
add esp, 0xc
test edx, edx
jg 0x4a6bd9
jl 0x4a6ab6
test eax, eax
jae 0x4a6bd9
mov eax, dword [ebp]
movups xmm0, xmmword [esi + 0xb98]
cmp eax, 3
jne 0x4a6af4
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.004bb230
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.004a43c0
add esp, 0x30
jmp 0x4a6bab
cmp eax, 4
jne 0x4a6b28
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.004bb230
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.004a43c0
add esp, 0x30
jmp 0x4a6bab
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 0x4a6b7c
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.004bb230
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.004a43c0
add esp, 0x20
jmp 0x4a6bab
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.004bb230
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.004a43c0
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x4a6bc3
push 2
push dword [esi + 8]
call fcn.004a8a00
add esp, 8
mov byte [esp + 0x11], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.004a64c0
add esp, 0xc
jmp case.0x4a6be5.1
mov ecx, dword [ebp]
cmp ecx, 0x10
ja case.default.0x4a6be5
jmp dword [ecx*4 + 0x4a7d84]
push esi
call fcn.004c65d0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x4a6be5.1
cmp dword [esi + 0x24], 2
je 0x4a6c15
push esi
mov dword [esi + 0x24], 2
call fcn.004c65a0
add esp, 4
push 1
push esi
call fcn.004b8d40
add esp, 8
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
push 2
push esi
call fcn.004b8d40
mov eax, dword [esi + 0x640]
add esp, 8
test eax, eax
je 0x4a6c50
push 9
cdq
push edx
push eax
push esi
call fcn.004a4f00
add esp, 0x10
mov eax, dword [esi + 0x644]
test eax, eax
je 0x4a6c68
push 2
cdq
push edx
push eax
push esi
call fcn.004a4f00
add esp, 0x10
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x19]
push eax
push esi
call fcn.004971d0
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x4a6cae
cmp dword [esi + 0x24], 1
je 0x4a6c8f
mov dword [esi + 0x24], 1
lea eax, [esi + 0xc]
push eax
mov eax, dword [esp + 0x40]
push esi
push dword [eax + 0x28]
add eax, 0x24
push eax
call fcn.004b8630
add esp, 0x10
xor edi, edi
jmp case.0x4a6be5.1
cmp byte [esi + 0x1001], 0
je 0x4a6d11
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.004a4480
mov eax, dword [esi + 0x78]
add esp, 8
add eax, 0x24
mov dword [esp + 0x2c], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4a6d11
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4a6cf2
push ebx
mov dword [ebx + 0x24], 2
call fcn.004c65a0
mov eax, dword [esp + 0x30]
add esp, 4
push 0
push ebp
push eax
call fcn.004b86b0
push 7
push 0
push 0
push ebx
call fcn.004a4f00
add esp, 0x1c
mov byte [ebx + 0x1001], 1
test edi, edi
jne case.0x4a6be5.1
cmp byte [esp + 0x15], 0
je 0x4a6d36
cmp dword [esi + 0x24], 3
je case.0x4a6be5.1
mov dword [esi + 0x24], 3
jmp case.0x4a6be5.1
cmp byte [esp + 0x50], 0
mov dword [esp + 0x18], 0xffffffff
je 0x4a6d61
cmp dword [esi + 0x24], 8
je case.0x4a6be5.1
push esi
mov dword [esi + 0x24], 8
call fcn.004c8750
jmp 0x4a7b5d
push dword [esi + 8]
call fcn.004c8780
add esp, 4
test al, al
jne 0x4a6f6d
cmp dword [esi + 0x24], 4
je case.0x4a6be5.1
mov dword [esi + 0x24], 4
jmp case.0x4a6be5.1
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], 0
cmp byte [eax + 0x2aa], 0
je 0x4a6da6
mov ebx, dword [eax + 0xe4]
jmp 0x4a6dbd
cmp byte [eax + 0x2a7], 0
je 0x4a6db7
mov ebx, dword [eax + 0xb4]
jmp 0x4a6dbd
mov ebx, dword [eax + 0x9c]
push dword [eax + 0xfc]
push ebx
push eax
call fcn.004bb530
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a6dec
push ebx
push 0x526c30
push esi
xor edi, edi
call fcn.004a4480
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x4a6dfe
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.004bbd80
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x40]
call fcn.004a8400
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x4a6e7b
lea eax, [esp + 0x50]
push eax
push dword [esi + 8]
call fcn.004bbb00
mov edi, eax
add esp, 8
test edi, edi
je 0x4a6e39
mov dword [esi + 8], 0
mov byte [esp + 0x11], 1
jmp case.0x4a6be5.1
cmp byte [esp + 0x50], 0
mov dword [esp + 0x18], 0xffffffff
jne 0x4a6d45
push dword [esi + 8]
call fcn.004c8780
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x4a6e66
cmp ecx, 5
jmp 0x4a6f71
cmp ecx, 4
je case.0x4a6be5.1
mov dword [esi + 0x24], 4
jmp case.0x4a6be5.1
test edi, edi
je case.0x4a6be5.1
mov byte [esp + 0x11], 1
jmp case.0x4a6be5.1
lea eax, [esp + 0x50]
push eax
push dword [esi + 8]
call fcn.004ae410
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x2bc], 0
je 0x4a6edb
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
push edi
push edi
push esi
call fcn.004a64c0
add esp, 0xc
cmp dword [ebx], 2
je case.0x4a6be5.1
push esi
mov dword [esi + 0x24], 2
call fcn.004c65a0
jmp 0x4a7b5d
test edi, edi
jne 0x4a6e83
cmp dword [eax + 0xf0], 2
jne 0x4a6ef5
cmp byte [eax + 0x2a0], 0
je case.0x4a6be5.1
push eax
call fcn.004c8730
add esp, 4
test al, al
je case.0x4a6be5.1
cmp dword [esi + 0x24], 6
mov dword [esp + 0x18], 0xffffffff
je case.0x4a6be5.1
mov dword [esi + 0x24], 6
jmp case.0x4a6be5.1
lea eax, [esp + 0x16]
push eax
push 0
push dword [esi + 8]
call fcn.004a8c80
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x16], 0
je 0x4a6fc8
test edi, edi
jne 0x4a6fd0
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x4a6f60
cmp byte [eax + 0x2a0], 0
je 0x4a6f6d
push eax
call fcn.004c8780
add esp, 4
test al, al
je 0x4a6f83
cmp dword [esi + 0x24], 5
je case.0x4a6be5.1
mov dword [esi + 0x24], 5
jmp case.0x4a6be5.1
mov eax, dword [esi + 8]
mov dword [esp + 0x18], 0xffffffff
mov cl, byte [eax + 0x2b3]
xor eax, eax
test cl, cl
sete al
add eax, 5
cmp dword [esi + 0x24], eax
je case.0x4a6be5.1
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x526a74]
test eax, eax
je case.0x4a6be5.1
push esi
call eax
jmp 0x4a7b5d
test edi, edi
je case.0x4a6be5.1
push esi
call fcn.004c65c0
push 1
push edi
push esi
call fcn.004a64c0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4a6be5.1
mov edi, dword [esi + 8]
xor cl, cl
xor ebx, ebx
mov byte [esp + 0x50], cl
cmp byte [edi + 0x2a2], bl
je 0x4a7026
cmp byte [edi + 0x2b1], bl
je 0x4a7032
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 + 0x50], cl
jmp 0x4a70d2
cmp byte [edi + 0x2b1], bl
jne 0x4a70c6
push 0
push edi
call fcn.004c8810
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a7061
mov edi, ebx
push esi
call fcn.004c65c0
push 1
push ebx
push esi
call fcn.004a64c0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4a6be5.1
cmp dword [edi + 0xf0], 2
jne 0x4a7077
cmp byte [edi + 0x2a0], 0
jne 0x4a7077
xor edi, edi
jmp 0x4a70d2
cmp byte [edi + 0x2b3], 0
je 0x4a709a
cmp byte [edi + 0x2aa], 0
je 0x4a709a
push edi
call fcn.004c8780
add esp, 4
test al, al
je 0x4a709a
xor edi, edi
jmp 0x4a70d2
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4a70ba
lea ecx, [esp + 0x50]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a70bf
jmp 0x4a70c6
mov byte [esp + 0x50], 1
mov byte [edi + 0x2b1], 1
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x4a7045
cmp byte [esp + 0x50], 0
mov eax, dword [esi + 0x24]
jne 0x4a70f1
cmp eax, 7
je case.0x4a6be5.1
mov dword [esi + 0x24], 7
jmp case.0x4a6be5.1
cmp eax, 8
je 0x4a7106
mov dword [esi + 0x24], 8
push esi
call fcn.004c8750
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
mov edx, dword [esi + 8]
test edx, edx
je 0x4a7155
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x18], 0
je 0x4a7155
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x50]
mov eax, dword [edx + 0x2e8]
push ecx
push edx
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x24]
mov edi, eax
add esp, 8
lea eax, [esi + 0x24]
test edi, edi
jne 0x4a6fd0
mov dl, byte [esp + 0x50]
jmp 0x4a7160
mov dl, 1
lea eax, [esi + 0x24]
mov byte [esp + 0x50], dl
xor edi, edi
test dl, dl
je case.0x4a6be5.1
cmp ecx, 8
je 0x4a7106
mov dword [eax], 8
jmp 0x4a70fd
cmp byte [esi + 0xad5], 0
je 0x4a71a6
push 0
push dword [esi + 8]
call fcn.004a8a00
add esp, 8
cmp dword [ebx], 0xe
je 0x4a7197
mov dword [esi + 0x24], 0xe
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
mov ebp, dword [esi + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x2e8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a71ea
lea ecx, [esp + 0x12]
push ecx
push ebp
call eax
mov ebx, eax
add esp, 8
mov edi, eax
test ebx, ebx
jne 0x4a71ea
cmp byte [esp + 0x12], al
je 0x4a71ea
mov eax, dword [ebp]
push 6
mov byte [eax + 0x58d], 0
push dword [ebp]
call fcn.004b8d40
add esp, 8
jmp 0x4a71f4
mov edi, ebx
test ebx, ebx
jne 0x4a729a
cmp byte [esp + 0x12], 0
jne 0x4a7255
cmp byte [esi + 0xffb], 0
je 0x4a723b
mov eax, dword [esi + 0x1008]
cmp eax, 7
je 0x4a7214
cmp eax, 5
jne 0x4a723b
push 0
push 0
push esi
call fcn.004a64c0
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x4a722e
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
cmp dword [esi + 0x24], 9
je 0x4a7248
mov dword [esi + 0x24], 9
mov dword [esp + 0x18], 0
jmp case.0x4a6be5.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x2b0], 0
je 0x4a727d
cmp ecx, 0xa
je 0x4a7270
mov dword [esi + 0x24], 0xa
mov dword [esp + 0x18], 0
jmp case.0x4a6be5.1
cmp ecx, 0xb
je 0x4a7106
mov dword [esi + 0x24], 0xb
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
cmp ebx, 0x37
jne 0x4a7358
mov eax, dword [esi + 8]
cmp byte [eax + 0x2a5], 0
je 0x4a7358
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push eax
call fcn.004c6c90
add esp, 8
test eax, eax
je 0x4a72d4
mov edi, eax
mov byte [esp + 0x11], 1
push esi
call fcn.004c65c0
push 0
push edi
push esi
call fcn.004a64c0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x4a7347
test eax, eax
je 0x4a7305
cmp eax, 0x37
je 0x4a7305
push ecx
mov edi, eax
call dword [0x53c69c]
jmp 0x4a7b5d
push 2
push ecx
push esi
call fcn.004c62e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4a7337
cmp dword [esi + 0x24], 2
je 0x4a732d
push esi
mov dword [esi + 0x24], 2
call fcn.004c65a0
add esp, 4
mov dword [esp + 0x18], 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x53c69c]
jmp 0x4a7b5d
push ecx
mov byte [esp + 0x15], 1
call dword [0x53c69c]
jmp 0x4a7b5d
push esi
call fcn.004c65c0
add esp, 4
cmp dword [esi + 8], 0
je 0x4a6fe2
push 0
push ebx
push esi
call fcn.004a64c0
add esp, 0xc
mov byte [esp + 0x11], 1
jmp case.0x4a6be5.1
mov edx, dword [esi + 8]
test edx, edx
je 0x4a73d5
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x1c], 0
je 0x4a73d5
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x12]
mov eax, dword [edx + 0x2e8]
push ecx
push edx
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [esi + 0x24]
lea edx, [esi + 0x24]
mov edi, eax
add esp, 8
test edi, edi
je 0x4a73df
push esi
call fcn.004c65c0
push 0
push edi
push esi
call fcn.004a64c0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4a6be5.1
mov byte [esp + 0x12], 1
lea edx, [esi + 0x24]
xor edi, edi
cmp byte [esp + 0x12], 0
je case.0x4a6be5.1
mov eax, dword [esi + 8]
mov bl, byte [eax + 0x2b0]
xor eax, eax
test bl, bl
sete al
add eax, 0xa
cmp ecx, eax
je 0x4a7106
mov dword [edx], eax
xor eax, eax
test bl, bl
sete al
mov eax, dword [eax*4 + 0x526a88]
test eax, eax
je 0x4a7106
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
mov edi, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x20], edx
xor ebp, ebp
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4a745f
lea ecx, [esp + 0x20]
push ecx
push edi
call eax
mov ecx, dword [ebx]
add esp, 8
mov edx, dword [esp + 0x20]
mov ebp, eax
mov edi, ebp
test ebp, ebp
jne 0x4a748c
cmp edx, 1
jne 0x4a748c
mov ecx, dword [esp + 0x2c]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.004b8d40
mov ecx, dword [esi + 0x24]
add esp, 8
mov edx, dword [esp + 0x20]
jmp 0x4a7492
mov edi, ebp
test ebp, ebp
jne 0x4a74d6
test edx, edx
je 0x4a7248
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x4a7106
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x526a60]
test eax, eax
je 0x4a7106
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
push esi
call fcn.004c65c0
push 0
push ebp
push esi
call fcn.004a64c0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4a6be5.1
mov eax, dword [esi + 8]
mov edx, ecx
cmp byte [eax + 0x2bf], 0
je 0x4a7552
mov eax, dword [esp + 0x3c]
add eax, 0x24
mov dword [esp + 0x2c], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4a7552
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4a752e
push ebx
mov dword [ebx + 0x24], 2
call fcn.004c65a0
mov eax, dword [esp + 0x30]
add esp, 4
push 0
push ebp
push eax
call fcn.004b86b0
push 7
push 0
push 0
push ebx
call fcn.004a4f00
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 0x4a75a2
cmp dword [eax + 0x310], 0xffffffff
jne 0x4a75a2
cmp byte [esi + 0xffb], 0
je 0x4a7589
mov eax, dword [eax + 0x2e8]
test dword [eax + 0x44], 0x1000
jne 0x4a7589
mov dword [esi + 0x1008], 7
cmp ecx, 0xe
je 0x4a75ae
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
cmp edx, 0xc
je 0x4a75ae
mov dword [esi + 0x24], 0xc
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
push dword [esi + 8]
call fcn.004b8e70
add esp, 4
test eax, eax
je 0x4a75d4
mov edi, 0x2a
jmp case.0x4a6be5.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004bcab0
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x4a6be5.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x4a7657
jg 0x4a7613
test ecx, ecx
je 0x4a7657
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.004b89a0
add esp, 0x38
mov ebx, eax
mov ebp, edx
jmp 0x4a765f
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x67c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x678]
movlpd qword [esp + 0x24], xmm0
test edx, edx
jl 0x4a76c0
jg 0x4a767e
test ecx, ecx
je 0x4a76c0
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.004b89a0
add esp, 0x38
mov ecx, eax
jmp 0x4a76c8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, ebp
jne 0x4a76fc
mov eax, ecx
or eax, edx
jne 0x4a76fc
cmp dword [esi + 0x24], 0xc
je 0x4a76e1
mov dword [esi + 0x24], 0xc
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004b9010
add esp, 0x14
jmp case.0x4a6be5.1
cmp ebp, edx
jl 0x4a7718
jg 0x4a7706
cmp ebx, ecx
jb 0x4a7718
push 0xa
push ebp
push ebx
push esi
call fcn.004a4f00
add esp, 0x10
jmp case.0x4a6be5.1
push 0xa
push edx
push ecx
push esi
call fcn.004a4f00
add esp, 0x10
jmp case.0x4a6be5.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
mov dword [esp + 0x1c], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x14], 0
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x4a779f
jg 0x4a775b
test ecx, ecx
je 0x4a779f
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.004b89a0
add esp, 0x38
mov ebx, eax
mov ebp, edx
jmp 0x4a77a7
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x67c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x678]
movlpd qword [esp + 0x24], xmm0
test edx, edx
jl 0x4a780c
jg 0x4a77c6
test ecx, ecx
je 0x4a780c
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.004b89a0
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x4a7818
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x2c], edx
or eax, ebp
jne 0x4a7a02
mov eax, ecx
or eax, edx
jne 0x4a7a02
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [esi + 8]
call fcn.004c6950
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x13]
test al, al
jne 0x4a78fd
cmp edi, 0x38
je 0x4a78fd
cmp edi, 0x5c
je 0x4a79cc
mov bl, byte [esp + 0x17]
test edi, edi
jne 0x4a79cc
test al, al
je 0x4a79af
push esi
call fcn.004c65c0
add esp, 4
test bl, bl
jne 0x4a792e
cmp dword [esi + 0x140], edi
jne 0x4a7987
cmp dword [esi + 0x13c], edi
je 0x4a7221
push dword [esp + 0x1c]
call dword [0x53c69c]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x13c], edi
call fcn.004c62e0
push dword [esp + 0x2c]
mov edi, eax
call dword [0x53c69c]
add esp, 0x14
test edi, edi
je 0x4a7221
push 1
push edi
push esi
mov byte [esp + 0x1d], 1
call fcn.004a64c0
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x4a6be5.1
jmp 0x4a7221
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.004c6c90
add esp, 8
test eax, eax
jne 0x4a79c7
cmp dword [esp + 0x1c], eax
setne bl
test bl, bl
je 0x4a797e
push esi
mov byte [esp + 0x17], 1
call fcn.004c65c0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.004a64c0
push edi
push dword [esp + 0x2c]
push esi
call fcn.004c62e0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4a796f
cmp dword [esi + 0x24], 2
je 0x4a7967
push esi
mov dword [esi + 0x24], 2
call fcn.004c65a0
add esp, 4
mov dword [esp + 0x18], 0xffffffff
push dword [esp + 0x1c]
call dword [0x53c69c]
jmp 0x4a7b5d
mov al, byte [esp + 0x13]
jmp 0x4a786a
push dword [esp + 0x1c]
call dword [0x53c69c]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x140], 0
jmp 0x4a7933
cmp byte [esp + 0x14], 0
je case.0x4a6be5.1
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4a6be5.1
test edi, edi
cmove edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2e8]
test byte [eax + 0x44], 2
jne 0x4a79eb
cmp edi, 0x5c
je 0x4a79eb
push 2
push ecx
call fcn.004a8a00
add esp, 8
push esi
call fcn.004c65c0
push 1
push edi
push esi
call fcn.004a64c0
add esp, 0x10
jmp case.0x4a6be5.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004b9010
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x4a7a25
mov dword [esi + 0x24], 0xd
mov ecx, dword [esp + 0x2c]
cmp ebp, ecx
jl 0x4a7a49
jg 0x4a7a51
mov eax, dword [esp + 0x24]
cmp ebx, eax
jb 0x4a7a4d
push 0xa
push ebp
push ebx
push esi
call fcn.004a4f00
add esp, 0x10
jmp case.0x4a6be5.1
mov eax, dword [esp + 0x24]
mov ebx, eax
mov ebp, ecx
push 0xa
push ebp
push ebx
push esi
call fcn.004a4f00
add esp, 0x10
jmp case.0x4a6be5.1
mov eax, dword [esi + 8]
mov dword [esp + 0x18], 0xffffffff
test eax, eax
je 0x4a7b00
cmp byte [eax + 0x2bf], 0
je 0x4a7acc
mov eax, dword [esp + 0x3c]
add eax, 0x24
mov dword [esp + 0x2c], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4a7acc
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4a7aad
push ebx
mov dword [ebx + 0x24], 2
call fcn.004c65a0
mov eax, dword [esp + 0x30]
add esp, 4
push 0
push ebp
push eax
call fcn.004b86b0
push 7
push 0
push 0
push ebx
call fcn.004a4f00
add esp, 0x1c
mov byte [ebx + 0x1001], 1
push 0
push edi
push esi
call fcn.004a64c0
mov ecx, dword [esi + 8]
add esp, 0xc
test edi, edi
cmove edi, eax
test ecx, ecx
je 0x4a7b00
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004b86b0
add esp, 0xc
mov dword [esi + 8], 0
cmp byte [esi + 0xffb], 0
je 0x4a7b21
cmp dword [esi + 0x1008], 7
je 0x4a7b21
cmp dword [esi + 0x24], 0
je case.0x4a6be5.1
mov dword [esi + 0x24], 0
jmp case.0x4a6be5.1
cmp dword [esi + 0x24], 0xf
je case.0x4a6be5.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a7b50
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004b86b0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004a5110
add esp, 4
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x24]
cmp eax, 0xf
jge 0x4a7cd1
lea ebx, [esi + 0x24]
test edi, edi
je 0x4a7c64
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4a7bd1
mov ebx, dword [ecx]
cmp dword [ebx + 0x24], 2
je 0x4a7ba5
push ebx
mov dword [ebx + 0x24], 2
call fcn.004c65a0
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, dword [esp + 0x3c]
push 0
push ecx
add eax, 0x24
push eax
call fcn.004b86b0
push 7
push 0
push 0
push ebx
call fcn.004a4f00
mov byte [ebx + 0x1001], 1
add esp, 0x1c
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x24]
mov ebp, dword [esi + 8]
test ebp, ebp
je 0x4a7c10
cmp byte [esp + 0x11], 0
je 0x4a7c21
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebp + 0x370]
sete byte [esp + 0x3c]
push eax
call fcn.004b86b0
push dword [esp + 0x40]
mov dword [esi + 8], 0
push ebp
push esi
call fcn.00497460
add esp, 0x18
jmp 0x4a7c21
cmp eax, 2
jne 0x4a7c21
push esi
call fcn.004c65c0
add esp, 4
lea ebx, [esi + 0x24]
cmp dword [ebx], 0xf
je 0x4a7cc9
mov eax, dword [esi + 0x78]
mov dword [ebx], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a7c52
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004b86b0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004a5110
add esp, 4
jmp 0x4a7cc9
mov eax, dword [esi + 8]
test eax, eax
je 0x4a7cd1
push eax
lea ebx, [esi + 0x24]
call fcn.004b8e70
add esp, 4
test eax, eax
je 0x4a7cd1
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.004a8a00
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x4a7cc6
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x4a7cad
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x526a98]
test eax, eax
je 0x4a7cc6
push esi
call eax
add esp, 4
lea ebx, [esi + 0x24]
mov dword [esp + 0x18], 0xffffffff
cmp dword [ebx], 0xf
mov ebp, ebx
jne 0x4a7d25
mov eax, dword [esi + 0xa9c]
test eax, eax
je 0x4a7ceb
push edi
push esi
call eax
add esp, 8
jmp 0x4a7d18
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 + 0x44]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.004b8630
add esp, 0x10
mov dword [esp + 0x18], 0
cmp dword [ebx], 0x10
mov ebp, ebx
je 0x4a7d25
mov dword [ebx], 0x10
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x4a69d7
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 0x79]
test al, al
jne 0x4a69d7
mov dword [esi + 0x28], edi
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push eax
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.004a43c0
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov dword [esi + 0x28], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x28
ret