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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0xa59064]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x30], ecx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
push esi
mov dword [ebp - 0x44], ecx
lea ecx, [edx + 0x18]
mov dword [ebp - 0x1c], eax
push edi
mov edi, dword [ebp + 0xc]
lea esi, [edx + 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
jmp 0x99e635
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
lea eax, [ebp - 0x54]
push eax
call fcn.009921c0
add esp, 4
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov edx, esi
movups xmm0, xmmword [eax]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x2c], eax
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov esi, dword [edx]
test esi, esi
je 0x99e676
cmp byte [esi + 0x45], 0
jne 0x99e676
cmp byte [esi + 0x44], 0
jne 0x99e691
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
inc ecx
add edx, 4
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
cmp ecx, 2
jae 0x99e816
mov eax, dword [ebp - 0x2c]
jmp 0x99e660
mov edi, dword [ebp - 0x1c]
mov al, byte [esi + 0x46]
mov byte [edi], al
cmp dword [esi + 0x3c], 0
mov edi, dword [ebp - 0x24]
jne 0x99e73c
test al, al
jne 0x99e73c
push dword [ebp - 0x1c]
push 0
push edi
push dword [esi + 0x10]
call fcn.0099c5e0
add esp, 0x10
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x99e736
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
je 0x99e6d6
mov word [esi + 0x45], 0x101
jmp 0x99e736
mov eax, dword [esi + 0x34]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x20]
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x28], eax
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
call fcn.00992270
mov ecx, eax
add esp, 0x20
mov eax, dword [ebp - 0x28]
cmp edx, eax
jl 0x99e733
jg 0x99e70e
cmp ecx, edi
jb 0x99e733
push eax
push edi
push dword [esi]
mov edi, dword [ebp - 0x24]
push str._s_connect_timeout_after__I64dms__move_on_
push edi
call fcn.0099d1b0
add esp, 0x14
mov dword [esi + 0x40], 0x274c
mov dword [esi + 0x3c], 0x1c
jmp 0x99e736
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x99e758
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
jne 0x99e7fe
inc ebx
jmp 0x99e679
cmp byte [esi + 0x45], 0
jne 0x99e676
mov eax, dword [esi + 0x40]
test eax, eax
je 0x99e778
mov dword [edi + 0x930], eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0099e060
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ecx + 0x10], 0
jne 0x99e7cd
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x99e7b7
nop word [eax + eax]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x99e7b4
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 8]
jne 0x99e7a0
mov eax, dword [ebp - 0x28]
jmp 0x99e7b9
mov eax, dword [ebp - 0x28]
xor ecx, ecx
push edx
push eax
push esi
push edi
push dword [ebp - 0x30]
mov dword [esi + 4], ecx
call fcn.0099e1e0
add esp, 0x14
jmp 0x99e7e5
mov dword [esi + 0x40], 0
mov word [esi + 0x45], 1
mov byte [esi + 0x44], 1
mov dword [esi + 0x3c], 7
cmp byte [esi + 0x45], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
jne 0x99e679
inc ebx
jmp 0x99e679
mov edx, dword [ebp - 0x38]
mov dword [edx], esi
mov edx, dword [ebp - 0x40]
mov dword [edx + ecx*4 + 0x10], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
jmp 0x99e819
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0
jne 0x99ea35
mov esi, dword [ebp - 0x2c]
test ebx, ebx
jne 0x99e831
test esi, esi
je 0x99e922
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0099e060
add esp, 0xc
test edx, edx
jl 0x99e9ef
jg 0x99e852
test eax, eax
jb 0x99e9ef
test esi, esi
jle 0x99e905
mov edi, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 2
nop dword [eax]
mov esi, dword [edi]
test esi, esi
je 0x99e8ea
cmp byte [esi + 0x44], 0
jne 0x99e8ea
mov eax, dword [esi + 0x14]
test eax, eax
je 0x99e889
cmp byte [eax + 0x45], 0
jne 0x99e8b8
mov ecx, dword [ebp - 0x40]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
call fcn.00992270
add esp, 0x20
cmp edx, dword [esi + 0x1c]
jl 0x99e8e7
jg 0x99e8b8
cmp eax, dword [esi + 0x18]
jb 0x99e8e7
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call fcn.0099e060
push edx
push eax
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call fcn.0099e1e0
mov eax, dword [ebp - 0x18]
add esp, 0x20
cmp byte [esi + 0x45], 0
jne 0x99e8ea
inc ebx
inc eax
mov dword [ebp - 0x18], eax
jmp 0x99e8ea
mov eax, dword [ebp - 0x18]
add edi, 4
sub dword [ebp - 0x28], 1
jne 0x99e870
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
test eax, eax
jg 0x99e632
test ebx, ebx
jle 0x99e922
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009857d7
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x34]
mov ebx, 7
xor ecx, ecx
nop dword [eax]
mov eax, dword [edx]
test eax, eax
je 0x99e943
cmp byte [eax + 0x44], 0
je 0x99e943
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x99e94e
inc ecx
add edx, 4
cmp ecx, 2
jb 0x99e930
jmp 0x99e950
mov ebx, eax
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x1c9], 0
je 0x99e961
mov esi, dword [eax + 0x78]
jmp 0x99e983
cmp byte [eax + 0x1c8], 0
je 0x99e972
mov esi, dword [eax + 0x98]
jmp 0x99e983
cmp byte [eax + 0x1d1], 0
je 0x99e980
mov esi, dword [eax + 0x68]
jmp 0x99e983
mov esi, dword [eax + 0x50]
push ebx
call fcn.009aef90
movups xmm0, xmmword [edi + 0x798]
add esp, 4
push eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
call fcn.00992270
mov ecx, dword [ebp - 0x44]
add esp, 0x20
push edx
push eax
push dword [ecx + 0x440]
push esi
push str.Failed_to_connect_to__s_port__u_after__I64d_ms:__s
push edi
call fcn.0099d0f0
add esp, 0x1c
mov eax, 0x1c
cmp dword [edi + 0x930], 0x274c
cmove ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009857d7
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi + 0x798]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
call fcn.00992270
push edx
push eax
push str.Connection_timeout_after__ld_ms
push edi
call fcn.0099d0f0
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009857d7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov byte [eax], 1
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.009857d7
mov esp, ebp
pop ebp
ret