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

Disassembly:
sub esp, 0x30
mov eax, dword [0x6d5ec0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
push dword [esi + 0x7c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
mov byte [esp + 0x16], 0
call fcn.004f5570
push dword [esi + 0x7c]
mov dword [esp + 0x2c], eax
call fcn.004f5590
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xc3c], 0
mov dword [esp + 0x28], eax
jne 0x503f8a
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0061eb08
add esp, 0x30
ret
push esi
call fcn.00503cc0
mov edi, eax
add esp, 4
test edi, edi
jne 0x503fb3
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0061eb08
add esp, 0x30
ret
push edi
push esi
mov dword [ebx], edi
call fcn.00505930
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x50474d
mov eax, dword [esi + 0x5cc]
test eax, eax
je 0x503fe7
push eax
call dword [0x6d380c]
add esp, 4
mov dword [edi + 0x164], eax
test eax, eax
je 0x503f99
mov eax, dword [esi + 0x5b4]
test eax, eax
je 0x504005
push eax
call dword [0x6d380c]
add esp, 4
mov dword [edi + 0x168], eax
test eax, eax
je 0x503f99
mov eax, dword [esi + 0x5b8]
test eax, eax
je 0x504033
push eax
call dword [0x6d380c]
add esp, 4
mov dword [edi + 0x4ec], eax
test eax, eax
je 0x503f99
mov al, byte [esi + 0x6a9]
mov byte [edi + 0x2a2], al
push edi
push esi
call fcn.005048e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x50474d
mov eax, dword [edi + 0x2b0]
test byte [eax + 0x50], 1
je 0x504062
cmp byte [edi + 0x288], bl
je 0x504062
mov byte [edi + 0x28b], 1
movzx eax, word [esi + 0x158]
test ax, ax
je 0x5040ae
cmp byte [esi + 0xcf4], 0
je 0x5040ae
push eax
push 0x6796d4
mov dword [edi + 0x500], eax
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.0050d3a0
push 0
lea eax, [esp + 0x40]
push eax
push 6
push dword [esi + 0xc18]
call fcn.00536660
add esp, 0x20
test eax, eax
jne 0x503f99
push edi
push esi
call fcn.00504d10
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x50474d
mov eax, dword [edi + 0x2ac]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x50], 0x20
je 0x5040e0
cmp dword [esi + 0xcd8], ebx
je 0x5040e7
mov ecx, 0x6a4e12
mov ebp, ecx
cmp dword [edi + 0x158], ebx
jne 0x504107
push ecx
call dword [0x6d380c]
add esp, 4
mov dword [edi + 0x158], eax
test eax, eax
je 0x503f99
cmp dword [edi + 0x15c], ebx
jne 0x504129
push ebp
call dword [0x6d380c]
add esp, 4
mov dword [edi + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x50474d
push dword [esi + 0x3a0]
push edi
push esi
call fcn.00505170
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50474d
cmp byte [edi + 0x288], al
je 0x504167
lea eax, [edi + 0x70]
push eax
call fcn.00538ad0
add esp, 4
test eax, eax
jne 0x50474f
cmp byte [edi + 0x289], 0
je 0x504184
lea eax, [edi + 0x50]
push eax
call fcn.00538ad0
add esp, 4
test eax, eax
jne 0x50474f
cmp byte [edi + 0x291], 0
je 0x5041c2
lea eax, [edi + 0x40]
push eax
call fcn.00538ad0
add esp, 4
test eax, eax
jne 0x50474f
cmp byte [edi + 0x291], al
je 0x5041c2
push dword [edi + 0x30]
push dword [edi + 0x48]
call fcn.0050eaa0
add esp, 8
test eax, eax
je 0x5041c2
mov byte [edi + 0x291], 0
mov cl, byte [edi + 0x292]
test cl, cl
je 0x5041e3
mov eax, dword [edi + 0x504]
cmp eax, dword [edi + 0x500]
jne 0x5041e3
mov byte [edi + 0x292], 0
xor cl, cl
cmp byte [edi + 0x291], 0
jne 0x5041f0
test cl, cl
je 0x504200
cmp byte [edi + 0x288], 0
je 0x504200
mov byte [edi + 0x28b], 1
mov eax, dword [edi + 0x2ac]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x504224
push edi
push esi
call ecx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x50474d
mov eax, dword [edi + 0x2ac]
cmp dword [edi + 0xec], 0
jge 0x504236
mov eax, dword [eax + 0x44]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0x2ac]
test byte [eax + 0x50], 0x10
je 0x5042e1
push 0
push edi
push esi
call fcn.0050a280
mov eax, dword [edi + 0x2ac]
lea ecx, [esp + 0x1e]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x5042c2
push edi
push esi
call fcn.004f5010
push esi
call fcn.004fe930
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50474d
push esi
call fcn.005064c0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5042b9
mov eax, dword [edi + 0x2ac]
push 0
push ebx
push esi
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0061eb08
add esp, 0x30
ret
push esi
call fcn.005131a0
add esp, 4
push edi
push esi
call fcn.00503700
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0061eb08
add esp, 0x30
ret
mov dword [edi + 0x1a8], 0x506a70
mov dword [edi + 0x1b0], 0x506ad0
mov dword [edi + 0x1ac], 0x506a70
mov dword [edi + 0x1b4], 0x506ad0
mov al, byte [esi + 0x6a2]
push esi
mov byte [edi + 0x29f], al
call fcn.005012c0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x50474d
lea eax, [esp + 0x2c]
push eax
call fcn.004fa8e0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x2c], xmm0
cmp dword [esi + 0x84], ebx
je 0x504352
push 2
push 5
push esi
call fcn.00511cd0
add esp, 0xc
mov ecx, dword [esi + 0x850]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [eax], xmm0
call fcn.004fa990
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x504391
push 5
push esi
call fcn.00511d10
add esp, 8
test ebx, ebx
jl 0x50446f
jg 0x5043a7
cmp ebp, 0x3e8
jb 0x50446f
push 0x503ee0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esi + 0x850]
push esi
call fcn.004fee90
add esp, 0x10
test al, al
je 0x504436
nop dword [eax]
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x310], 0
jne 0x504419
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5043f5
push eax
push esi
call fcn.00514da0
add esp, 8
mov dword [ebx + 0x20], 0
push ebx
call fcn.00520dc0
push ebx
call fcn.005208c0
cmp byte [ebx + 0x515], 0
setne al
movzx eax, al
push eax
push ebx
push esi
call fcn.004feb70
add esp, 0x14
push 0x503ee0
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x850]
push esi
call fcn.004fee90
add esp, 0x10
test al, al
jne 0x5043d0
cmp dword [esi + 0x84], 0
je 0x50444c
push 2
push 5
push esi
call fcn.00511cd0
add esp, 0xc
mov eax, dword [esi + 0x850]
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x50446f
push 5
push esi
call fcn.00511d10
add esp, 8
cmp byte [esi + 0x698], 0
je 0x504485
cmp dword [esi + 0x8b8], 0
je 0x504699
cmp byte [esi + 0x679], 0
jne 0x504699
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.00502600
add esp, 0x14
test al, al
je 0x504699
cmp dword [edi + 0x158], 0
mov ebx, dword [esp + 0x18]
je 0x50451b
push dword [ebx + 0x158]
call dword [0x6d3804]
push dword [ebx + 0x15c]
mov dword [ebx + 0x158], 0
call dword [0x6d3804]
mov dword [ebx + 0x15c], 0
add esp, 8
mov eax, dword [edi + 0x158]
mov dword [ebx + 0x158], eax
mov eax, dword [edi + 0x15c]
mov dword [ebx + 0x15c], eax
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov al, byte [edi + 0x28a]
mov byte [ebx + 0x28a], al
test al, al
je 0x5045c4
push dword [ebx + 0x88]
call dword [0x6d3804]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x6d3804]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x6d3804]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x6d3804]
mov dword [ebx + 0x6c], 0
add esp, 0x10
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x6c], eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x6c], 0
push dword [ebx + 0x28]
call dword [0x6d3804]
push dword [ebx + 0x40]
mov dword [ebx + 0x28], 0
call dword [0x6d3804]
mov dword [ebx + 0x40], 0
movups xmm0, xmmword [edi + 0x28]
movups xmmword [ebx + 0x28], xmm0
mov dword [edi + 0x28], 0
movups xmm0, xmmword [edi + 0x40]
mov dword [edi + 0x2c], 0
movups xmmword [ebx + 0x40], xmm0
mov eax, dword [edi + 0x504]
mov dword [edi + 0x40], 0
push dword [ebx + 0x38]
mov dword [ebx + 0x504], eax
mov eax, dword [edi + 0x500]
mov dword [ebx + 0x500], eax
call dword [0x6d3804]
mov dword [ebx + 0x38], 0
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
push edi
mov dword [edi + 0x38], 0
push esi
mov byte [ebx + 0x28f], 1
call fcn.00503200
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x58], 0
je 0x504660
mov eax, dword [ebx + 0x5c]
jmp 0x50466e
cmp dword [ebx + 0x78], 0
je 0x50466b
mov eax, dword [ebx + 0x7c]
jmp 0x50466e
mov eax, dword [ebx + 0x34]
cmp byte [ebx + 0x28d], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push str.Re_using_existing_connection_with__s__s
push esi
call fcn.00507b80
add esp, 0x10
mov edi, ebx
jmp 0x50482e
mov eax, dword [edi + 0x2ac]
test dword [eax + 0x50], 0x100
je 0x5046b8
cmp byte [esi + 0x6a3], 0
je 0x5046b8
mov byte [edi + 0x2a0], 1
cmp byte [esp + 0x12], 0
jne 0x504729
push dword [esi + 0x850]
push edi
push esi
call fcn.004fede0
mov ebp, dword [esp + 0x30]
add esp, 0xc
test ebp, ebp
je 0x504762
test eax, eax
je 0x504762
cmp dword [eax + 4], ebp
jb 0x504762
push eax
push esi
call fcn.004febf0
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x504708
push 5
push esi
call fcn.00511d10
add esp, 8
test ebx, ebx
je 0x50471a
push 0
push ebx
push esi
call fcn.005034a0
add esp, 0xc
jmp 0x504776
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.00507b80
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.00507b80
push edi
push esi
call fcn.00503200
mov eax, dword [esp + 0x30]
add esp, 0x10
mov ebx, 0x59
mov dword [eax], 0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0061eb08
add esp, 0x30
ret
cmp dword [esi + 0x84], 0
je 0x504776
push 5
push esi
call fcn.00511d10
add esp, 8
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x5047a8
push esi
call fcn.004ff230
add esp, 4
cmp eax, ebx
jb 0x5047a8
push esi
call fcn.004feca0
add esp, 4
test eax, eax
je 0x504874
push 0
push eax
push esi
call fcn.005034a0
add esp, 0xc
push edi
push esi
call fcn.005011a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x50474d
push edi
push esi
call fcn.004f5010
push esi
call fcn.004fe930
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50474d
test byte [esi + 0x8f0], 8
je 0x5047fd
cmp byte [esi + 0x8f8], al
je 0x5047fd
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00507b80
add esp, 8
mov dword [esi + 0x8f0], ebx
mov byte [esi + 0x8f8], bl
test byte [esi + 0x900], 8
je 0x50482e
cmp byte [esi + 0x908], 0
je 0x50482e
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00507b80
add esp, 8
mov dword [esi + 0x900], 0
mov byte [esi + 0x908], 0
push edi
push esi
call fcn.00503700
push esi
call fcn.005064c0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50474d
mov eax, dword [esp + 0x1c]
cmp byte [edi + 0x28f], bl
je 0x5048a3
push esi
mov byte [eax], bl
call fcn.00507310
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0061eb08
add esp, 0x30
ret
cmp dword [esi + 0x658], 0
je 0x504890
push str.Allowing_DoH_to_override_max_connection_limit
push esi
call fcn.00507b80
add esp, 8
jmp 0x5047a8
push str.No_connections_available_in_cache
push esi
call fcn.00507b80
add esp, 8
jmp 0x504729
push eax
push edi
push esi
call fcn.00506200
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50474d
push esi
call fcn.00507310
mov ecx, dword [esp + 0x40]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0061eb08
add esp, 0x30
ret