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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], esi
jmp 0x525d99
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x50]
mov byte [ecx], 0
push eax
call fcn.00518250
xor edx, edx
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
movups xmm0, xmmword [eax]
mov eax, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x14], xmm0
mov esi, dword [eax]
test esi, esi
je 0x525f72
cmp byte [esi + 0x45], 0
jne 0x525f72
cmp byte [esi + 0x44], 0
jne 0x525de4
inc edx
mov dword [ebp - 0x1c], edx
jmp 0x525f72
mov ecx, dword [ebp - 0x18]
mov al, byte [esi + 0x46]
mov byte [ecx], al
cmp dword [esi + 0x3c], 0
jne 0x525e86
test al, al
jne 0x525e86
push ecx
push 0
push edi
push dword [esi + 0x10]
call fcn.00523ab0
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x525e86
cmp byte [ecx], al
je 0x525e23
mov word [esi + 0x45], 0x101
jmp 0x525e86
mov eax, dword [esi + 0x30]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x3c], 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.00518310
mov ecx, dword [ebp - 0x3c]
add esp, 0x20
mov dword [ebp - 0x40], eax
cmp edx, ecx
jl 0x525e83
mov eax, dword [ebp - 0x24]
jg 0x525e63
cmp dword [ebp - 0x40], eax
jb 0x525e83
push ecx
push eax
push dword [esi]
push str._s_connect_timeout_after__I64dms__move_on_
push edi
call fcn.00524660
add esp, 0x14
mov dword [esi + 0x40], 0x274c
mov dword [esi + 0x3c], 0x1c
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx]
push eax
push dword [esi + 0x3c]
push dword [esi]
push str._s_connect_____d__connected_d
push ebx
push edi
call fcn.005246e0
add esp, 0x18
cmp dword [esi + 0x3c], 0
jne 0x525ebb
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
jne 0x525f8d
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x525f75
cmp byte [esi + 0x45], 0
jne 0x525f6f
mov eax, dword [esi + 0x40]
test eax, eax
je 0x525edb
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.005257a0
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebx + 0x10], 0
jne 0x525f2b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x525f17
nop word [eax + eax]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x525f14
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 8]
jne 0x525f00
mov eax, dword [ebp - 0x24]
jmp 0x525f19
mov eax, dword [ebp - 0x24]
xor ecx, ecx
push edx
push eax
push esi
push edi
push ebx
mov dword [esi + 4], ecx
call fcn.00525920
add esp, 0x14
jmp 0x525f43
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 eax, dword [esi]
push eax
je 0x525f5d
push str._s_done
push ebx
push edi
call fcn.005246e0
add esp, 0x10
jmp 0x525f6f
push str._s_trying_next
push ebx
push edi
call fcn.005246e0
add esp, 0x10
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
add dword [ebp - 0x28], 4
inc esi
mov dword [ebp - 0x30], esi
cmp esi, 2
jae 0x525fa0
mov eax, dword [ebp - 0x28]
jmp 0x525dc1
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x18], esi
mov dword [edx + ecx*4 + 0x10], 0
jmp 0x525fa3
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x18], 0
jne 0x52623d
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x525fbf
test esi, esi
je 0x52609e
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.005257a0
add esp, 0xc
test edx, edx
jl 0x5261f7
jg 0x525fe0
test eax, eax
jb 0x5261f7
mov eax, dword [ebp - 0x20]
test esi, esi
jle 0x52609e
mov esi, dword [ebp - 0x2c]
xor edx, edx
mov ecx, 2
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
nop
mov esi, dword [esi]
test esi, esi
je 0x526081
cmp byte [esi + 0x44], 0
jne 0x526081
mov eax, dword [esi + 0x14]
test eax, eax
je 0x526019
cmp byte [eax + 0x45], 0
jne 0x526048
mov ecx, dword [ebp - 0x34]
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.00518310
add esp, 0x20
cmp edx, dword [esi + 0x1c]
jl 0x526078
jg 0x526048
cmp eax, dword [esi + 0x18]
jb 0x526078
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.005257a0
push edx
push eax
push esi
push edi
push ebx
call fcn.00525920
add esp, 0x20
cmp byte [esi + 0x45], 0
je 0x5260bb
push dword [esi]
push str._s_done
push ebx
push edi
call fcn.005246e0
add esp, 0x10
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
add esi, 4
sub ecx, 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
jne 0x526000
test edx, edx
jg 0x525d93
test eax, eax
jle 0x5260e2
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi]
push str._s_starting__timeout_I64dms_
push ebx
push edi
call fcn.005246e0
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov edx, dword [ebp - 0x1c]
inc eax
inc edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
jmp 0x52607e
push str.all_eyeballers_failed
push ebx
push edi
call fcn.005246e0
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x24], 0
nop dword [eax + eax]
mov esi, dword [ecx]
test esi, esi
je 0x526111
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi + 0x44]
mov edx, dword [esi]
jmp 0x526117
xor eax, eax
xor ecx, ecx
xor edx, edx
push eax
push ecx
push edx
push str._s_assess_started_d__result_d
push ebx
push edi
call fcn.005246e0
add esp, 0x18
test esi, esi
je 0x52613a
cmp byte [esi + 0x44], 0
je 0x52613a
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x526165
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
inc eax
add ecx, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
cmp eax, 2
jb 0x526100
mov ebx, 7
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x1c9], 0
je 0x526169
mov esi, dword [eax + 0x78]
jmp 0x52618b
mov ebx, eax
jmp 0x526154
cmp byte [eax + 0x1c8], 0
je 0x52617a
mov esi, dword [eax + 0x98]
jmp 0x52618b
cmp byte [eax + 0x1d1], 0
je 0x526188
mov esi, dword [eax + 0x68]
jmp 0x52618b
mov esi, dword [eax + 0x50]
push ebx
call sym.updateself.exe_curl_easy_strerror
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.00518310
add esp, 0x20
push edx
mov edx, dword [ebp - 0x38]
push eax
push dword [edx + 0x31c]
push esi
push str.Failed_to_connect_to__s_port__u_after__I64d_ms:__s
push edi
call fcn.005245a0
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.004cb998
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.00518310
push edx
push eax
push str.Connection_timeout_after__ld_ms
push edi
call fcn.005245a0
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
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.004cb998
mov esp, ebp
pop ebp
ret