Function at 0x4e5f60
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 0x4e7337
cmp dword [esi + 0x1100], 0xc0dedbad
jne 0x4e7337
lea ebp, [esi + 0x24]
cmp dword [esi + 8], 0
mov byte [esp + 0x11], 0
mov dword [esp + 0x18], 0
jne 0x4e5fbb
mov eax, dword [ebp]
cmp eax, 2
jle 0x4e5fbb
cmp eax, 0xe
jl 0x4e730e
mov ecx, dword [esp + 0x3c]
mov al, byte [ecx + 0x79]
mov byte [ecx + 0x79], 0
test al, al
je 0x4e601a
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4e601a
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x4e5ff5
push ebx
mov dword [ebx + 0x24], 2
call fcn.00505b60
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.004f7c70
push 7
push 0
push 0
push ebx
call fcn.004e44c0
add esp, 0x1c
mov byte [ebx + 0x1001], 1
lea ebp, [esi + 0x24]
mov ecx, dword [esi + 8]
mov ebx, ebp
test ecx, ecx
je 0x4e6033
mov eax, dword [ebp]
sub eax, 3
cmp eax, 0xb
ja 0x4e6033
mov dword [ecx], esi
lea ebx, [esi + 0x24]
cmp dword [esi + 8], 0
je 0x4e6199
mov ecx, dword [ebp]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x4e6199
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.004e8ad0
add esp, 0xc
test edx, edx
jg 0x4e6199
jl 0x4e6076
test eax, eax
jae 0x4e6199
mov eax, dword [ebp]
movups xmm0, xmmword [esi + 0xb98]
cmp eax, 3
jne 0x4e60b4
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.004fa7f0
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.004e3980
add esp, 0x30
jmp 0x4e616b
cmp eax, 4
jne 0x4e60e8
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.004fa7f0
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.004e3980
add esp, 0x30
jmp 0x4e616b
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 0x4e613c
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.004fa7f0
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.004e3980
add esp, 0x20
jmp 0x4e616b
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.004fa7f0
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.004e3980
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x4e6183
push 2
push dword [esi + 8]
call fcn.004e7fc0
add esp, 8
mov byte [esp + 0x11], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.004e5a80
add esp, 0xc
jmp case.0x4e61a5.1
mov ecx, dword [ebp]
cmp ecx, 0x10
ja case.default.0x4e61a5
jmp dword [ecx*4 + 0x4e7344]
push esi
call fcn.00505b90
mov edi, eax
add esp, 4
test edi, edi
jne case.0x4e61a5.1
cmp dword [esi + 0x24], 2
je 0x4e61d5
push esi
mov dword [esi + 0x24], 2
call fcn.00505b60
add esp, 4
push 1
push esi
call fcn.004f8300
add esp, 8
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
push 2
push esi
call fcn.004f8300
mov eax, dword [esi + 0x640]
add esp, 8
test eax, eax
je 0x4e6210
push 9
cdq
push edx
push eax
push esi
call fcn.004e44c0
add esp, 0x10
mov eax, dword [esi + 0x644]
test eax, eax
je 0x4e6228
push 2
cdq
push edx
push eax
push esi
call fcn.004e44c0
add esp, 0x10
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x19]
push eax
push esi
call fcn.004d6970
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x4e626e
cmp dword [esi + 0x24], 1
je 0x4e624f
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.004f7bf0
add esp, 0x10
xor edi, edi
jmp case.0x4e61a5.1
cmp byte [esi + 0x1001], 0
je 0x4e62d1
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.004e3a40
mov eax, dword [esi + 0x78]
add esp, 8
add eax, 0x24
mov dword [esp + 0x2c], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4e62d1
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4e62b2
push ebx
mov dword [ebx + 0x24], 2
call fcn.00505b60
mov eax, dword [esp + 0x30]
add esp, 4
push 0
push ebp
push eax
call fcn.004f7c70
push 7
push 0
push 0
push ebx
call fcn.004e44c0
add esp, 0x1c
mov byte [ebx + 0x1001], 1
test edi, edi
jne case.0x4e61a5.1
cmp byte [esp + 0x15], 0
je 0x4e62f6
cmp dword [esi + 0x24], 3
je case.0x4e61a5.1
mov dword [esi + 0x24], 3
jmp case.0x4e61a5.1
cmp byte [esp + 0x50], 0
mov dword [esp + 0x18], 0xffffffff
je 0x4e6321
cmp dword [esi + 0x24], 8
je case.0x4e61a5.1
push esi
mov dword [esi + 0x24], 8
call fcn.00507d10
jmp 0x4e711d
push dword [esi + 8]
call fcn.00507d40
add esp, 4
test al, al
jne 0x4e652d
cmp dword [esi + 0x24], 4
je case.0x4e61a5.1
mov dword [esi + 0x24], 4
jmp case.0x4e61a5.1
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], 0
cmp byte [eax + 0x2aa], 0
je 0x4e6366
mov ebx, dword [eax + 0xe4]
jmp 0x4e637d
cmp byte [eax + 0x2a7], 0
je 0x4e6377
mov ebx, dword [eax + 0xb4]
jmp 0x4e637d
mov ebx, dword [eax + 0x9c]
push dword [eax + 0xfc]
push ebx
push eax
call fcn.004faaf0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4e63ac
push ebx
push 0x581940
push esi
xor edi, edi
call fcn.004e3a40
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x4e63be
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.004fb340
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x40]
call fcn.004e79c0
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x4e643b
lea eax, [esp + 0x50]
push eax
push dword [esi + 8]
call fcn.004fb0c0
mov edi, eax
add esp, 8
test edi, edi
je 0x4e63f9
mov dword [esi + 8], 0
mov byte [esp + 0x11], 1
jmp case.0x4e61a5.1
cmp byte [esp + 0x50], 0
mov dword [esp + 0x18], 0xffffffff
jne 0x4e6305
push dword [esi + 8]
call fcn.00507d40
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x4e6426
cmp ecx, 5
jmp 0x4e6531
cmp ecx, 4
je case.0x4e61a5.1
mov dword [esi + 0x24], 4
jmp case.0x4e61a5.1
test edi, edi
je case.0x4e61a5.1
mov byte [esp + 0x11], 1
jmp case.0x4e61a5.1
lea eax, [esp + 0x50]
push eax
push dword [esi + 8]
call fcn.004ed9d0
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x2bc], 0
je 0x4e649b
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
push edi
push edi
push esi
call fcn.004e5a80
add esp, 0xc
cmp dword [ebx], 2
je case.0x4e61a5.1
push esi
mov dword [esi + 0x24], 2
call fcn.00505b60
jmp 0x4e711d
test edi, edi
jne 0x4e6443
cmp dword [eax + 0xf0], 2
jne 0x4e64b5
cmp byte [eax + 0x2a0], 0
je case.0x4e61a5.1
push eax
call fcn.00507cf0
add esp, 4
test al, al
je case.0x4e61a5.1
cmp dword [esi + 0x24], 6
mov dword [esp + 0x18], 0xffffffff
je case.0x4e61a5.1
mov dword [esi + 0x24], 6
jmp case.0x4e61a5.1
lea eax, [esp + 0x16]
push eax
push 0
push dword [esi + 8]
call fcn.004e8240
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x16], 0
je 0x4e6588
test edi, edi
jne 0x4e6590
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x4e6520
cmp byte [eax + 0x2a0], 0
je 0x4e652d
push eax
call fcn.00507d40
add esp, 4
test al, al
je 0x4e6543
cmp dword [esi + 0x24], 5
je case.0x4e61a5.1
mov dword [esi + 0x24], 5
jmp case.0x4e61a5.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.0x4e61a5.1
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x581784]
test eax, eax
je case.0x4e61a5.1
push esi
call eax
jmp 0x4e711d
test edi, edi
je case.0x4e61a5.1
push esi
call fcn.00505b80
push 1
push edi
push esi
call fcn.004e5a80
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4e61a5.1
mov edi, dword [esi + 8]
xor cl, cl
xor ebx, ebx
mov byte [esp + 0x50], cl
cmp byte [edi + 0x2a2], bl
je 0x4e65e6
cmp byte [edi + 0x2b1], bl
je 0x4e65f2
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 0x4e6692
cmp byte [edi + 0x2b1], bl
jne 0x4e6686
push 0
push edi
call fcn.00507dd0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4e6621
mov edi, ebx
push esi
call fcn.00505b80
push 1
push ebx
push esi
call fcn.004e5a80
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4e61a5.1
cmp dword [edi + 0xf0], 2
jne 0x4e6637
cmp byte [edi + 0x2a0], 0
jne 0x4e6637
xor edi, edi
jmp 0x4e6692
cmp byte [edi + 0x2b3], 0
je 0x4e665a
cmp byte [edi + 0x2aa], 0
je 0x4e665a
push edi
call fcn.00507d40
add esp, 4
test al, al
je 0x4e665a
xor edi, edi
jmp 0x4e6692
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4e667a
lea ecx, [esp + 0x50]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4e667f
jmp 0x4e6686
mov byte [esp + 0x50], 1
mov byte [edi + 0x2b1], 1
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x4e6605
cmp byte [esp + 0x50], 0
mov eax, dword [esi + 0x24]
jne 0x4e66b1
cmp eax, 7
je case.0x4e61a5.1
mov dword [esi + 0x24], 7
jmp case.0x4e61a5.1
cmp eax, 8
je 0x4e66c6
mov dword [esi + 0x24], 8
push esi
call fcn.00507d10
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
mov edx, dword [esi + 8]
test edx, edx
je 0x4e6715
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x18], 0
je 0x4e6715
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 0x4e6590
mov dl, byte [esp + 0x50]
jmp 0x4e6720
mov dl, 1
lea eax, [esi + 0x24]
mov byte [esp + 0x50], dl
xor edi, edi
test dl, dl
je case.0x4e61a5.1
cmp ecx, 8
je 0x4e66c6
mov dword [eax], 8
jmp 0x4e66bd
cmp byte [esi + 0xad5], 0
je 0x4e6766
push 0
push dword [esi + 8]
call fcn.004e7fc0
add esp, 8
cmp dword [ebx], 0xe
je 0x4e6757
mov dword [esi + 0x24], 0xe
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
mov ebp, dword [esi + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x2e8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e67aa
lea ecx, [esp + 0x12]
push ecx
push ebp
call eax
mov ebx, eax
add esp, 8
mov edi, eax
test ebx, ebx
jne 0x4e67aa
cmp byte [esp + 0x12], al
je 0x4e67aa
mov eax, dword [ebp]
push 6
mov byte [eax + 0x58d], 0
push dword [ebp]
call fcn.004f8300
add esp, 8
jmp 0x4e67b4
mov edi, ebx
test ebx, ebx
jne 0x4e685a
cmp byte [esp + 0x12], 0
jne 0x4e6815
cmp byte [esi + 0xffb], 0
je 0x4e67fb
mov eax, dword [esi + 0x1008]
cmp eax, 7
je 0x4e67d4
cmp eax, 5
jne 0x4e67fb
push 0
push 0
push esi
call fcn.004e5a80
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x4e67ee
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
cmp dword [esi + 0x24], 9
je 0x4e6808
mov dword [esi + 0x24], 9
mov dword [esp + 0x18], 0
jmp case.0x4e61a5.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x2b0], 0
je 0x4e683d
cmp ecx, 0xa
je 0x4e6830
mov dword [esi + 0x24], 0xa
mov dword [esp + 0x18], 0
jmp case.0x4e61a5.1
cmp ecx, 0xb
je 0x4e66c6
mov dword [esi + 0x24], 0xb
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
cmp ebx, 0x37
jne 0x4e6918
mov eax, dword [esi + 8]
cmp byte [eax + 0x2a5], 0
je 0x4e6918
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push eax
call fcn.00506250
add esp, 8
test eax, eax
je 0x4e6894
mov edi, eax
mov byte [esp + 0x11], 1
push esi
call fcn.00505b80
push 0
push edi
push esi
call fcn.004e5a80
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x4e6907
test eax, eax
je 0x4e68c5
cmp eax, 0x37
je 0x4e68c5
push ecx
mov edi, eax
call dword [0x5b6ea4]
jmp 0x4e711d
push 2
push ecx
push esi
call fcn.005058a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4e68f7
cmp dword [esi + 0x24], 2
je 0x4e68ed
push esi
mov dword [esi + 0x24], 2
call fcn.00505b60
add esp, 4
mov dword [esp + 0x18], 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x5b6ea4]
jmp 0x4e711d
push ecx
mov byte [esp + 0x15], 1
call dword [0x5b6ea4]
jmp 0x4e711d
push esi
call fcn.00505b80
add esp, 4
cmp dword [esi + 8], 0
je 0x4e65a2
push 0
push ebx
push esi
call fcn.004e5a80
add esp, 0xc
mov byte [esp + 0x11], 1
jmp case.0x4e61a5.1
mov edx, dword [esi + 8]
test edx, edx
je 0x4e6995
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x1c], 0
je 0x4e6995
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 0x4e699f
push esi
call fcn.00505b80
push 0
push edi
push esi
call fcn.004e5a80
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4e61a5.1
mov byte [esp + 0x12], 1
lea edx, [esi + 0x24]
xor edi, edi
cmp byte [esp + 0x12], 0
je case.0x4e61a5.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 0x4e66c6
mov dword [edx], eax
xor eax, eax
test bl, bl
sete al
mov eax, dword [eax*4 + 0x581798]
test eax, eax
je 0x4e66c6
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.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 0x4e6a1f
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 0x4e6a4c
cmp edx, 1
jne 0x4e6a4c
mov ecx, dword [esp + 0x2c]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.004f8300
mov ecx, dword [esi + 0x24]
add esp, 8
mov edx, dword [esp + 0x20]
jmp 0x4e6a52
mov edi, ebp
test ebp, ebp
jne 0x4e6a96
test edx, edx
je 0x4e6808
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x4e66c6
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x581770]
test eax, eax
je 0x4e66c6
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
push esi
call fcn.00505b80
push 0
push ebp
push esi
call fcn.004e5a80
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x4e61a5.1
mov eax, dword [esi + 8]
mov edx, ecx
cmp byte [eax + 0x2bf], 0
je 0x4e6b12
mov eax, dword [esp + 0x3c]
add eax, 0x24
mov dword [esp + 0x2c], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4e6b12
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4e6aee
push ebx
mov dword [ebx + 0x24], 2
call fcn.00505b60
mov eax, dword [esp + 0x30]
add esp, 4
push 0
push ebp
push eax
call fcn.004f7c70
push 7
push 0
push 0
push ebx
call fcn.004e44c0
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 0x4e6b62
cmp dword [eax + 0x310], 0xffffffff
jne 0x4e6b62
cmp byte [esi + 0xffb], 0
je 0x4e6b49
mov eax, dword [eax + 0x2e8]
test dword [eax + 0x44], 0x1000
jne 0x4e6b49
mov dword [esi + 0x1008], 7
cmp ecx, 0xe
je 0x4e6b6e
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
cmp edx, 0xc
je 0x4e6b6e
mov dword [esi + 0x24], 0xc
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
push dword [esi + 8]
call fcn.004f8430
add esp, 4
test eax, eax
je 0x4e6b94
mov edi, 0x2a
jmp case.0x4e61a5.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004fc070
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x4e61a5.1
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x4e6c17
jg 0x4e6bd3
test ecx, ecx
je 0x4e6c17
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.004f7f60
add esp, 0x38
mov ebx, eax
mov ebp, edx
jmp 0x4e6c1f
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 0x4e6c80
jg 0x4e6c3e
test ecx, ecx
je 0x4e6c80
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.004f7f60
add esp, 0x38
mov ecx, eax
jmp 0x4e6c88
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, ebp
jne 0x4e6cbc
mov eax, ecx
or eax, edx
jne 0x4e6cbc
cmp dword [esi + 0x24], 0xc
je 0x4e6ca1
mov dword [esi + 0x24], 0xc
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004f85d0
add esp, 0x14
jmp case.0x4e61a5.1
cmp ebp, edx
jl 0x4e6cd8
jg 0x4e6cc6
cmp ebx, ecx
jb 0x4e6cd8
push 0xa
push ebp
push ebx
push esi
call fcn.004e44c0
add esp, 0x10
jmp case.0x4e61a5.1
push 0xa
push edx
push ecx
push esi
call fcn.004e44c0
add esp, 0x10
jmp case.0x4e61a5.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 0x4e6d5f
jg 0x4e6d1b
test ecx, ecx
je 0x4e6d5f
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.004f7f60
add esp, 0x38
mov ebx, eax
mov ebp, edx
jmp 0x4e6d67
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 0x4e6dcc
jg 0x4e6d86
test ecx, ecx
je 0x4e6dcc
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.004f7f60
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x4e6dd8
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 0x4e6fc2
mov eax, ecx
or eax, edx
jne 0x4e6fc2
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [esi + 8]
call fcn.00505f10
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x13]
test al, al
jne 0x4e6ebd
cmp edi, 0x38
je 0x4e6ebd
cmp edi, 0x5c
je 0x4e6f8c
mov bl, byte [esp + 0x17]
test edi, edi
jne 0x4e6f8c
test al, al
je 0x4e6f6f
push esi
call fcn.00505b80
add esp, 4
test bl, bl
jne 0x4e6eee
cmp dword [esi + 0x140], edi
jne 0x4e6f47
cmp dword [esi + 0x13c], edi
je 0x4e67e1
push dword [esp + 0x1c]
call dword [0x5b6ea4]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x13c], edi
call fcn.005058a0
push dword [esp + 0x2c]
mov edi, eax
call dword [0x5b6ea4]
add esp, 0x14
test edi, edi
je 0x4e67e1
push 1
push edi
push esi
mov byte [esp + 0x1d], 1
call fcn.004e5a80
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x4e61a5.1
jmp 0x4e67e1
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.00506250
add esp, 8
test eax, eax
jne 0x4e6f87
cmp dword [esp + 0x1c], eax
setne bl
test bl, bl
je 0x4e6f3e
push esi
mov byte [esp + 0x17], 1
call fcn.00505b80
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.004e5a80
push edi
push dword [esp + 0x2c]
push esi
call fcn.005058a0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4e6f2f
cmp dword [esi + 0x24], 2
je 0x4e6f27
push esi
mov dword [esi + 0x24], 2
call fcn.00505b60
add esp, 4
mov dword [esp + 0x18], 0xffffffff
push dword [esp + 0x1c]
call dword [0x5b6ea4]
jmp 0x4e711d
mov al, byte [esp + 0x13]
jmp 0x4e6e2a
push dword [esp + 0x1c]
call dword [0x5b6ea4]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x140], 0
jmp 0x4e6ef3
cmp byte [esp + 0x14], 0
je case.0x4e61a5.1
mov dword [esp + 0x18], 0xffffffff
jmp case.0x4e61a5.1
test edi, edi
cmove edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2e8]
test byte [eax + 0x44], 2
jne 0x4e6fab
cmp edi, 0x5c
je 0x4e6fab
push 2
push ecx
call fcn.004e7fc0
add esp, 8
push esi
call fcn.00505b80
push 1
push edi
push esi
call fcn.004e5a80
add esp, 0x10
jmp case.0x4e61a5.1
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004f85d0
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x4e6fe5
mov dword [esi + 0x24], 0xd
mov ecx, dword [esp + 0x2c]
cmp ebp, ecx
jl 0x4e7009
jg 0x4e7011
mov eax, dword [esp + 0x24]
cmp ebx, eax
jb 0x4e700d
push 0xa
push ebp
push ebx
push esi
call fcn.004e44c0
add esp, 0x10
jmp case.0x4e61a5.1
mov eax, dword [esp + 0x24]
mov ebx, eax
mov ebp, ecx
push 0xa
push ebp
push ebx
push esi
call fcn.004e44c0
add esp, 0x10
jmp case.0x4e61a5.1
mov eax, dword [esi + 8]
mov dword [esp + 0x18], 0xffffffff
test eax, eax
je 0x4e70c0
cmp byte [eax + 0x2bf], 0
je 0x4e708c
mov eax, dword [esp + 0x3c]
add eax, 0x24
mov dword [esp + 0x2c], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4e708c
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4e706d
push ebx
mov dword [ebx + 0x24], 2
call fcn.00505b60
mov eax, dword [esp + 0x30]
add esp, 4
push 0
push ebp
push eax
call fcn.004f7c70
push 7
push 0
push 0
push ebx
call fcn.004e44c0
add esp, 0x1c
mov byte [ebx + 0x1001], 1
push 0
push edi
push esi
call fcn.004e5a80
mov ecx, dword [esi + 8]
add esp, 0xc
test edi, edi
cmove edi, eax
test ecx, ecx
je 0x4e70c0
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004f7c70
add esp, 0xc
mov dword [esi + 8], 0
cmp byte [esi + 0xffb], 0
je 0x4e70e1
cmp dword [esi + 0x1008], 7
je 0x4e70e1
cmp dword [esi + 0x24], 0
je case.0x4e61a5.1
mov dword [esi + 0x24], 0
jmp case.0x4e61a5.1
cmp dword [esi + 0x24], 0xf
je case.0x4e61a5.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e7110
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004f7c70
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004e46d0
add esp, 4
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x24]
cmp eax, 0xf
jge 0x4e7291
lea ebx, [esi + 0x24]
test edi, edi
je 0x4e7224
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4e7191
mov ebx, dword [ecx]
cmp dword [ebx + 0x24], 2
je 0x4e7165
push ebx
mov dword [ebx + 0x24], 2
call fcn.00505b60
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, dword [esp + 0x3c]
push 0
push ecx
add eax, 0x24
push eax
call fcn.004f7c70
push 7
push 0
push 0
push ebx
call fcn.004e44c0
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 0x4e71d0
cmp byte [esp + 0x11], 0
je 0x4e71e1
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebp + 0x370]
sete byte [esp + 0x3c]
push eax
call fcn.004f7c70
push dword [esp + 0x40]
mov dword [esi + 8], 0
push ebp
push esi
call fcn.004d6c00
add esp, 0x18
jmp 0x4e71e1
cmp eax, 2
jne 0x4e71e1
push esi
call fcn.00505b80
add esp, 4
lea ebx, [esi + 0x24]
cmp dword [ebx], 0xf
je 0x4e7289
mov eax, dword [esi + 0x78]
mov dword [ebx], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e7212
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.004f7c70
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004e46d0
add esp, 4
jmp 0x4e7289
mov eax, dword [esi + 8]
test eax, eax
je 0x4e7291
push eax
lea ebx, [esi + 0x24]
call fcn.004f8430
add esp, 4
test eax, eax
je 0x4e7291
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.004e7fc0
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x4e7286
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x4e726d
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x5817a8]
test eax, eax
je 0x4e7286
push esi
call eax
add esp, 4
lea ebx, [esi + 0x24]
mov dword [esp + 0x18], 0xffffffff
cmp dword [ebx], 0xf
mov ebp, ebx
jne 0x4e72e5
mov eax, dword [esi + 0xa9c]
test eax, eax
je 0x4e72ab
push edi
push esi
call eax
add esp, 8
jmp 0x4e72d8
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.004f7bf0
add esp, 0x10
mov dword [esp + 0x18], 0
cmp dword [ebx], 0x10
mov ebp, ebx
je 0x4e72e5
mov dword [ebx], 0x10
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x4e5f97
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 0x79]
test al, al
jne 0x4e5f97
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.004e3980
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