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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
xor edi, edi
mov byte [esp + 0x48], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x467b81
cmp dword [esi + 0x1110], 0xc0dedbad
jne 0x467b81
lea ebp, [esi + 0x24]
cmp dword [esi + 8], 0
mov byte [esp + 0x11], 0
mov dword [esp + 0x18], 0
jne 0x46668b
mov eax, dword [ebp]
cmp eax, 2
jle 0x46668b
cmp eax, 0xe
jl 0x467b58
mov ecx, dword [esp + 0x34]
mov al, byte [ecx + 0x79]
mov byte [ecx + 0x79], 0
test al, al
je 0x4666ea
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4666ea
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x4666c5
push ebx
mov dword [ebx + 0x24], 2
call fcn.0047c0a0
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x34]
push 0
push eax
lea eax, [ecx + 0x24]
push eax
call fcn.0047dac0
push 7
push 0
push 0
push ebx
call fcn.00464cd0
add esp, 0x1c
mov byte [ebx + 0x1011], 1
lea ebp, [esi + 0x24]
mov ecx, dword [esi + 8]
mov ebx, ebp
test ecx, ecx
je 0x466703
mov eax, dword [ebp]
sub eax, 3
cmp eax, 0xb
ja 0x466703
mov dword [ecx], esi
lea ebx, [esi + 0x24]
cmp dword [esi + 8], 0
je 0x466928
mov ecx, dword [ebp]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x466928
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00478570
add esp, 0xc
test edx, edx
jg 0x466928
jl 0x466746
test eax, eax
jae 0x466928
mov eax, dword [ebp]
cmp eax, 3
jne 0x4667b0
mov eax, dword [esi + 0xba8]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esi + 0xbac]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xbb0]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbb4]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
call fcn.0047d870
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.00476fc0
add esp, 0x30
jmp 0x4668fa
cmp eax, 4
jne 0x466817
mov eax, dword [esi + 0xba8]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esi + 0xbac]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xbb0]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbb4]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
call fcn.0047d870
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.00476fc0
add esp, 0x30
jmp 0x4668fa
mov edx, dword [esi + 0x88]
mov eax, edx
mov ecx, dword [esi + 0x8c]
and eax, ecx
mov ebx, dword [esi + 0x98]
cmp eax, 0xffffffff
mov edi, dword [esi + 0x9c]
mov eax, dword [esi + 0xba8]
je 0x46689e
push ecx
push edx
push edi
push ebx
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esi + 0xbac]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xbb0]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbb4]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [esp + 0x68]
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + 0xc], eax
call fcn.0047d870
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.00476fc0
add esp, 0x20
jmp 0x4668fa
push edi
push ebx
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esi + 0xbac]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xbb0]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbb4]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [esp + 0x60]
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x68]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0xc], eax
call fcn.0047d870
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.00476fc0
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x466912
push 2
push dword [esi + 8]
call fcn.00477a80
add esp, 8
mov byte [esp + 0x11], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.00466150
add esp, 0xc
jmp case.0x466934.1
mov ecx, dword [ebp]
cmp ecx, 0x10
ja case.default.0x466934
jmp dword [ecx*4 + 0x467b90]
push esi
call fcn.0047c0c0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x466934.1
cmp dword [esi + 0x24], 2
je 0x466964
push esi
mov dword [esi + 0x24], 2
call fcn.0047c0a0
add esp, 4
push 1
push esi
call fcn.00484160
add esp, 8
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
push 2
push esi
call fcn.00484160
mov eax, dword [esi + 0x640]
add esp, 8
test eax, eax
je 0x46699f
push 9
cdq
push edx
push eax
push esi
call fcn.00464cd0
add esp, 0x10
mov eax, dword [esi + 0x644]
test eax, eax
je 0x4669b7
push 2
cdq
push edx
push eax
push esi
call fcn.00464cd0
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x19]
push eax
push esi
call fcn.00472de0
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x4669fd
cmp dword [esi + 0x24], 1
je 0x4669de
mov dword [esi + 0x24], 1
lea eax, [esi + 0xc]
push eax
mov eax, dword [esp + 0x38]
push esi
push dword [eax + 0x28]
add eax, 0x24
push eax
call fcn.0047da40
add esp, 0x10
xor edi, edi
jmp case.0x466934.1
cmp byte [esi + 0x1011], 0
je 0x466a60
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.00477080
mov eax, dword [esi + 0x78]
add esp, 8
add eax, 0x24
mov dword [esp + 0x28], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x466a60
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x466a41
push ebx
mov dword [ebx + 0x24], 2
call fcn.0047c0a0
mov eax, dword [esp + 0x2c]
add esp, 4
push 0
push ebp
push eax
call fcn.0047dac0
push 7
push 0
push 0
push ebx
call fcn.00464cd0
add esp, 0x1c
mov byte [ebx + 0x1011], 1
test edi, edi
jne case.0x466934.1
cmp byte [esp + 0x15], 0
je 0x466a85
cmp dword [esi + 0x24], 3
je case.0x466934.1
mov dword [esi + 0x24], 3
jmp case.0x466934.1
cmp byte [esp + 0x48], 0
mov dword [esp + 0x18], 0xffffffff
je 0x466ab0
cmp dword [esi + 0x24], 8
je case.0x466934.1
push esi
mov dword [esi + 0x24], 8
call fcn.0047b6b0
jmp 0x467967
push dword [esi + 8]
call fcn.0047b6e0
add esp, 4
test al, al
jne 0x466cbc
cmp dword [esi + 0x24], 4
je case.0x466934.1
mov dword [esi + 0x24], 4
jmp case.0x466934.1
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], 0
cmp byte [eax + 0x2aa], 0
je 0x466af5
mov ebx, dword [eax + 0xe4]
jmp 0x466b0c
cmp byte [eax + 0x2a7], 0
je 0x466b06
mov ebx, dword [eax + 0xb4]
jmp 0x466b0c
mov ebx, dword [eax + 0x9c]
push dword [eax + 0xfc]
push ebx
push eax
call fcn.0047e200
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x466b3b
push ebx
push 0x4e9820
push esi
xor edi, edi
call fcn.00477080
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x466b4d
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.0047ea50
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x38]
call fcn.00467cf0
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x466bca
lea eax, [esp + 0x48]
push eax
push dword [esi + 8]
call fcn.0047e7d0
mov edi, eax
add esp, 8
test edi, edi
je 0x466b88
mov dword [esi + 8], 0
mov byte [esp + 0x11], 1
jmp case.0x466934.1
cmp byte [esp + 0x48], 0
mov dword [esp + 0x18], 0xffffffff
jne 0x466a94
push dword [esi + 8]
call fcn.0047b6e0
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x466bb5
cmp ecx, 5
jmp 0x466cc0
cmp ecx, 4
je case.0x466934.1
mov dword [esi + 0x24], 4
jmp case.0x466934.1
test edi, edi
je case.0x466934.1
mov byte [esp + 0x11], 1
jmp case.0x466934.1
lea eax, [esp + 0x48]
push eax
push dword [esi + 8]
call fcn.00480d50
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x2bc], 0
je 0x466c2a
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
push edi
push edi
push esi
call fcn.00466150
add esp, 0xc
cmp dword [ebx], 2
je case.0x466934.1
push esi
mov dword [esi + 0x24], 2
call fcn.0047c0a0
jmp 0x467967
test edi, edi
jne 0x466bd2
cmp dword [eax + 0xf0], 2
jne 0x466c44
cmp byte [eax + 0x2a0], 0
je case.0x466934.1
push eax
call fcn.0047b690
add esp, 4
test al, al
je case.0x466934.1
cmp dword [esi + 0x24], 6
mov dword [esp + 0x18], 0xffffffff
je case.0x466934.1
mov dword [esi + 0x24], 6
jmp case.0x466934.1
lea eax, [esp + 0x16]
push eax
push 0
push dword [esi + 8]
call fcn.00477ca0
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x16], 0
je 0x466d17
test edi, edi
jne 0x466d1f
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x466caf
cmp byte [eax + 0x2a0], 0
je 0x466cbc
push eax
call fcn.0047b6e0
add esp, 4
test al, al
je 0x466cd2
cmp dword [esi + 0x24], 5
je case.0x466934.1
mov dword [esi + 0x24], 5
jmp case.0x466934.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.0x466934.1
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x4e965c]
test eax, eax
je case.0x466934.1
push esi
call eax
jmp 0x467967
test edi, edi
je case.0x466934.1
push esi
call fcn.004267b0
push 1
push edi
push esi
call fcn.00466150
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x466934.1
mov edi, dword [esi + 8]
xor ebx, ebx
mov byte [esp + 0x48], bl
cmp byte [edi + 0x2a2], bl
je 0x466d6b
cmp byte [edi + 0x2b1], bl
je 0x466d77
mov eax, dword [edi + 0x2e8]
cmp dword [eax + 0x18], ebx
jne 0x466d64
mov byte [esp + 0x48], 1
xor edi, edi
jmp 0x466e17
cmp byte [edi + 0x2b1], bl
jne 0x466e0b
push 0
push edi
call fcn.0047b770
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x466da6
mov edi, ebx
push esi
call fcn.004267b0
push 1
push ebx
push esi
call fcn.00466150
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x466934.1
cmp dword [edi + 0xf0], 2
jne 0x466dbc
cmp byte [edi + 0x2a0], 0
jne 0x466dbc
xor edi, edi
jmp 0x466e17
cmp byte [edi + 0x2b3], 0
je 0x466ddf
cmp byte [edi + 0x2aa], 0
je 0x466ddf
push edi
call fcn.0047b6e0
add esp, 4
test al, al
je 0x466ddf
xor edi, edi
jmp 0x466e17
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x466dff
lea ecx, [esp + 0x48]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x466e04
jmp 0x466e0b
mov byte [esp + 0x48], 1
mov byte [edi + 0x2b1], 1
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x466d8a
cmp byte [esp + 0x48], 0
mov eax, dword [esi + 0x24]
jne 0x466e36
cmp eax, 7
je case.0x466934.1
mov dword [esi + 0x24], 7
jmp case.0x466934.1
cmp eax, 8
je 0x466e4b
mov dword [esi + 0x24], 8
push esi
call fcn.0047b6b0
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
mov edx, dword [esi + 8]
test edx, edx
je 0x466e9a
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x18], 0
je 0x466e9a
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x48]
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 0x466d1f
mov dl, byte [esp + 0x48]
jmp 0x466ea5
mov dl, 1
lea eax, [esi + 0x24]
mov byte [esp + 0x48], dl
xor edi, edi
test dl, dl
je case.0x466934.1
cmp ecx, 8
je 0x466e4b
mov dword [eax], 8
jmp 0x466e42
cmp byte [esi + 0xae5], 0
je 0x466eeb
push 0
push dword [esi + 8]
call fcn.00477a80
add esp, 8
cmp dword [ebx], 0xe
je 0x466edc
mov dword [esi + 0x24], 0xe
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
mov ebp, dword [esi + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x2e8]
mov eax, dword [eax + 8]
test eax, eax
je 0x466f2f
lea ecx, [esp + 0x12]
push ecx
push ebp
call eax
mov ebx, eax
add esp, 8
mov edi, eax
test ebx, ebx
jne 0x466f2f
cmp byte [esp + 0x12], al
je 0x466f2f
mov eax, dword [ebp]
push 6
mov byte [eax + 0x58d], 0
push dword [ebp]
call fcn.00484160
add esp, 8
jmp 0x466f39
mov edi, ebx
test ebx, ebx
jne 0x466fdf
cmp byte [esp + 0x12], 0
jne 0x466f9a
cmp byte [esi + 0x100b], 0
je 0x466f80
mov eax, dword [esi + 0x1018]
cmp eax, 7
je 0x466f59
cmp eax, 5
jne 0x466f80
push 0
push 0
push esi
call fcn.00466150
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x466f73
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
cmp dword [esi + 0x24], 9
je 0x466f8d
mov dword [esi + 0x24], 9
mov dword [esp + 0x18], 0
jmp case.0x466934.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x2b0], 0
je 0x466fc2
cmp ecx, 0xa
je 0x466fb5
mov dword [esi + 0x24], 0xa
mov dword [esp + 0x18], 0
jmp case.0x466934.1
cmp ecx, 0xb
je 0x466e4b
mov dword [esi + 0x24], 0xb
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
cmp ebx, 0x37
jne 0x46709d
mov eax, dword [esi + 8]
cmp byte [eax + 0x2a5], 0
je 0x46709d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push eax
call fcn.0047c810
add esp, 8
test eax, eax
je 0x467019
mov edi, eax
mov byte [esp + 0x11], 1
push esi
call fcn.004267b0
push 0
push edi
push esi
call fcn.00466150
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x46708c
test eax, eax
je 0x46704a
cmp eax, 0x37
je 0x46704a
push ecx
mov edi, eax
call dword [0x59c9a8]
jmp 0x467967
push 2
push ecx
push esi
call fcn.0047bdf0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46707c
cmp dword [esi + 0x24], 2
je 0x467072
push esi
mov dword [esi + 0x24], 2
call fcn.0047c0a0
add esp, 4
mov dword [esp + 0x18], 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x59c9a8]
jmp 0x467967
push ecx
mov byte [esp + 0x15], 1
call dword [0x59c9a8]
jmp 0x467967
push esi
call fcn.004267b0
add esp, 4
cmp dword [esi + 8], 0
je 0x466d31
push 0
push ebx
push esi
call fcn.00466150
add esp, 0xc
mov byte [esp + 0x11], 1
jmp case.0x466934.1
mov edx, dword [esi + 8]
test edx, edx
je 0x46711a
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x1c], 0
je 0x46711a
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 0x467124
push esi
call fcn.004267b0
push 0
push edi
push esi
call fcn.00466150
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x466934.1
mov byte [esp + 0x12], 1
lea edx, [esi + 0x24]
xor edi, edi
cmp byte [esp + 0x12], 0
je case.0x466934.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 0x466e4b
mov dword [edx], eax
xor eax, eax
test bl, bl
sete al
mov eax, dword [eax*4 + 0x4e9670]
test eax, eax
je 0x466e4b
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
mov edi, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x20], edx
xor ebp, ebp
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4671a4
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 0x4671d1
cmp edx, 1
jne 0x4671d1
mov ecx, dword [esp + 0x28]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.00484160
mov ecx, dword [esi + 0x24]
add esp, 8
mov edx, dword [esp + 0x20]
jmp 0x4671d7
mov edi, ebp
test ebp, ebp
jne 0x46721b
test edx, edx
je 0x466f8d
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x466e4b
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x4e9648]
test eax, eax
je 0x466e4b
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
push esi
call fcn.004267b0
push 0
push ebp
push esi
call fcn.00466150
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x466934.1
mov eax, dword [esi + 8]
mov edx, ecx
cmp byte [eax + 0x2bf], 0
je 0x467297
mov eax, dword [esp + 0x34]
add eax, 0x24
mov dword [esp + 0x28], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x467297
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x467273
push ebx
mov dword [ebx + 0x24], 2
call fcn.0047c0a0
mov eax, dword [esp + 0x2c]
add esp, 4
push 0
push ebp
push eax
call fcn.0047dac0
push 7
push 0
push 0
push ebx
call fcn.00464cd0
mov byte [ebx + 0x1011], 1
add esp, 0x1c
mov edx, dword [esi + 0x24]
mov ecx, edx
mov eax, dword [esi + 8]
cmp dword [eax + 0x30c], 0xffffffff
jne 0x4672e7
cmp dword [eax + 0x310], 0xffffffff
jne 0x4672e7
cmp byte [esi + 0x100b], 0
je 0x4672ce
mov eax, dword [eax + 0x2e8]
test dword [eax + 0x44], 0x1000
jne 0x4672ce
mov dword [esi + 0x1018], 7
cmp ecx, 0xe
je 0x4672f3
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
cmp edx, 0xc
je 0x4672f3
mov dword [esi + 0x24], 0xc
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
push dword [esi + 8]
call fcn.00484340
add esp, 4
test eax, eax
je 0x467319
mov edi, 0x2a
jmp case.0x466934.1
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 0xc], eax
call fcn.00485160
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x466934.1
mov edx, dword [esi + 0x670]
xor ebx, ebx
xor ebp, ebp
cmp dword [esi + 0x674], ebx
jl 0x4673d7
jg 0x467364
test edx, edx
je 0x4673d7
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, esp
push dword [esi + 0x674]
mov eax, dword [esi + 0xbd8]
push edx
push dword [esi + 0xbec]
mov dword [ecx], eax
push dword [esi + 0xbe8]
mov eax, dword [esi + 0xbdc]
push dword [esi + 0xb3c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xbe0]
push dword [esi + 0xb38]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbe4]
mov dword [ecx + 0xc], eax
call fcn.00483d20
add esp, 0x38
mov ebx, eax
mov ebp, edx
xor eax, eax
xor edx, edx
cmp dword [esi + 0x67c], eax
jl 0x467461
jg 0x4673ed
cmp dword [esi + 0x678], eax
jbe 0x467461
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, esp
push dword [esi + 0x67c]
mov eax, dword [esi + 0xbf0]
push dword [esi + 0x678]
mov dword [ecx], eax
push dword [esi + 0xc04]
mov eax, dword [esi + 0xbf4]
push dword [esi + 0xc00]
mov dword [ecx + 4], eax
push dword [esi + 0xb34]
mov eax, dword [esi + 0xbf8]
push dword [esi + 0xb30]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbfc]
mov dword [ecx + 0xc], eax
call fcn.00483d20
add esp, 0x38
mov ecx, ebx
or ecx, ebp
jne 0x4674a8
mov ecx, eax
or ecx, edx
jne 0x4674a8
cmp dword [esi + 0x24], 0xc
je 0x46747a
mov dword [esi + 0x24], 0xc
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 0xc], eax
call fcn.004844d0
add esp, 0x14
jmp case.0x466934.1
cmp ebp, edx
jl 0x4674c4
jg 0x4674b2
cmp ebx, eax
jb 0x4674c4
push 0xa
push ebp
push ebx
push esi
call fcn.00464cd0
add esp, 0x10
jmp case.0x466934.1
push 0xa
push edx
push eax
push esi
call fcn.00464cd0
add esp, 0x10
jmp case.0x466934.1
mov edx, dword [esi + 0x670]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x1c], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x14], 0
cmp dword [esi + 0x674], ebx
jl 0x467573
jg 0x467500
test edx, edx
je 0x467573
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, esp
push dword [esi + 0x674]
mov eax, dword [esi + 0xbd8]
push edx
push dword [esi + 0xbec]
mov dword [ecx], eax
push dword [esi + 0xbe8]
mov eax, dword [esi + 0xbdc]
push dword [esi + 0xb3c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xbe0]
push dword [esi + 0xb38]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbe4]
mov dword [ecx + 0xc], eax
call fcn.00483d20
add esp, 0x38
mov ebx, eax
mov ebp, edx
xor eax, eax
xor edx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
cmp dword [esi + 0x67c], eax
jl 0x467611
jg 0x467595
cmp dword [esi + 0x678], eax
jbe 0x467611
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, esp
push dword [esi + 0x67c]
mov eax, dword [esi + 0xbf0]
push dword [esi + 0x678]
mov dword [ecx], eax
push dword [esi + 0xc04]
mov eax, dword [esi + 0xbf4]
push dword [esi + 0xc00]
mov dword [ecx + 4], eax
push dword [esi + 0xb34]
mov eax, dword [esi + 0xbf8]
push dword [esi + 0xb30]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xbfc]
mov dword [ecx + 0xc], eax
call fcn.00483d20
add esp, 0x38
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ecx, ebx
or ecx, ebp
jne 0x4677f8
mov ecx, eax
or ecx, edx
jne 0x4677f8
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [esi + 8]
call fcn.0047c440
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x13]
test al, al
jne 0x4676f2
cmp edi, 0x38
je 0x4676f2
cmp edi, 0x5c
je 0x4677c2
mov bl, byte [esp + 0x17]
test edi, edi
jne 0x4677c2
test al, al
je 0x4677a4
push esi
call fcn.004267b0
add esp, 4
test bl, bl
jne 0x467723
cmp dword [esi + 0x140], edi
jne 0x46777c
cmp dword [esi + 0x13c], edi
je 0x466f66
push dword [esp + 0x1c]
call dword [0x59c9a8]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x13c], edi
call fcn.0047bdf0
push dword [esp + 0x2c]
mov edi, eax
call dword [0x59c9a8]
add esp, 0x14
test edi, edi
je 0x466f66
push 1
push edi
push esi
mov byte [esp + 0x1d], 1
call fcn.00466150
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x466934.1
jmp 0x466f66
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.0047c810
add esp, 8
test eax, eax
jne 0x4677bc
cmp dword [esp + 0x1c], eax
setne bl
test bl, bl
je 0x467773
push esi
mov byte [esp + 0x17], 1
call fcn.004267b0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.00466150
push edi
push dword [esp + 0x2c]
push esi
call fcn.0047bdf0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x467764
cmp dword [esi + 0x24], 2
je 0x46775c
push esi
mov dword [esi + 0x24], 2
call fcn.0047c0a0
add esp, 4
mov dword [esp + 0x18], 0xffffffff
push dword [esp + 0x1c]
call dword [0x59c9a8]
jmp 0x467967
mov al, byte [esp + 0x13]
jmp 0x46765f
push dword [esp + 0x1c]
call dword [0x59c9a8]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x140], 0
jmp 0x467728
cmp byte [esp + 0x14], 0
je case.0x466934.1
mov dword [esp + 0x18], 0xffffffff
jmp case.0x466934.1
test edi, edi
jne 0x4677c2
mov edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2e8]
test byte [eax + 0x44], 2
jne 0x4677e1
cmp edi, 0x5c
je 0x4677e1
push 2
push ecx
call fcn.00477a80
add esp, 8
push esi
call fcn.004267b0
push 1
push edi
push esi
call fcn.00466150
add esp, 0x10
jmp case.0x466934.1
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 0xc], eax
call fcn.004844d0
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x46782e
mov dword [esi + 0x24], 0xd
mov ecx, dword [esp + 0x28]
cmp ebp, ecx
jl 0x467852
jg 0x46785a
mov eax, dword [esp + 0x24]
cmp ebx, eax
jb 0x467856
push 0xa
push ebp
push ebx
push esi
call fcn.00464cd0
add esp, 0x10
jmp case.0x466934.1
mov eax, dword [esp + 0x24]
mov ebx, eax
mov ebp, ecx
push 0xa
push ebp
push ebx
push esi
call fcn.00464cd0
add esp, 0x10
jmp case.0x466934.1
mov eax, dword [esi + 8]
mov dword [esp + 0x18], 0xffffffff
test eax, eax
je 0x46790a
cmp byte [eax + 0x2bf], 0
je 0x4678d5
mov eax, dword [esp + 0x34]
add eax, 0x24
mov dword [esp + 0x28], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x4678d5
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4678b6
push ebx
mov dword [ebx + 0x24], 2
call fcn.0047c0a0
mov eax, dword [esp + 0x2c]
add esp, 4
push 0
push ebp
push eax
call fcn.0047dac0
push 7
push 0
push 0
push ebx
call fcn.00464cd0
add esp, 0x1c
mov byte [ebx + 0x1011], 1
push 0
push edi
push esi
call fcn.00466150
add esp, 0xc
test edi, edi
jne 0x4678e7
mov edi, eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46790a
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.0047dac0
add esp, 0xc
mov dword [esi + 8], 0
cmp byte [esi + 0x100b], 0
je 0x46792b
cmp dword [esi + 0x1018], 7
je 0x46792b
cmp dword [esi + 0x24], 0
je case.0x466934.1
mov dword [esi + 0x24], 0
jmp case.0x466934.1
cmp dword [esi + 0x24], 0xf
je case.0x466934.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46795a
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.0047dac0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.00464f70
add esp, 4
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x24]
cmp eax, 0xf
jge 0x467adb
lea ebx, [esi + 0x24]
test edi, edi
je 0x467a6e
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4679db
mov ebx, dword [ecx]
cmp dword [ebx + 0x24], 2
je 0x4679af
push ebx
mov dword [ebx + 0x24], 2
call fcn.0047c0a0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esp + 0x34]
push 0
push ecx
add eax, 0x24
push eax
call fcn.0047dac0
push 7
push 0
push 0
push ebx
call fcn.00464cd0
mov byte [ebx + 0x1011], 1
add esp, 0x1c
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x24]
mov ebp, dword [esi + 8]
test ebp, ebp
je 0x467a1a
cmp byte [esp + 0x11], 0
je 0x467a2b
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebp + 0x370]
sete byte [esp + 0x34]
push eax
call fcn.0047dac0
push dword [esp + 0x38]
mov dword [esi + 8], 0
push ebp
push esi
call fcn.004730a0
add esp, 0x18
jmp 0x467a2b
cmp eax, 2
jne 0x467a2b
push esi
call fcn.004267b0
add esp, 4
lea ebx, [esi + 0x24]
cmp dword [ebx], 0xf
je 0x467ad3
mov eax, dword [esi + 0x78]
mov dword [ebx], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x467a5c
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.0047dac0
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.00464f70
add esp, 4
jmp 0x467ad3
mov eax, dword [esi + 8]
test eax, eax
je 0x467adb
push eax
lea ebx, [esi + 0x24]
call fcn.00484340
add esp, 4
test eax, eax
je 0x467adb
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.00477a80
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x467ad0
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x467ab7
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x4e9680]
test eax, eax
je 0x467ad0
push esi
call eax
add esp, 4
lea ebx, [esi + 0x24]
mov dword [esp + 0x18], 0xffffffff
cmp dword [ebx], 0xf
mov ebp, ebx
jne 0x467b2f
mov eax, dword [esi + 0xaac]
test eax, eax
je 0x467af5
push edi
push esi
call eax
add esp, 8
jmp 0x467b22
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 + 0x3c]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.0047da40
add esp, 0x10
mov dword [esp + 0x18], 0
cmp dword [ebx], 0x10
mov ebp, ebx
je 0x467b2f
mov dword [ebx], 0x10
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x466667
mov eax, dword [esp + 0x34]
mov al, byte [eax + 0x79]
test al, al
jne 0x466667
mov dword [esi + 0x28], edi
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push eax
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.00476fc0
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov dword [esi + 0x28], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x20
ret