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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x600088]
xor eax, esp
mov dword [esp + 0x48], eax
movups xmm0, xmmword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
push edi
xor edi, edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x1b], 0
movups xmmword [esp + 0x48], xmm0
test esi, esi
je 0x4f72d2
cmp dword [esi + 0xcd8], 0xc0dedbad
jne 0x4f72d2
lea ebx, [esi + 8]
xor ebp, ebp
mov byte [esp + 0x20], 0
cmp dword [ebx], ebp
jne 0x4f6100
mov eax, dword [esi + 0x24]
cmp eax, 2
jle 0x4f6100
cmp eax, 0x10
jl 0x4f7293
mov al, byte [ecx + 0x7c]
mov byte [ecx + 0x7c], 0
test al, al
je 0x4f6157
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4f6157
mov eax, dword [eax]
mov dword [esp + 0x38], eax
cmp dword [eax + 0x24], 2
je 0x4f6136
push eax
mov dword [eax + 0x24], 2
call fcn.0050a130
mov ecx, dword [esp + 0x28]
add esp, 4
push 0
push dword [esp + 0x30]
lea eax, [ecx + 0x24]
push eax
call fcn.0050c050
push 6
push 0
push 0
push dword [esp + 0x50]
call fcn.004f4aa0
add esp, 0x1c
mov eax, dword [ebx]
mov ecx, eax
test eax, eax
je 0x4f6171
mov edx, dword [esi + 0x24]
cmp edx, 2
jle 0x4f6171
cmp edx, 0x11
jge 0x4f6171
mov dword [eax], esi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4f62ce
mov ecx, dword [esi + 0x24]
lea eax, [ecx - 2]
cmp eax, 0xe
ja 0x4f62ce
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00505e10
add esp, 0xc
test edx, edx
jg 0x4f62ce
jl 0x4f61b2
test eax, eax
jae 0x4f62ce
mov eax, dword [esi + 0x24]
movups xmm0, xmmword [esi + 0x768]
cmp eax, 3
jne 0x4f61f0
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.0050bd50
push edx
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.00504840
add esp, 0x30
jmp 0x4f62a1
cmp eax, 4
jne 0x4f6224
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.0050bd50
push edx
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.00504840
add esp, 0x30
jmp 0x4f62a1
mov edx, dword [esi + 0x70]
mov eax, edx
mov ecx, dword [esi + 0x74]
and eax, ecx
mov edi, dword [esi + 0x94]
cmp eax, 0xffffffff
mov eax, dword [esi + 0x90]
je 0x4f6272
push ecx
push edx
push edi
push eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x78]
movups xmmword [eax], xmm0
call fcn.0050bd50
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.00504840
add esp, 0x20
jmp 0x4f62a1
push edi
push eax
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.0050bd50
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.00504840
add esp, 0x18
cmp dword [esi + 0x24], 9
jle 0x4f62b8
push 2
push dword [ebx]
call fcn.005053d0
add esp, 8
mov byte [esp + 0x20], 1
push 1
mov edi, 0x1c
push edi
push ebx
call fcn.004f5c10
add esp, 0xc
jmp case.0x4f62da.1
mov eax, dword [esi + 0x24]
cmp eax, 0x12
ja case.default.0x4f62da
jmp dword [eax*4 + 0x4f72ec]
push esi
call fcn.0050a1c0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x4f62da.1
cmp dword [esi + 0x24], 2
je 0x4f630a
push esi
mov dword [esi + 0x24], 2
call fcn.0050a130
add esp, 4
push 1
push esi
call fcn.00511ef0
add esp, 8
or ebp, 0xffffffff
jmp case.0x4f62da.1
push 2
push esi
call fcn.00511ef0
lea eax, [esp + 0x19]
push eax
lea eax, [esp + 0x41]
push eax
push ebx
push esi
call fcn.004fee10
mov edi, eax
add esp, 0x18
cmp edi, 0x59
jne 0x4f636c
cmp dword [esi + 0x24], 1
je 0x4f634d
mov dword [esi + 0x24], 1
lea eax, [esi + 0xc]
push eax
mov eax, dword [esp + 0x28]
push esi
push dword [eax + 0x28]
add eax, 0x24
push eax
call fcn.0050bf30
add esp, 0x10
xor edi, edi
jmp case.0x4f62da.1
test edi, edi
jne case.0x4f62da.1
push dword [ebx]
push esi
call fcn.00512e50
mov edi, eax
add esp, 8
test edi, edi
je 0x4f638f
mov byte [esp + 0x20], 1
jmp case.0x4f62da.1
cmp byte [esp + 0x35], 0
je 0x4f63ac
cmp dword [esi + 0x24], 3
je case.0x4f62da.1
mov dword [esi + 0x24], 3
jmp case.0x4f62da.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x4f63d9
push 1
push dword [esp + 0x28]
call fcn.004f4f80
movzx eax, al
xor eax, 1
add eax, 8
push eax
push esi
call fcn.004f5be0
add esp, 0x10
jmp case.0x4f62da.1
push dword [ebx]
call fcn.005098f0
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x4f63ff
cmp ecx, 5
je case.0x4f62da.1
mov dword [esi + 0x24], 5
jmp case.0x4f62da.1
cmp ecx, 4
je case.0x4f62da.1
mov dword [esi + 0x24], 4
jmp case.0x4f62da.1
mov edi, dword [ebx]
mov dword [esp + 0x14], ebp
cmp byte [edi + 0x286], 0
je 0x4f642b
mov eax, dword [edi + 0xe0]
jmp 0x4f6442
cmp byte [edi + 0x283], 0
je 0x4f643c
mov eax, dword [edi + 0xb0]
jmp 0x4f6442
mov eax, dword [edi + 0x9c]
push dword [edi + 0xf8]
mov dword [esp + 0x20], eax
push eax
push edi
call fcn.004fa0b0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f6485
push dword [esp + 0x1c]
mov dword [edi + 0x4f8], eax
push 0x5afdc8
mov byte [edi + 0x4fc], 1
xor edi, edi
push esi
call fcn.00504920
add esp, 0xc
cmp dword [esp + 0x14], edi
jne 0x4f6496
lea eax, [esp + 0x14]
push eax
push dword [ebx]
call fcn.004f9a60
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x28]
call fcn.004f7490
add esp, 8
cmp dword [esp + 0x14], ebp
je 0x4f64c4
lea eax, [esp + 0x11]
push eax
push dword [ebx]
call fcn.0050c640
mov edi, eax
add esp, 8
test edi, edi
je 0x4f63ac
mov dword [ebx], ebp
test edi, edi
je case.0x4f62da.1
mov byte [esp + 0x20], 1
jmp case.0x4f62da.1
lea eax, [esp + 0x11]
push eax
push dword [ebx]
call fcn.0050e5b0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
cmp byte [eax + 0x29a], 0
je 0x4f651e
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push ebx
call fcn.004f5c10
add esp, 0xc
cmp dword [esi + 0x24], 2
je case.0x4f62da.1
push esi
mov dword [esi + 0x24], 2
call fcn.0050a130
jmp 0x4f70e1
test edi, edi
jne 0x4f64cc
cmp dword [eax + 0xec], 2
jne 0x4f6538
cmp byte [eax + 0x2a1], 0
je case.0x4f62da.1
push eax
call fcn.005098a0
add esp, 4
test al, al
je case.0x4f62da.1
or ebp, 0xffffffff
cmp dword [esi + 0x24], 6
je case.0x4f62da.1
mov dword [esi + 0x24], 6
jmp case.0x4f62da.1
lea eax, [esp + 0x36]
push eax
push 0
push dword [ebx]
call fcn.005056e0
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x36], 0
je 0x4f64c4
test edi, edi
jne 0x4f64cc
mov eax, dword [ebx]
cmp dword [eax + 0xec], 2
jne 0x4f659c
cmp byte [eax + 0x2a1], 0
je 0x4f65a9
push eax
call fcn.005098f0
add esp, 4
test al, al
je 0x4f65bf
cmp dword [esi + 0x24], 5
je case.0x4f62da.1
mov dword [esi + 0x24], 5
jmp case.0x4f62da.1
mov eax, dword [ebx]
xor ecx, ecx
or ebp, 0xffffffff
cmp byte [eax + 0x291], cl
sete cl
add ecx, 5
push ecx
push esi
call fcn.004f5be0
add esp, 8
jmp case.0x4f62da.1
lea eax, [esp + 0x11]
push eax
push dword [ebx]
call fcn.004ffa50
add esp, 8
mov edi, eax
cmp byte [esp + 0x11], 0
jne 0x4f660f
cmp dword [esi + 0x24], 7
je case.0x4f62da.1
mov dword [esi + 0x24], 7
jmp case.0x4f62da.1
test edi, edi
jne 0x4f6639
push 1
push dword [esp + 0x28]
call fcn.004f4f80
movzx eax, al
xor eax, 1
add eax, 8
push eax
push esi
call fcn.004f5be0
add esp, 0x10
or ebp, 0xffffffff
jmp case.0x4f62da.1
push esi
call fcn.00403b40
push 1
push edi
push ebx
call fcn.004f5c10
add esp, 0x10
mov byte [esp + 0x20], 1
jmp case.0x4f62da.1
lea eax, [esp + 0x11]
push eax
push dword [ebx]
call fcn.004ffb10
mov edi, eax
add esp, 8
test edi, edi
jne 0x4f6639
cmp byte [esp + 0x11], al
je case.0x4f62da.1
push 1
push dword [esp + 0x28]
call fcn.004f4f80
movzx eax, al
xor eax, 1
add eax, 8
push eax
push esi
call fcn.004f5be0
add esp, 0x10
or ebp, 0xffffffff
jmp case.0x4f62da.1
push dword [ebx]
push esi
call fcn.00512f60
add esp, 8
test al, al
je case.0x4f62da.1
cmp dword [esi + 0x24], 9
je 0x4f66c3
push esi
mov dword [esi + 0x24], 9
call fcn.005098c0
add esp, 4
or ebp, 0xffffffff
jmp case.0x4f62da.1
cmp byte [esi + 0x529], 0
je 0x4f66f7
push 0
push dword [ebx]
call fcn.005053d0
add esp, 8
cmp dword [esi + 0x24], 0x10
je 0x4f66ed
mov dword [esi + 0x24], 0x10
xor edi, edi
or ebp, 0xffffffff
jmp case.0x4f62da.1
mov ecx, dword [ebx]
xor edi, edi
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x2c8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f6807
lea edx, [esp + 0x13]
push edx
push ecx
call eax
mov edi, eax
add esp, 8
cmp edi, 0x37
jne 0x4f67eb
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x282], 0
je 0x4f6807
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x64], ebp
jne 0x4f6851
mov edi, dword [ebx]
push str.Re_used_connection_seems_dead__get_a_new_one_n
mov dword [esp + 0x30], edi
mov eax, dword [edi]
push eax
mov dword [esp + 0x40], eax
call fcn.00504920
push 1
push edi
call fcn.005053d0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004f5c10
add esp, 0x1c
mov dword [ebx], ebp
test eax, eax
je 0x4f6785
cmp eax, 0x37
jne 0x4f67c9
lea eax, [esp + 0x12]
mov byte [esp + 0x12], 1
push eax
lea eax, [esp + 0x3b]
push eax
push ebx
push dword [esp + 0x44]
call fcn.004fee10
add esp, 0x10
test eax, eax
jne 0x4f67c9
mov edi, dword [ebx]
cmp byte [esp + 0x37], al
je 0x4f67c9
push eax
push edi
call fcn.004f9bc0
add esp, 8
test eax, eax
jne 0x4f67c9
lea eax, [esp + 0x12]
push eax
push edi
call fcn.0050c640
add esp, 8
mov edi, eax
test eax, eax
jne 0x4f6807
mov ecx, dword [ebx]
lea edx, [esp + 0x13]
push edx
push ecx
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 0x2c8]
mov eax, dword [eax + 8]
call eax
add esp, 8
mov edi, eax
test edi, edi
jne 0x4f68a1
cmp byte [esp + 0x13], 0
je 0x4f6807
mov eax, dword [esp + 0x1c]
push eax
call fcn.004f5b70
add esp, 4
test edi, edi
jne 0x4f68a1
cmp byte [esp + 0x13], 0
jne 0x4f686c
cmp byte [esi + 0xb9d], 0
je 0x4f6858
mov eax, dword [esi + 0xbf8]
cmp eax, 7
je 0x4f682f
cmp eax, 5
jne 0x4f6858
push 0
push 0
push ebx
call fcn.004f5c10
add esp, 0xc
cmp dword [esi + 0x24], 0x10
je 0x4f6849
mov dword [esi + 0x24], 0x10
or ebp, 0xffffffff
jmp case.0x4f62da.1
mov edi, 0x37
jmp 0x4f68aa
cmp dword [esi + 0x24], 0xa
je 0x4f6865
mov dword [esi + 0x24], 0xa
xor ebp, ebp
jmp case.0x4f62da.1
mov eax, dword [ebx]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x28c], 0
je 0x4f688d
cmp ecx, 0xb
je 0x4f6886
mov dword [esi + 0x24], 0xb
xor ebp, ebp
jmp case.0x4f62da.1
cmp ecx, 0xc
je 0x4f6899
mov dword [esi + 0x24], 0xc
or ebp, 0xffffffff
jmp case.0x4f62da.1
cmp edi, 0x37
jne 0x4f696c
mov eax, dword [ebx]
cmp byte [eax + 0x282], 0
je 0x4f696c
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push ecx
push eax
mov byte [esp + 0x1a], 0
call fcn.0050a870
add esp, 8
test eax, eax
je 0x4f68dd
mov edi, eax
mov byte [esp + 0x20], 1
jmp 0x4f68e6
cmp dword [esp + 0x14], ebp
setne byte [esp + 0x12]
push esi
call fcn.00403b40
push 0
push edi
push ebx
call fcn.004f5c10
add esp, 0x10
cmp byte [esp + 0x12], 0
je 0x4f6958
test eax, eax
je 0x4f6919
cmp eax, 0x37
je 0x4f6919
push dword [esp + 0x14]
mov edi, eax
call dword [0x600ab4]
jmp 0x4f70e1
push 2
push dword [esp + 0x18]
push esi
call fcn.00509e60
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4f695d
cmp dword [esi + 0x24], 2
je 0x4f6944
push esi
mov dword [esi + 0x24], 2
call fcn.0050a130
add esp, 4
push dword [esp + 0x14]
or ebp, 0xffffffff
xor edi, edi
call dword [0x600ab4]
jmp 0x4f70e1
mov byte [esp + 0x20], 1
push dword [esp + 0x14]
call dword [0x600ab4]
jmp 0x4f70e1
push esi
call fcn.00403b40
add esp, 4
cmp dword [ebx], ebp
je 0x4f6985
push 0
push edi
push ebx
call fcn.004f5c10
add esp, 0xc
mov byte [esp + 0x20], 1
jmp case.0x4f62da.1
lea eax, [esp + 0x13]
push eax
push dword [ebx]
call fcn.004ffb50
mov edi, eax
add esp, 8
test edi, edi
jne 0x4f69d0
cmp byte [esp + 0x13], al
je case.0x4f62da.1
mov eax, dword [ebx]
xor ecx, ecx
cmp byte [eax + 0x28c], cl
sete cl
add ecx, 0xb
push ecx
push esi
call fcn.004f5be0
add esp, 8
or ebp, 0xffffffff
jmp case.0x4f62da.1
push esi
call fcn.00403b40
push 0
push edi
push ebx
call fcn.004f5c10
add esp, 0x10
mov byte [esp + 0x20], 1
jmp case.0x4f62da.1
mov edx, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x40], ecx
xor edi, edi
mov dword [esp + 0x2c], edx
mov eax, dword [edx + 0x2c8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4f6a58
lea ecx, [esp + 0x40]
push ecx
push edx
call eax
mov ecx, dword [esp + 0x48]
mov edi, eax
add esp, 8
test edi, edi
jne 0x4f69d0
cmp ecx, 1
jne 0x4f6a58
mov edx, dword [esp + 0x2c]
push 6
mov eax, dword [edx]
mov byte [eax + 0x14c], 0
mov eax, dword [edx + 0x2d8]
mov ecx, dword [edx + 0x2d4]
cmp ecx, eax
cmovbe ecx, eax
mov eax, dword [edx]
inc ecx
mov dword [eax + 0x130], ecx
push dword [edx]
call fcn.00511ef0
mov ecx, dword [esp + 0x48]
add esp, 8
test edi, edi
jne 0x4f69d0
test ecx, ecx
je 0x4f6865
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 0xa]
push eax
push esi
call fcn.004f5be0
add esp, 8
or ebp, 0xffffffff
jmp case.0x4f62da.1
push dword [ebx]
push esi
call fcn.00512eb0
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x29d], 0
jne 0x4f6aa7
cmp dword [eax + 0x348], ebp
je 0x4f6ab6
push dword [esp + 0x24]
call fcn.004f7440
mov eax, dword [esi + 8]
add esp, 4
cmp dword [eax + 0x2d4], 0xffffffff
jne 0x4f6aff
cmp dword [eax + 0x2d8], 0xffffffff
jne 0x4f6aff
cmp byte [esi + 0xb9d], 0
je 0x4f6aea
mov eax, dword [eax + 0x2c8]
test dword [eax + 0x44], 0x1000
jne 0x4f6aea
mov dword [esi + 0xbf8], 7
cmp dword [esi + 0x24], 0x10
je 0x4f6b0c
mov dword [esi + 0x24], 0x10
or ebp, 0xffffffff
jmp case.0x4f62da.1
cmp dword [esi + 0x24], 0xd
je 0x4f6b0c
mov dword [esi + 0x24], 0xd
or ebp, 0xffffffff
jmp case.0x4f62da.1
push dword [ebx]
push esi
call fcn.00512f20
add esp, 8
test al, al
je case.0x4f62da.1
cmp dword [esi + 0x24], 0xe
je 0x4f6b34
mov dword [esi + 0x24], 0xe
or ebp, 0xffffffff
jmp case.0x4f62da.1
push dword [ebx]
call fcn.00512020
add esp, 4
test eax, eax
je 0x4f6b54
mov edi, 0x2a
jmp case.0x4f62da.1
movups xmm0, xmmword [esp + 0x48]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00512d40
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x4f62da.1
mov edx, dword [esi + 0x23c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x238]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x4f6bd7
jg 0x4f6b93
test ecx, ecx
je 0x4f6bd7
movups xmm0, xmmword [esp + 0x48]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7a0]
push edx
push ecx
push dword [esi + 0x7b4]
movups xmmword [eax], xmm0
push dword [esi + 0x7b0]
push dword [esi + 0x6f4]
push dword [esi + 0x6f0]
call fcn.00511b50
add esp, 0x38
mov dword [esp + 0x1c], edx
jmp 0x4f6be3
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0x244]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x240]
mov dword [esp + 0x14], eax
movlpd qword [esp + 0x38], xmm0
test edx, edx
jl 0x4f6c48
jg 0x4f6c06
test ecx, ecx
je 0x4f6c48
movups xmm0, xmmword [esp + 0x48]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b8]
push edx
push ecx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x6ec]
push dword [esi + 0x6e8]
call fcn.00511b50
add esp, 0x38
mov ecx, eax
jmp 0x4f6c50
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x1c]
jne 0x4f6c88
mov eax, ecx
or eax, edx
jne 0x4f6c88
cmp dword [esi + 0x24], 0xe
je 0x4f6c6d
mov dword [esi + 0x24], 0xe
movups xmm0, xmmword [esp + 0x48]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00512900
add esp, 0x14
jmp case.0x4f62da.1
cmp dword [esp + 0x1c], edx
jl 0x4f6cad
mov eax, dword [esp + 0x14]
jg 0x4f6c98
cmp eax, ecx
jb 0x4f6cad
push 9
push dword [esp + 0x20]
push eax
push esi
call fcn.004f4aa0
add esp, 0x10
jmp case.0x4f62da.1
push 9
push edx
push ecx
push esi
call fcn.004f4aa0
add esp, 0x10
jmp case.0x4f62da.1
mov edx, dword [esi + 0x23c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x238]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x12], 0
mov byte [esp + 0x2b], 0
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x4f6d30
jg 0x4f6cec
test ecx, ecx
je 0x4f6d30
movups xmm0, xmmword [esp + 0x48]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7a0]
push edx
push ecx
push dword [esi + 0x7b4]
movups xmmword [eax], xmm0
push dword [esi + 0x7b0]
push dword [esi + 0x6f4]
push dword [esi + 0x6f0]
call fcn.00511b50
add esp, 0x38
mov dword [esp + 0x44], edx
jmp 0x4f6d3c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0x244]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x240]
mov dword [esp + 0x1c], eax
movlpd qword [esp + 0x38], xmm0
test edx, edx
jl 0x4f6da5
jg 0x4f6d5f
test ecx, ecx
je 0x4f6da5
movups xmm0, xmmword [esp + 0x48]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b8]
push edx
push ecx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x6ec]
push dword [esi + 0x6e8]
call fcn.00511b50
add esp, 0x38
mov dword [esp + 0x38], eax
mov ecx, eax
jmp 0x4f6db1
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
jne 0x4f6fea
mov eax, ecx
or eax, edx
jne 0x4f6fea
lea eax, [esp + 0x2b]
push eax
lea eax, [esp + 0x1f]
push eax
push esi
push dword [ebx]
call fcn.0050a520
mov edi, eax
add esp, 0x10
mov eax, dword [esi + 0x134]
test al, 1
jne 0x4f6dfe
push dword [ebx]
call fcn.00512fa0
mov eax, dword [esi + 0x134]
add esp, 4
test al, 2
jne 0x4f6e0c
push dword [ebx]
call fcn.00512fb0
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x4f6e18
cmp edi, 0x38
jne 0x4f6e4d
lea eax, [esp + 0x14]
push eax
push dword [ebx]
call fcn.0050a870
add esp, 8
test eax, eax
jne 0x4f6e43
cmp dword [esp + 0x14], ebp
setne al
mov byte [esp + 0x12], al
test al, al
je 0x4f6e4d
xor edi, edi
mov byte [esp + 0x1b], 1
jmp 0x4f6e60
test edi, edi
jne 0x4f6fab
mov edi, eax
test edi, edi
jne 0x4f6fab
cmp byte [esp + 0x1b], 0
je 0x4f6f8f
push esi
call fcn.00403b40
mov eax, dword [ebx]
add eax, 0x34c
push eax
push esi
call fcn.004ffbc0
mov eax, dword [ebx]
add esp, 0xc
mov eax, dword [eax + 0x34c]
test eax, eax
je 0x4f6e93
push 6
push 0
push 0
push dword [eax]
call fcn.004f4aa0
add esp, 0x10
cmp byte [esp + 0x12], 0
jne 0x4f6f31
cmp dword [esi + 0x140], ebp
jne 0x4f6f0a
cmp dword [esi + 0x13c], ebp
je 0x4f6eeb
push dword [esp + 0x14]
call dword [0x600ab4]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x13c], ebp
call fcn.00509e60
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
test edi, edi
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [esp + 0x20], eax
cmp dword [esi + 0x24], 0x10
je 0x4f6ef8
mov dword [esi + 0x24], 0x10
push dword [esp + 0x14]
or ebp, 0xffffffff
call dword [0x600ab4]
jmp 0x4f70e1
push dword [esp + 0x14]
call dword [0x600ab4]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esi + 0x140], ebp
mov dword [esp + 0x2c], 3
jmp 0x4f6f39
mov dword [esp + 0x2c], 2
push 0
push 0
push ebx
call fcn.004f5c10
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4f6fdb
push dword [esp + 0x2c]
push dword [esp + 0x18]
push esi
call fcn.00509e60
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4f6fdb
cmp dword [esi + 0x24], 2
je 0x4f6f7d
push esi
mov dword [esi + 0x24], 2
call fcn.0050a130
add esp, 4
push dword [esp + 0x14]
or ebp, 0xffffffff
call dword [0x600ab4]
jmp 0x4f70e1
cmp byte [esp + 0x2b], 0
mov eax, 0xffffffff
push dword [esp + 0x14]
cmovne ebp, eax
call dword [0x600ab4]
jmp 0x4f70e1
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x2c8]
test byte [eax + 0x44], 2
jne 0x4f6fc9
cmp edi, 0x5c
je 0x4f6fc9
push 2
push ecx
call fcn.005053d0
add esp, 8
push esi
call fcn.00403b40
push 1
push edi
push ebx
call fcn.004f5c10
add esp, 0x10
push dword [esp + 0x14]
call dword [0x600ab4]
jmp 0x4f70e1
movups xmm0, xmmword [esp + 0x48]
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00512900
add esp, 0x14
cmp dword [esi + 0x24], 0xf
je 0x4f700d
mov dword [esi + 0x24], 0xf
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x2c]
jl 0x4f7037
mov eax, dword [esp + 0x1c]
jg 0x4f7041
mov edx, dword [esp + 0x38]
cmp eax, edx
jb 0x4f703b
push 9
push ecx
push eax
push esi
call fcn.004f4aa0
add esp, 0x10
jmp case.0x4f62da.1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, edx
push 9
push ecx
push eax
push esi
call fcn.004f4aa0
add esp, 0x10
jmp case.0x4f62da.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x4f70a7
add eax, 0x34c
push eax
push esi
call fcn.004ffbc0
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x29d], 0
jne 0x4f707f
cmp dword [eax + 0x348], 0
je 0x4f708b
push dword [esp + 0x24]
call fcn.004f7440
add esp, 4
push 0
push edi
push ebx
call fcn.004f5c10
add esp, 0xc
test edi, edi
cmove edi, eax
cmp dword [ebx], 0
je 0x4f70a7
mov dword [ebx], 0
cmp byte [esi + 0xb9d], 0
je 0x4f70c8
cmp dword [esi + 0xbf8], 7
je 0x4f70c8
cmp dword [esi + 0x24], 0
je case.0x4f62da.1
mov dword [esi + 0x24], 0
jmp case.0x4f62da.1
cmp dword [esi + 0x24], 0x11
je case.0x4f62da.1
mov eax, dword [esi + 0x64]
mov dword [esi + 0x24], 0x11
push esi
dec dword [eax + 0x10]
call fcn.004f4a80
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, 0x11
jge 0x4f7224
test edi, edi
je 0x4f71c4
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4f7145
mov ebp, dword [ecx]
cmp dword [ebp + 0x24], 2
je 0x4f7123
push ebp
mov dword [ebp + 0x24], 2
call fcn.0050a130
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, dword [esp + 0x24]
push 0
push ecx
add eax, 0x24
push eax
call fcn.0050c050
push 6
push 0
push 0
push ebp
call fcn.004f4aa0
mov eax, dword [esi + 0x24]
add esp, 0x1c
mov ecx, dword [ebx]
test ecx, ecx
je 0x4f719b
push ecx
call fcn.00512fb0
push dword [ebx]
call fcn.00512fa0
mov eax, dword [ebx]
add eax, 0x33c
push eax
push esi
call fcn.004ffbc0
mov eax, dword [ebx]
add eax, 0x34c
push eax
push esi
call fcn.004ffbc0
add esp, 0x18
cmp byte [esp + 0x20], 0
je 0x4f71a9
cmp edi, 0x1c
sete al
movzx eax, al
push eax
push dword [ebx]
push esi
call fcn.004ff180
add esp, 0xc
mov dword [ebx], 0
jmp 0x4f71a9
cmp eax, 2
jne 0x4f71a9
push esi
call fcn.00403b40
add esp, 4
cmp dword [esi + 0x24], 0x11
je 0x4f7221
mov eax, dword [esi + 0x64]
mov dword [esi + 0x24], 0x11
push esi
dec dword [eax + 0x10]
call fcn.004f4a80
jmp 0x4f721e
mov eax, dword [ebx]
test eax, eax
je 0x4f7224
push eax
call fcn.00512020
add esp, 4
test eax, eax
je 0x4f7224
push 2
push dword [ebx]
mov edi, 0x2a
call fcn.005053d0
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0x10
setge al
add eax, 0x10
cmp ecx, eax
je 0x4f7221
mov dword [esi + 0x24], eax
cmp ecx, 0x10
jl 0x4f7208
mov eax, dword [esi + 0x64]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0x10
setge al
mov eax, dword [eax*4 + 0x5afc28]
test eax, eax
je 0x4f7221
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x24], 0x11
jne 0x4f7260
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.0050bf30
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x24], 0x12
je 0x4f726d
mov dword [esi + 0x24], 0x12
jmp 0x4f726d
mov ecx, dword [esp + 0x24]
cmp ebp, 0xffffffff
je 0x4f60e4
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x7c], 0
jne 0x4f60e4
mov dword [esi + 0x28], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004ac0cf
add esp, 0x4c
ret
push eax
push str.In_state__d_with_no_easy_conn__bail_out__n
push esi
call fcn.00504840
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004ac0cf
add esp, 0x4c
ret
mov dword [esi + 0x28], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004ac0cf
add esp, 0x4c
ret
mov ecx, dword [esp + 0x58]
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ac0cf
add esp, 0x4c
ret