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

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x38]
push edi
xor edi, edi
mov byte [esp + 9], 0
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
test esi, esi
je 0x5f0da5
cmp dword [esi + 0xf48], 0xc0dedbad
jne 0x5f0da5
push ebp
mov ebp, dword [esp + 0x34]
push ebx
jmp 0x5eff10
xor ebx, ebx
mov byte [esp + 0x44], 0
cmp dword [esi + 8], ebx
jne 0x5eff2d
mov eax, dword [esi + 0x24]
cmp eax, 2
jle 0x5eff2d
cmp eax, 0xe
jl 0x5f0d7a
mov al, byte [ebp + 0x79]
mov byte [ebp + 0x79], bl
test al, al
je 0x5eff8e
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x5eff8e
mov ebp, dword [ecx]
cmp dword [ebp + 0x24], 2
je 0x5eff64
mov eax, dword [0x6e3f88]
mov dword [ebp + 0x24], 2
test eax, eax
je 0x5eff64
push ebp
call eax
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esp + 0x38]
push 0
push ecx
add eax, 0x24
push eax
call fcn.005fcc00
push 7
push 0
push 0
push ebp
call fcn.005ee6c0
mov byte [ebp + 0xe79], 1
add esp, 0x1c
mov ebp, dword [esp + 0x38]
mov eax, dword [esi + 8]
test eax, eax
je 0x5f0110
mov ecx, dword [esi + 0x24]
cmp ecx, 2
jle 0x5effa8
cmp ecx, 0xf
jge 0x5effa8
mov dword [eax], esi
cmp dword [esi + 8], ebx
je 0x5f0110
mov eax, dword [esi + 0x24]
cmp eax, 2
jl 0x5f0110
cmp eax, 0xf
jge 0x5f0110
cmp eax, 8
setle al
movzx eax, al
push eax
lea eax, [esp + 0x40]
push eax
push esi
call fcn.005f4e20
add esp, 0xc
test edx, edx
jg 0x5f0110
jl 0x5efff0
test eax, eax
jae 0x5f0110
mov eax, dword [esi + 0x24]
cmp eax, 3
jne 0x5f0026
push dword [esi + 0xb54]
push dword [esi + 0xb50]
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.005fe160
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.005edd90
add esp, 0x20
jmp 0x5f00e2
cmp eax, 4
jne 0x5f0059
push dword [esi + 0xb54]
push dword [esi + 0xb50]
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.005fe160
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.005edd90
add esp, 0x20
jmp 0x5f00e2
mov edx, dword [esi + 0x88]
mov eax, edx
mov ecx, dword [esi + 0x8c]
and eax, ecx
cmp eax, 0xffffffff
je 0x5f00aa
push ecx
push edx
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [esi + 0xb54]
push dword [esi + 0xb50]
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.005fe160
add esp, 0x10
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.005edd90
add esp, 0x20
jmp 0x5f00e2
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [esi + 0xb54]
push dword [esi + 0xb50]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.005fe160
add esp, 0x10
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.005edd90
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x5f00fa
push 2
push dword [esi + 8]
call fcn.005f44a0
add esp, 8
mov byte [esp + 0x44], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.005efa50
add esp, 0xc
jmp case.0x5f011c.1
mov eax, dword [esi + 0x24]
cmp eax, 0x10
ja case.default.0x5f011c
jmp dword [eax*4 + 0x5f0db0]
push esi
call fcn.00608fb0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x5f011c.1
cmp dword [esi + 0x24], 2
je 0x5f0152
mov eax, dword [0x6e3f88]
mov dword [esi + 0x24], 2
test eax, eax
je 0x5f0152
push esi
call eax
add esp, 4
push 1
push esi
call fcn.005fe630
add esp, 8
or ebx, 0xffffffff
jmp case.0x5f011c.1
push 2
push esi
call fcn.005fe630
mov eax, dword [esi + 0x618]
add esp, 8
test eax, eax
je 0x5f0188
push 9
cdq
push edx
push eax
push esi
call fcn.005ee6c0
add esp, 0x10
mov eax, dword [esi + 0x61c]
test eax, eax
je 0x5f01a0
push 2
cdq
push edx
push eax
push esi
call fcn.005ee6c0
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x1a]
push eax
push esi
call fcn.005e57e0
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x5f01e2
cmp dword [esi + 0x24], 1
je 0x5f01c7
mov dword [esi + 0x24], 1
lea eax, [esi + 0xc]
push eax
push esi
push dword [ebp + 0x28]
lea eax, [ebp + 0x24]
push eax
call fcn.005fcb90
add esp, 0x10
xor edi, edi
jmp case.0x5f011c.1
cmp byte [esi + 0xe79], bl
je 0x5f0200
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.005ede50
push dword [esi + 0x78]
call fcn.005f1030
add esp, 0xc
test edi, edi
jne case.0x5f011c.1
cmp byte [esp + 0x16], bl
je 0x5f0224
cmp dword [esi + 0x24], 3
je case.0x5f011c.1
mov dword [esi + 0x24], 3
jmp case.0x5f011c.1
or ebx, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x5f0249
cmp dword [esi + 0x24], 8
je case.0x5f011c.1
mov eax, dword [0x6e3fa0]
mov dword [esi + 0x24], 8
jmp 0x5f0bdc
push dword [esi + 8]
call fcn.0060b030
add esp, 4
test al, al
jne 0x5f0412
cmp dword [esi + 0x24], 4
je case.0x5f011c.1
mov dword [esi + 0x24], 4
jmp case.0x5f011c.1
mov eax, dword [esi + 8]
mov dword [esp + 0x18], ebx
cmp byte [eax + 0x28e], bl
je 0x5f0289
mov ecx, dword [eax + 0xe4]
jmp 0x5f029f
cmp byte [eax + 0x28b], bl
je 0x5f0299
mov ecx, dword [eax + 0xb4]
jmp 0x5f029f
mov ecx, dword [eax + 0x9c]
push dword [eax + 0xfc]
mov dword [esp + 0x20], ecx
push ecx
push eax
call fcn.005fcd70
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x5f02d5
push dword [esp + 0x1c]
xor edi, edi
push 0x6e4148
push esi
call fcn.005ede50
add esp, 0xc
cmp dword [esp + 0x18], ebx
jne 0x5f02e7
lea eax, [esp + 0x18]
push eax
push dword [esi + 8]
call fcn.005fd520
add esp, 8
mov edi, eax
push esi
push ebp
call fcn.005f1310
add esp, 8
cmp dword [esp + 0x18], ebx
je 0x5f0310
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.005fd2b0
mov edi, eax
add esp, 8
test edi, edi
je 0x5f0322
mov dword [esi + 8], ebx
test edi, edi
je case.0x5f011c.1
mov byte [esp + 0x44], 1
jmp case.0x5f011c.1
or ebx, 0xffffffff
cmp byte [esp + 0x11], 0
jne 0x5f022e
push dword [esi + 8]
call fcn.0060b030
add esp, 4
test al, al
je 0x5f025c
jmp 0x5f0412
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.005f84c0
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x29d], bl
je 0x5f0390
xor edi, edi
or ebx, 0xffffffff
push edi
push edi
push esi
call fcn.005efa50
add esp, 0xc
cmp dword [esi + 0x24], 2
je case.0x5f011c.1
mov eax, dword [0x6e3f88]
mov dword [esi + 0x24], 2
jmp 0x5f0bdc
test edi, edi
jne 0x5f0318
cmp dword [eax + 0xf0], 2
jne 0x5f03a9
cmp byte [eax + 0x284], bl
je case.0x5f011c.1
push eax
call fcn.0060afd0
add esp, 4
test al, al
je case.0x5f011c.1
or ebx, 0xffffffff
cmp dword [esi + 0x24], 6
je case.0x5f011c.1
mov dword [esi + 0x24], 6
jmp case.0x5f011c.1
lea eax, [esp + 0x17]
push eax
push 0
push dword [esi + 8]
call fcn.005f4720
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x17], bl
je 0x5f044b
test edi, edi
jne 0x5f0453
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x5f0405
cmp byte [eax + 0x284], bl
je 0x5f0412
push eax
call fcn.0060b030
add esp, 4
test al, al
je 0x5f0428
cmp dword [esi + 0x24], 5
je case.0x5f011c.1
mov dword [esi + 0x24], 5
jmp case.0x5f011c.1
mov eax, dword [esi + 8]
xor ecx, ecx
or ebx, 0xffffffff
cmp byte [eax + 0x297], cl
sete cl
add ecx, 5
push ecx
push esi
call fcn.005ef890
add esp, 8
jmp case.0x5f011c.1
test edi, edi
je case.0x5f011c.1
push esi
call fcn.00608fa0
push 1
push edi
push esi
call fcn.005efa50
add esp, 0x10
mov byte [esp + 0x44], 1
jmp case.0x5f011c.1
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.005f1090
mov edi, eax
add esp, 8
test edi, edi
jne 0x5f0453
cmp byte [esp + 0x11], bl
jne 0x5f04c1
cmp dword [esi + 0x24], 7
je case.0x5f011c.1
mov dword [esi + 0x24], 7
jmp case.0x5f011c.1
lea eax, [esp + 0x11]
push eax
push dword [esi + 8]
call fcn.005f1150
mov edi, eax
add esp, 8
test edi, edi
jne 0x5f0453
cmp byte [esp + 0x11], bl
je case.0x5f011c.1
cmp dword [esi + 0x24], 8
je 0x5f04dd
mov eax, dword [0x6e3fa0]
mov dword [esi + 0x24], 8
test eax, eax
je 0x5f04dd
push esi
call eax
add esp, 4
or ebx, 0xffffffff
jmp case.0x5f011c.1
cmp byte [esi + 0xa98], bl
je 0x5f0511
push 0
push dword [esi + 8]
call fcn.005f44a0
add esp, 8
cmp dword [esi + 0x24], 0xe
je 0x5f0507
mov dword [esi + 0x24], 0xe
xor edi, edi
or ebx, 0xffffffff
jmp case.0x5f011c.1
lea eax, [esp + 0x12]
push eax
push esi
call fcn.005ef9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x5f0573
cmp byte [esp + 0x12], bl
jne 0x5f053f
cmp dword [esi + 0x24], 9
je 0x5f0538
mov dword [esi + 0x24], 9
xor ebx, ebx
jmp case.0x5f011c.1
mov eax, dword [esi + 8]
cmp byte [eax + 0x294], bl
je 0x5f055e
cmp dword [esi + 0x24], 0xa
je 0x5f0557
mov dword [esi + 0x24], 0xa
xor ebx, ebx
jmp case.0x5f011c.1
cmp dword [esi + 0x24], 0xb
je 0x5f056b
mov dword [esi + 0x24], 0xb
or ebx, 0xffffffff
jmp case.0x5f011c.1
cmp edi, 0x37
jne 0x5f062d
mov eax, dword [esi + 8]
cmp byte [eax + 0x289], bl
je 0x5f062d
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push eax
call fcn.00609610
add esp, 8
test eax, eax
je 0x5f05a8
mov edi, eax
mov byte [esp + 0x44], 1
push esi
call fcn.00608fa0
push 0
push edi
push esi
call fcn.005efa50
mov ecx, dword [esp + 0x28]
add esp, 0x10
test ecx, ecx
je 0x5f061c
test eax, eax
je 0x5f05d9
cmp eax, 0x37
je 0x5f05d9
push ecx
mov edi, eax
call dword [0x9a4b74]
jmp 0x5f0be3
push 2
push ecx
push esi
call fcn.00608c70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5f060c
cmp dword [esi + 0x24], 2
je 0x5f0607
mov eax, dword [0x6e3f88]
mov dword [esi + 0x24], 2
test eax, eax
je 0x5f0607
push esi
call eax
add esp, 4
or ebx, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x9a4b74]
jmp 0x5f0be3
push ecx
mov byte [esp + 0x48], 1
call dword [0x9a4b74]
jmp 0x5f0be3
push esi
call fcn.00608fa0
add esp, 4
cmp dword [esi + 8], ebx
je 0x5f0647
push 0
push edi
push esi
call fcn.005efa50
add esp, 0xc
mov byte [esp + 0x44], 1
jmp case.0x5f011c.1
lea eax, [esp + 0x12]
push eax
push dword [esi + 8]
call fcn.005f1190
mov edi, eax
add esp, 8
test edi, edi
jne 0x5f0694
cmp byte [esp + 0x12], bl
je case.0x5f011c.1
mov eax, dword [esi + 8]
xor ecx, ecx
cmp byte [eax + 0x294], cl
sete cl
add ecx, 0xa
push ecx
push esi
call fcn.005ef890
add esp, 8
or ebx, 0xffffffff
jmp case.0x5f011c.1
push esi
call fcn.00608fa0
push 0
push edi
push esi
call fcn.005efa50
add esp, 0x10
mov byte [esp + 0x44], 1
jmp case.0x5f011c.1
lea eax, [esp + 0x2c]
push eax
push dword [esi + 8]
call fcn.005efa00
mov edi, eax
add esp, 8
test edi, edi
jne 0x5f0694
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5f0557
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
push eax
push esi
call fcn.005ef890
add esp, 8
or ebx, 0xffffffff
jmp case.0x5f011c.1
mov eax, dword [esi + 8]
cmp byte [eax + 0x2a0], bl
je 0x5f0705
push ebp
call fcn.005f1030
add esp, 4
mov eax, dword [esi + 8]
cmp dword [eax + 0x2d8], 0xffffffff
jne 0x5f072f
cmp dword [eax + 0x2dc], 0xffffffff
jne 0x5f072f
cmp dword [esi + 0x24], 0xe
je 0x5f073c
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x5f011c.1
cmp dword [esi + 0x24], 0xc
je 0x5f073c
mov dword [esi + 0x24], 0xc
or ebx, 0xffffffff
jmp case.0x5f011c.1
push dword [esi + 8]
call fcn.005fe760
add esp, 4
test eax, eax
je 0x5f075d
mov edi, 0x2a
jmp case.0x5f011c.1
push dword [esp + 0x40]
push dword [esp + 0x40]
push esi
call fcn.005fe260
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x5f011c.1
mov ecx, dword [esi + 0x64c]
mov eax, dword [esi + 0x648]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
test ecx, ecx
jl 0x5f07d4
jg 0x5f0796
test eax, eax
je 0x5f07d4
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esi + 0xb6c]
push dword [esi + 0xb68]
push ecx
push eax
push dword [esi + 0xb74]
push dword [esi + 0xb70]
push dword [esi + 0xaec]
push dword [esi + 0xae8]
call fcn.005fe3c0
add esp, 0x28
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x650]
xor eax, eax
xor edx, edx
cmp dword [esi + 0x654], eax
jl 0x5f0827
jg 0x5f07ec
test ecx, ecx
je 0x5f0827
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esi + 0xb7c]
push dword [esi + 0xb78]
push dword [esi + 0x654]
push ecx
push dword [esi + 0xb84]
push dword [esi + 0xb80]
push dword [esi + 0xae4]
push dword [esi + 0xae0]
call fcn.005fe3c0
add esp, 0x28
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x1c]
jne 0x5f085a
mov ecx, eax
or ecx, edx
jne 0x5f085a
cmp dword [esi + 0x24], 0xc
je 0x5f0844
mov dword [esi + 0x24], 0xc
push dword [esp + 0x40]
push dword [esp + 0x40]
push esi
call fcn.005fe8d0
add esp, 0xc
jmp case.0x5f011c.1
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x5f087f
jg 0x5f086a
cmp dword [esp + 0x18], eax
jb 0x5f087f
push 0xa
push ecx
push dword [esp + 0x20]
push esi
call fcn.005ee6c0
add esp, 0x10
jmp case.0x5f011c.1
push 0xa
push edx
push eax
push esi
call fcn.005ee6c0
add esp, 0x10
jmp case.0x5f011c.1
mov ecx, dword [esi + 0x64c]
mov eax, dword [esi + 0x648]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
test ecx, ecx
jl 0x5f08f9
jg 0x5f08bb
test eax, eax
je 0x5f08f9
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esi + 0xb6c]
push dword [esi + 0xb68]
push ecx
push eax
push dword [esi + 0xb74]
push dword [esi + 0xb70]
push dword [esi + 0xaec]
push dword [esi + 0xae8]
call fcn.005fe3c0
add esp, 0x28
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov ecx, dword [esi + 0x650]
xor eax, eax
xor edx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
cmp dword [esi + 0x654], eax
jl 0x5f095c
jg 0x5f0919
test ecx, ecx
je 0x5f095c
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esi + 0xb7c]
push dword [esi + 0xb78]
push dword [esi + 0x654]
push ecx
push dword [esi + 0xb84]
push dword [esi + 0xb80]
push dword [esi + 0xae4]
push dword [esi + 0xae0]
call fcn.005fe3c0
add esp, 0x28
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x20]
jne 0x5f0b28
mov ecx, eax
or ecx, edx
jne 0x5f0b28
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [esi + 8]
call fcn.00609310
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], bl
jne 0x5f09d2
cmp edi, 0x38
je 0x5f09d2
cmp edi, 0x5c
jne 0x5f0a04
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2c0]
test byte [eax + 0x44], 2
jne 0x5f09bb
cmp edi, 0x5c
je 0x5f09bb
push 2
push ecx
call fcn.005f44a0
add esp, 8
push esi
call fcn.00608fa0
push 1
push edi
push esi
call fcn.005efa50
add esp, 0x10
jmp case.0x5f011c.1
lea eax, [esp + 0x18]
push eax
push dword [esi + 8]
call fcn.00609610
add esp, 8
test eax, eax
jne 0x5f09fe
cmp dword [esp + 0x18], ebx
setne al
mov byte [esp + 0x14], al
test al, al
je 0x5f0a04
xor edi, edi
mov byte [esp + 0x13], 1
jmp 0x5f0a12
test edi, edi
jne 0x5f099c
mov edi, eax
test edi, edi
jne 0x5f099c
cmp byte [esp + 0x13], bl
je 0x5f0b16
push esi
call fcn.00608fa0
add esp, 4
cmp dword [esi + 0x11c], ebx
jne 0x5f0a9b
cmp byte [esp + 0x14], bl
jne 0x5f0ac5
cmp dword [esi + 0x118], ebx
je 0x5f0a86
push dword [esp + 0x18]
call dword [0x9a4b74]
mov eax, dword [esi + 0x118]
push 1
push eax
push esi
mov dword [esp + 0x28], eax
mov dword [esi + 0x118], ebx
call fcn.00608c70
push dword [esp + 0x28]
mov edi, eax
call dword [0x9a4b74]
add esp, 0x14
test edi, edi
je 0x5f0a86
push 1
push edi
push esi
mov byte [esp + 0x50], 1
call fcn.005efa50
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x5f011c.1
cmp dword [esi + 0x24], 0xe
je 0x5f0a93
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x5f011c.1
cmp byte [esp + 0x14], bl
jne 0x5f0ac5
push dword [esp + 0x18]
call dword [0x9a4b74]
mov eax, dword [esi + 0x11c]
add esp, 4
mov dword [esp + 0x18], eax
mov edi, 3
mov dword [esi + 0x11c], ebx
jmp 0x5f0aca
mov edi, 2
push 0
push 0
push esi
call fcn.005efa50
push edi
push dword [esp + 0x28]
push esi
call fcn.00608c70
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x5f0b07
cmp dword [esi + 0x24], 2
je 0x5f0b04
mov eax, dword [0x6e3f88]
mov dword [esi + 0x24], 2
test eax, eax
je 0x5f0b04
push esi
call eax
add esp, 4
or ebx, 0xffffffff
push dword [esp + 0x18]
call dword [0x9a4b74]
jmp 0x5f0be3
cmp byte [esp + 0x15], bl
je case.0x5f011c.1
or ebx, 0xffffffff
jmp case.0x5f011c.1
push dword [esp + 0x40]
push dword [esp + 0x40]
push esi
call fcn.005fe8d0
add esp, 0xc
cmp dword [esi + 0x24], 0xd
je 0x5f0b46
mov dword [esi + 0x24], 0xd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jl 0x5f0b70
jg 0x5f0b5e
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
jb 0x5f0b74
push 0xa
push edx
push dword [esp + 0x24]
push esi
call fcn.005ee6c0
add esp, 0x10
jmp case.0x5f011c.1
mov eax, dword [esp + 0x24]
push 0xa
push ecx
push eax
push esi
call fcn.005ee6c0
add esp, 0x10
jmp case.0x5f011c.1
mov eax, dword [esi + 8]
or ebx, 0xffffffff
test eax, eax
je 0x5f0bc0
cmp byte [eax + 0x2a0], 0
je 0x5f0b9f
push ebp
call fcn.005f1030
add esp, 4
push 0
push edi
push esi
call fcn.005efa50
add esp, 0xc
test edi, edi
jne 0x5f0bb1
mov edi, eax
cmp dword [esi + 8], 0
je 0x5f0bc0
push esi
call fcn.005ef7d0
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x5f0d0e
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov eax, dword [0x6e3fbc]
test eax, eax
je case.0x5f011c.1
push esi
call eax
add esp, 4
cmp dword [esi + 0x24], 0xf
jge 0x5f0d0c
test edi, edi
je 0x5f0caf
lea ecx, [ebp + 0x24]
mov ebp, dword [ecx]
mov dword [esp + 0x28], ecx
test ebp, ebp
je 0x5f0c47
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x5f0c28
mov eax, dword [0x6e3f88]
mov dword [ebx + 0x24], 2
test eax, eax
je 0x5f0c28
push ebx
call eax
mov ecx, dword [esp + 0x2c]
add esp, 4
push 0
push ebp
push ecx
call fcn.005fcc00
push 7
push 0
push 0
push ebx
call fcn.005ee6c0
add esp, 0x1c
mov byte [ebx + 0xe79], 1
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x5f0c86
cmp byte [esp + 0x44], 0
je 0x5f0c95
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebx + 0x33c]
sete byte [esp + 0x38]
push eax
call fcn.005fcc00
push dword [esp + 0x3c]
mov dword [esi + 8], 0
push ebx
push esi
call fcn.005e58e0
add esp, 0x18
jmp 0x5f0c95
cmp dword [esi + 0x24], 2
jne 0x5f0c95
push esi
call fcn.00608fa0
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x5f0d05
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
dec dword [eax + 0x10]
mov eax, dword [0x6e3fbc]
jmp 0x5f0cfb
mov eax, dword [esi + 8]
test eax, eax
je 0x5f0d08
push eax
call fcn.005fe760
add esp, 4
test eax, eax
je 0x5f0d08
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.005f44a0
xor ecx, ecx
add esp, 8
cmp dword [esi + 0x24], 0xe
setge cl
add ecx, 0xe
cmp dword [esi + 0x24], ecx
je 0x5f0d05
mov dword [esi + 0x24], ecx
cmp ecx, 0xf
jne 0x5f0cf4
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
mov eax, dword [ecx*4 + 0x6e3f80]
test eax, eax
je 0x5f0d05
push esi
call eax
add esp, 4
or ebx, 0xffffffff
cmp dword [esi + 0x24], 0xf
jne 0x5f0d55
mov eax, dword [esi + 0xa64]
test eax, eax
je 0x5f0d21
push edi
push esi
call eax
add esp, 8
jmp 0x5f0d48
mov ecx, dword [esp + 0x38]
lea eax, [esi + 0x2c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ecx + 0x14]
push dword [ecx + 0x18]
push eax
call fcn.005fcb90
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x24], 0x10
je 0x5f0d55
mov dword [esi + 0x24], 0x10
mov ebp, dword [esp + 0x38]
cmp ebx, 0xffffffff
je 0x5eff10
mov al, byte [ebp + 0x79]
test al, al
jne 0x5eff10
mov eax, ebx
mov dword [esi + 0x28], edi
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x24
ret
push dword [esi + 0x24]
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.005edd90
add esp, 0xc
pop ebx
pop ebp
pop edi
mov eax, 4
pop esi
add esp, 0x24
ret
pop ebx
pop ebp
mov dword [esi + 0x28], edi
xor eax, eax
pop edi
pop esi
add esp, 0x24
ret
pop edi
mov eax, 2
pop esi
add esp, 0x24
ret