Function at 0x46abb0
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 0x46c101
cmp dword [esi + 0x1110], 0xc0dedbad
jne 0x46c101
lea ebp, [esi + 0x24]
cmp dword [esi + 8], 0
mov byte [esp + 0x11], 0
mov dword [esp + 0x18], 0
jne 0x46ac0b
mov eax, dword [ebp]
cmp eax, 2
jle 0x46ac0b
cmp eax, 0xe
jl 0x46c0d8
mov ecx, dword [esp + 0x34]
mov al, byte [ecx + 0x79]
mov byte [ecx + 0x79], 0
test al, al
je 0x46ac6a
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x28], eax
test eax, eax
je 0x46ac6a
mov ebx, dword [eax]
cmp dword [ebx + 0x24], 2
je 0x46ac45
push ebx
mov dword [ebx + 0x24], 2
call fcn.00480650
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.00482070
push 7
push 0
push 0
push ebx
call fcn.00469250
add esp, 0x1c
mov byte [ebx + 0x1011], 1
lea ebp, [esi + 0x24]
mov ecx, dword [esi + 8]
mov ebx, ebp
test ecx, ecx
je 0x46ac83
mov eax, dword [ebp]
sub eax, 3
cmp eax, 0xb
ja 0x46ac83
mov dword [ecx], esi
lea ebx, [esi + 0x24]
cmp dword [esi + 8], 0
je 0x46aea8
mov ecx, dword [ebp]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x46aea8
cmp ecx, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.0047cb10
add esp, 0xc
test edx, edx
jg 0x46aea8
jl 0x46acc6
test eax, eax
jae 0x46aea8
mov eax, dword [ebp]
cmp eax, 3
jne 0x46ad30
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.00481e20
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.0047b560
add esp, 0x30
jmp 0x46ae7a
cmp eax, 4
jne 0x46ad97
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.00481e20
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.0047b560
add esp, 0x30
jmp 0x46ae7a
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 0x46ae1e
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.00481e20
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.0047b560
add esp, 0x20
jmp 0x46ae7a
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.00481e20
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.0047b560
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x46ae92
push 2
push dword [esi + 8]
call fcn.0047c020
add esp, 8
mov byte [esp + 0x11], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.0046a6d0
add esp, 0xc
jmp case.0x46aeb4.1
mov ecx, dword [ebp]
cmp ecx, 0x10
ja case.default.0x46aeb4
jmp dword [ecx*4 + 0x46c110]
push esi
call fcn.00480670
mov edi, eax
add esp, 4
test edi, edi
jne case.0x46aeb4.1
cmp dword [esi + 0x24], 2
je 0x46aee4
push esi
mov dword [esi + 0x24], 2
call fcn.00480650
add esp, 4
push 1
push esi
call fcn.00488710
add esp, 8
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
push 2
push esi
call fcn.00488710
mov eax, dword [esi + 0x640]
add esp, 8
test eax, eax
je 0x46af1f
push 9
cdq
push edx
push eax
push esi
call fcn.00469250
add esp, 0x10
mov eax, dword [esi + 0x644]
test eax, eax
je 0x46af37
push 2
cdq
push edx
push eax
push esi
call fcn.00469250
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x19]
push eax
push esi
call fcn.00477360
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x46af7d
cmp dword [esi + 0x24], 1
je 0x46af5e
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.00481ff0
add esp, 0x10
xor edi, edi
jmp case.0x46aeb4.1
cmp byte [esi + 0x1011], 0
je 0x46afe0
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.0047b620
mov eax, dword [esi + 0x78]
add esp, 8
add eax, 0x24
mov dword [esp + 0x28], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x46afe0
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x46afc1
push ebx
mov dword [ebx + 0x24], 2
call fcn.00480650
mov eax, dword [esp + 0x2c]
add esp, 4
push 0
push ebp
push eax
call fcn.00482070
push 7
push 0
push 0
push ebx
call fcn.00469250
add esp, 0x1c
mov byte [ebx + 0x1011], 1
test edi, edi
jne case.0x46aeb4.1
cmp byte [esp + 0x15], 0
je 0x46b005
cmp dword [esi + 0x24], 3
je case.0x46aeb4.1
mov dword [esi + 0x24], 3
jmp case.0x46aeb4.1
cmp byte [esp + 0x48], 0
mov dword [esp + 0x18], 0xffffffff
je 0x46b030
cmp dword [esi + 0x24], 8
je case.0x46aeb4.1
push esi
mov dword [esi + 0x24], 8
call fcn.0047fc60
jmp 0x46bee7
push dword [esi + 8]
call fcn.0047fc90
add esp, 4
test al, al
jne 0x46b23c
cmp dword [esi + 0x24], 4
je case.0x46aeb4.1
mov dword [esi + 0x24], 4
jmp case.0x46aeb4.1
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], 0
cmp byte [eax + 0x2aa], 0
je 0x46b075
mov ebx, dword [eax + 0xe4]
jmp 0x46b08c
cmp byte [eax + 0x2a7], 0
je 0x46b086
mov ebx, dword [eax + 0xb4]
jmp 0x46b08c
mov ebx, dword [eax + 0x9c]
push dword [eax + 0xfc]
push ebx
push eax
call fcn.004827b0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46b0bb
push ebx
push 0x4ed820
push esi
xor edi, edi
call fcn.0047b620
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x46b0cd
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.00483000
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x38]
call fcn.0046c270
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x46b14a
lea eax, [esp + 0x48]
push eax
push dword [esi + 8]
call fcn.00482d80
mov edi, eax
add esp, 8
test edi, edi
je 0x46b108
mov dword [esi + 8], 0
mov byte [esp + 0x11], 1
jmp case.0x46aeb4.1
cmp byte [esp + 0x48], 0
mov dword [esp + 0x18], 0xffffffff
jne 0x46b014
push dword [esi + 8]
call fcn.0047fc90
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x46b135
cmp ecx, 5
jmp 0x46b240
cmp ecx, 4
je case.0x46aeb4.1
mov dword [esi + 0x24], 4
jmp case.0x46aeb4.1
test edi, edi
je case.0x46aeb4.1
mov byte [esp + 0x11], 1
jmp case.0x46aeb4.1
lea eax, [esp + 0x48]
push eax
push dword [esi + 8]
call fcn.00485300
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x2bc], 0
je 0x46b1aa
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
push edi
push edi
push esi
call fcn.0046a6d0
add esp, 0xc
cmp dword [ebx], 2
je case.0x46aeb4.1
push esi
mov dword [esi + 0x24], 2
call fcn.00480650
jmp 0x46bee7
test edi, edi
jne 0x46b152
cmp dword [eax + 0xf0], 2
jne 0x46b1c4
cmp byte [eax + 0x2a0], 0
je case.0x46aeb4.1
push eax
call fcn.0047fc40
add esp, 4
test al, al
je case.0x46aeb4.1
cmp dword [esi + 0x24], 6
mov dword [esp + 0x18], 0xffffffff
je case.0x46aeb4.1
mov dword [esi + 0x24], 6
jmp case.0x46aeb4.1
lea eax, [esp + 0x16]
push eax
push 0
push dword [esi + 8]
call fcn.0047c240
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x16], 0
je 0x46b297
test edi, edi
jne 0x46b29f
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x46b22f
cmp byte [eax + 0x2a0], 0
je 0x46b23c
push eax
call fcn.0047fc90
add esp, 4
test al, al
je 0x46b252
cmp dword [esi + 0x24], 5
je case.0x46aeb4.1
mov dword [esi + 0x24], 5
jmp case.0x46aeb4.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.0x46aeb4.1
mov dword [esi + 0x24], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x4ed65c]
test eax, eax
je case.0x46aeb4.1
push esi
call eax
jmp 0x46bee7
test edi, edi
je case.0x46aeb4.1
push esi
call fcn.0042a7b0
push 1
push edi
push esi
call fcn.0046a6d0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x46aeb4.1
mov edi, dword [esi + 8]
xor ebx, ebx
mov byte [esp + 0x48], bl
cmp byte [edi + 0x2a2], bl
je 0x46b2eb
cmp byte [edi + 0x2b1], bl
je 0x46b2f7
mov eax, dword [edi + 0x2e8]
cmp dword [eax + 0x18], ebx
jne 0x46b2e4
mov byte [esp + 0x48], 1
xor edi, edi
jmp 0x46b397
cmp byte [edi + 0x2b1], bl
jne 0x46b38b
push 0
push edi
call fcn.0047fd20
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46b326
mov edi, ebx
push esi
call fcn.0042a7b0
push 1
push ebx
push esi
call fcn.0046a6d0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x46aeb4.1
cmp dword [edi + 0xf0], 2
jne 0x46b33c
cmp byte [edi + 0x2a0], 0
jne 0x46b33c
xor edi, edi
jmp 0x46b397
cmp byte [edi + 0x2b3], 0
je 0x46b35f
cmp byte [edi + 0x2aa], 0
je 0x46b35f
push edi
call fcn.0047fc90
add esp, 4
test al, al
je 0x46b35f
xor edi, edi
jmp 0x46b397
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x46b37f
lea ecx, [esp + 0x48]
push ecx
push edi
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46b384
jmp 0x46b38b
mov byte [esp + 0x48], 1
mov byte [edi + 0x2b1], 1
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x46b30a
cmp byte [esp + 0x48], 0
mov eax, dword [esi + 0x24]
jne 0x46b3b6
cmp eax, 7
je case.0x46aeb4.1
mov dword [esi + 0x24], 7
jmp case.0x46aeb4.1
cmp eax, 8
je 0x46b3cb
mov dword [esi + 0x24], 8
push esi
call fcn.0047fc60
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
mov edx, dword [esi + 8]
test edx, edx
je 0x46b41a
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x18], 0
je 0x46b41a
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 0x46b29f
mov dl, byte [esp + 0x48]
jmp 0x46b425
mov dl, 1
lea eax, [esi + 0x24]
mov byte [esp + 0x48], dl
xor edi, edi
test dl, dl
je case.0x46aeb4.1
cmp ecx, 8
je 0x46b3cb
mov dword [eax], 8
jmp 0x46b3c2
cmp byte [esi + 0xae5], 0
je 0x46b46b
push 0
push dword [esi + 8]
call fcn.0047c020
add esp, 8
cmp dword [ebx], 0xe
je 0x46b45c
mov dword [esi + 0x24], 0xe
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
mov ebp, dword [esi + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x2e8]
mov eax, dword [eax + 8]
test eax, eax
je 0x46b4af
lea ecx, [esp + 0x12]
push ecx
push ebp
call eax
mov ebx, eax
add esp, 8
mov edi, eax
test ebx, ebx
jne 0x46b4af
cmp byte [esp + 0x12], al
je 0x46b4af
mov eax, dword [ebp]
push 6
mov byte [eax + 0x58d], 0
push dword [ebp]
call fcn.00488710
add esp, 8
jmp 0x46b4b9
mov edi, ebx
test ebx, ebx
jne 0x46b55f
cmp byte [esp + 0x12], 0
jne 0x46b51a
cmp byte [esi + 0x100b], 0
je 0x46b500
mov eax, dword [esi + 0x1018]
cmp eax, 7
je 0x46b4d9
cmp eax, 5
jne 0x46b500
push 0
push 0
push esi
call fcn.0046a6d0
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x46b4f3
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
cmp dword [esi + 0x24], 9
je 0x46b50d
mov dword [esi + 0x24], 9
mov dword [esp + 0x18], 0
jmp case.0x46aeb4.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x2b0], 0
je 0x46b542
cmp ecx, 0xa
je 0x46b535
mov dword [esi + 0x24], 0xa
mov dword [esp + 0x18], 0
jmp case.0x46aeb4.1
cmp ecx, 0xb
je 0x46b3cb
mov dword [esi + 0x24], 0xb
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
cmp ebx, 0x37
jne 0x46b61d
mov eax, dword [esi + 8]
cmp byte [eax + 0x2a5], 0
je 0x46b61d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push eax
call fcn.00480dc0
add esp, 8
test eax, eax
je 0x46b599
mov edi, eax
mov byte [esp + 0x11], 1
push esi
call fcn.0042a7b0
push 0
push edi
push esi
call fcn.0046a6d0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x46b60c
test eax, eax
je 0x46b5ca
cmp eax, 0x37
je 0x46b5ca
push ecx
mov edi, eax
call dword [0x59ed48]
jmp 0x46bee7
push 2
push ecx
push esi
call fcn.004803a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46b5fc
cmp dword [esi + 0x24], 2
je 0x46b5f2
push esi
mov dword [esi + 0x24], 2
call fcn.00480650
add esp, 4
mov dword [esp + 0x18], 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x59ed48]
jmp 0x46bee7
push ecx
mov byte [esp + 0x15], 1
call dword [0x59ed48]
jmp 0x46bee7
push esi
call fcn.0042a7b0
add esp, 4
cmp dword [esi + 8], 0
je 0x46b2b1
push 0
push ebx
push esi
call fcn.0046a6d0
add esp, 0xc
mov byte [esp + 0x11], 1
jmp case.0x46aeb4.1
mov edx, dword [esi + 8]
test edx, edx
je 0x46b69a
mov eax, dword [edx + 0x2e8]
cmp dword [eax + 0x1c], 0
je 0x46b69a
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 0x46b6a4
push esi
call fcn.0042a7b0
push 0
push edi
push esi
call fcn.0046a6d0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x46aeb4.1
mov byte [esp + 0x12], 1
lea edx, [esi + 0x24]
xor edi, edi
cmp byte [esp + 0x12], 0
je case.0x46aeb4.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 0x46b3cb
mov dword [edx], eax
xor eax, eax
test bl, bl
sete al
mov eax, dword [eax*4 + 0x4ed670]
test eax, eax
je 0x46b3cb
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.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 0x46b724
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 0x46b751
cmp edx, 1
jne 0x46b751
mov ecx, dword [esp + 0x28]
push 6
mov eax, dword [ecx]
mov byte [eax + 0x58d], 0
push dword [ecx]
call fcn.00488710
mov ecx, dword [esi + 0x24]
add esp, 8
mov edx, dword [esp + 0x20]
jmp 0x46b757
mov edi, ebp
test ebp, ebp
jne 0x46b79b
test edx, edx
je 0x46b50d
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x46b3cb
mov dword [esi + 0x24], eax
mov eax, dword [eax*4 + 0x4ed648]
test eax, eax
je 0x46b3cb
push esi
call eax
add esp, 4
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
push esi
call fcn.0042a7b0
push 0
push ebp
push esi
call fcn.0046a6d0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x46aeb4.1
mov eax, dword [esi + 8]
mov edx, ecx
cmp byte [eax + 0x2bf], 0
je 0x46b817
mov eax, dword [esp + 0x34]
add eax, 0x24
mov dword [esp + 0x28], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x46b817
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x46b7f3
push ebx
mov dword [ebx + 0x24], 2
call fcn.00480650
mov eax, dword [esp + 0x2c]
add esp, 4
push 0
push ebp
push eax
call fcn.00482070
push 7
push 0
push 0
push ebx
call fcn.00469250
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 0x46b867
cmp dword [eax + 0x310], 0xffffffff
jne 0x46b867
cmp byte [esi + 0x100b], 0
je 0x46b84e
mov eax, dword [eax + 0x2e8]
test dword [eax + 0x44], 0x1000
jne 0x46b84e
mov dword [esi + 0x1018], 7
cmp ecx, 0xe
je 0x46b873
mov dword [esi + 0x24], 0xe
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
cmp edx, 0xc
je 0x46b873
mov dword [esi + 0x24], 0xc
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
push dword [esi + 8]
call fcn.004888f0
add esp, 4
test eax, eax
je 0x46b899
mov edi, 0x2a
jmp case.0x46aeb4.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.00489710
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x46aeb4.1
mov edx, dword [esi + 0x670]
xor ebx, ebx
xor ebp, ebp
cmp dword [esi + 0x674], ebx
jl 0x46b957
jg 0x46b8e4
test edx, edx
je 0x46b957
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.004882d0
add esp, 0x38
mov ebx, eax
mov ebp, edx
xor eax, eax
xor edx, edx
cmp dword [esi + 0x67c], eax
jl 0x46b9e1
jg 0x46b96d
cmp dword [esi + 0x678], eax
jbe 0x46b9e1
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.004882d0
add esp, 0x38
mov ecx, ebx
or ecx, ebp
jne 0x46ba28
mov ecx, eax
or ecx, edx
jne 0x46ba28
cmp dword [esi + 0x24], 0xc
je 0x46b9fa
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.00488a80
add esp, 0x14
jmp case.0x46aeb4.1
cmp ebp, edx
jl 0x46ba44
jg 0x46ba32
cmp ebx, eax
jb 0x46ba44
push 0xa
push ebp
push ebx
push esi
call fcn.00469250
add esp, 0x10
jmp case.0x46aeb4.1
push 0xa
push edx
push eax
push esi
call fcn.00469250
add esp, 0x10
jmp case.0x46aeb4.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 0x46baf3
jg 0x46ba80
test edx, edx
je 0x46baf3
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.004882d0
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 0x46bb91
jg 0x46bb15
cmp dword [esi + 0x678], eax
jbe 0x46bb91
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.004882d0
add esp, 0x38
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ecx, ebx
or ecx, ebp
jne 0x46bd78
mov ecx, eax
or ecx, edx
jne 0x46bd78
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [esi + 8]
call fcn.004809f0
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x13]
test al, al
jne 0x46bc72
cmp edi, 0x38
je 0x46bc72
cmp edi, 0x5c
je 0x46bd42
mov bl, byte [esp + 0x17]
test edi, edi
jne 0x46bd42
test al, al
je 0x46bd24
push esi
call fcn.0042a7b0
add esp, 4
test bl, bl
jne 0x46bca3
cmp dword [esi + 0x140], edi
jne 0x46bcfc
cmp dword [esi + 0x13c], edi
je 0x46b4e6
push dword [esp + 0x1c]
call dword [0x59ed48]
mov eax, dword [esi + 0x13c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x13c], edi
call fcn.004803a0
push dword [esp + 0x2c]
mov edi, eax
call dword [0x59ed48]
add esp, 0x14
test edi, edi
je 0x46b4e6
push 1
push edi
push esi
mov byte [esp + 0x1d], 1
call fcn.0046a6d0
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x46aeb4.1
jmp 0x46b4e6
lea eax, [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.00480dc0
add esp, 8
test eax, eax
jne 0x46bd3c
cmp dword [esp + 0x1c], eax
setne bl
test bl, bl
je 0x46bcf3
push esi
mov byte [esp + 0x17], 1
call fcn.0042a7b0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.0046a6d0
push edi
push dword [esp + 0x2c]
push esi
call fcn.004803a0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x46bce4
cmp dword [esi + 0x24], 2
je 0x46bcdc
push esi
mov dword [esi + 0x24], 2
call fcn.00480650
add esp, 4
mov dword [esp + 0x18], 0xffffffff
push dword [esp + 0x1c]
call dword [0x59ed48]
jmp 0x46bee7
mov al, byte [esp + 0x13]
jmp 0x46bbdf
push dword [esp + 0x1c]
call dword [0x59ed48]
mov eax, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x140], 0
jmp 0x46bca8
cmp byte [esp + 0x14], 0
je case.0x46aeb4.1
mov dword [esp + 0x18], 0xffffffff
jmp case.0x46aeb4.1
test edi, edi
jne 0x46bd42
mov edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2e8]
test byte [eax + 0x44], 2
jne 0x46bd61
cmp edi, 0x5c
je 0x46bd61
push 2
push ecx
call fcn.0047c020
add esp, 8
push esi
call fcn.0042a7b0
push 1
push edi
push esi
call fcn.0046a6d0
add esp, 0x10
jmp case.0x46aeb4.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.00488a80
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x46bdae
mov dword [esi + 0x24], 0xd
mov ecx, dword [esp + 0x28]
cmp ebp, ecx
jl 0x46bdd2
jg 0x46bdda
mov eax, dword [esp + 0x24]
cmp ebx, eax
jb 0x46bdd6
push 0xa
push ebp
push ebx
push esi
call fcn.00469250
add esp, 0x10
jmp case.0x46aeb4.1
mov eax, dword [esp + 0x24]
mov ebx, eax
mov ebp, ecx
push 0xa
push ebp
push ebx
push esi
call fcn.00469250
add esp, 0x10
jmp case.0x46aeb4.1
mov eax, dword [esi + 8]
mov dword [esp + 0x18], 0xffffffff
test eax, eax
je 0x46be8a
cmp byte [eax + 0x2bf], 0
je 0x46be55
mov eax, dword [esp + 0x34]
add eax, 0x24
mov dword [esp + 0x28], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x46be55
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x46be36
push ebx
mov dword [ebx + 0x24], 2
call fcn.00480650
mov eax, dword [esp + 0x2c]
add esp, 4
push 0
push ebp
push eax
call fcn.00482070
push 7
push 0
push 0
push ebx
call fcn.00469250
add esp, 0x1c
mov byte [ebx + 0x1011], 1
push 0
push edi
push esi
call fcn.0046a6d0
add esp, 0xc
test edi, edi
jne 0x46be67
mov edi, eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46be8a
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.00482070
add esp, 0xc
mov dword [esi + 8], 0
cmp byte [esi + 0x100b], 0
je 0x46beab
cmp dword [esi + 0x1018], 7
je 0x46beab
cmp dword [esi + 0x24], 0
je case.0x46aeb4.1
mov dword [esi + 0x24], 0
jmp case.0x46aeb4.1
cmp dword [esi + 0x24], 0xf
je case.0x46aeb4.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46beda
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.00482070
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004694f0
add esp, 4
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x24]
cmp eax, 0xf
jge 0x46c05b
lea ebx, [esi + 0x24]
test edi, edi
je 0x46bfee
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x46bf5b
mov ebx, dword [ecx]
cmp dword [ebx + 0x24], 2
je 0x46bf2f
push ebx
mov dword [ebx + 0x24], 2
call fcn.00480650
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esp + 0x34]
push 0
push ecx
add eax, 0x24
push eax
call fcn.00482070
push 7
push 0
push 0
push ebx
call fcn.00469250
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 0x46bf9a
cmp byte [esp + 0x11], 0
je 0x46bfab
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebp + 0x370]
sete byte [esp + 0x34]
push eax
call fcn.00482070
push dword [esp + 0x38]
mov dword [esi + 8], 0
push ebp
push esi
call fcn.00477620
add esp, 0x18
jmp 0x46bfab
cmp eax, 2
jne 0x46bfab
push esi
call fcn.0042a7b0
add esp, 4
lea ebx, [esi + 0x24]
cmp dword [ebx], 0xf
je 0x46c053
mov eax, dword [esi + 0x78]
mov dword [ebx], 0xf
dec dword [eax + 0x10]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46bfdc
push 0
lea eax, [esi + 0x18]
push eax
lea eax, [ecx + 0x370]
push eax
call fcn.00482070
add esp, 0xc
push esi
mov dword [esi + 8], 0
call fcn.004694f0
add esp, 4
jmp 0x46c053
mov eax, dword [esi + 8]
test eax, eax
je 0x46c05b
push eax
lea ebx, [esi + 0x24]
call fcn.004888f0
add esp, 4
test eax, eax
je 0x46c05b
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.0047c020
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x46c050
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x46c037
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x4ed680]
test eax, eax
je 0x46c050
push esi
call eax
add esp, 4
lea ebx, [esi + 0x24]
mov dword [esp + 0x18], 0xffffffff
cmp dword [ebx], 0xf
mov ebp, ebx
jne 0x46c0af
mov eax, dword [esi + 0xaac]
test eax, eax
je 0x46c075
push edi
push esi
call eax
add esp, 8
jmp 0x46c0a2
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.00481ff0
add esp, 0x10
mov dword [esp + 0x18], 0
cmp dword [ebx], 0x10
mov ebp, ebx
je 0x46c0af
mov dword [ebx], 0x10
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x46abe7
mov eax, dword [esp + 0x34]
mov al, byte [eax + 0x79]
test al, al
jne 0x46abe7
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.0047b560
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