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

Disassembly:
sub esp, 0x30
mov eax, dword [0x6c02d0]
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.00461a20
push dword [esi + 0x7c]
mov dword [esp + 0x2c], eax
call fcn.00461a40
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xc3c], 0
mov dword [esp + 0x28], eax
jne 0x47038a
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005f5e48
add esp, 0x30
ret
push esi
call fcn.004700c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4703b3
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005f5e48
add esp, 0x30
ret
push edi
push esi
mov dword [ebx], edi
call fcn.00471d60
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x470b4d
mov eax, dword [esi + 0x5cc]
test eax, eax
je 0x4703e7
push eax
call dword [0x6be00c]
add esp, 4
mov dword [edi + 0x164], eax
test eax, eax
je 0x470399
mov eax, dword [esi + 0x5b4]
test eax, eax
je 0x470405
push eax
call dword [0x6be00c]
add esp, 4
mov dword [edi + 0x168], eax
test eax, eax
je 0x470399
mov eax, dword [esi + 0x5b8]
test eax, eax
je 0x470433
push eax
call dword [0x6be00c]
add esp, 4
mov dword [edi + 0x4ec], eax
test eax, eax
je 0x470399
mov al, byte [esi + 0x6a9]
mov byte [edi + 0x2a2], al
push edi
push esi
call fcn.00470cf0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x470b4d
mov eax, dword [edi + 0x2b0]
test byte [eax + 0x50], 1
je 0x470462
cmp byte [edi + 0x288], bl
je 0x470462
mov byte [edi + 0x28b], 1
movzx eax, word [esi + 0x158]
test ax, ax
je 0x4704ae
cmp byte [esi + 0xcf4], 0
je 0x4704ae
push eax
push 0x6289c4
mov dword [edi + 0x500], eax
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00479860
push 0
lea eax, [esp + 0x40]
push eax
push 6
push dword [esi + 0xc18]
call fcn.004a2be0
add esp, 0x20
test eax, eax
jne 0x470399
push edi
push esi
call fcn.00471120
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x470b4d
mov eax, dword [edi + 0x2ac]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x50], 0x20
je 0x4704e0
cmp dword [esi + 0xcd8], ebx
je 0x4704e7
mov ecx, 0x6b754e
mov ebp, ecx
cmp dword [edi + 0x158], ebx
jne 0x470507
push ecx
call dword [0x6be00c]
add esp, 4
mov dword [edi + 0x158], eax
test eax, eax
je 0x470399
cmp dword [edi + 0x15c], ebx
jne 0x470529
push ebp
call dword [0x6be00c]
add esp, 4
mov dword [edi + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x470b4d
push dword [esi + 0x3a0]
push edi
push esi
call fcn.00471580
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x470b4d
cmp byte [edi + 0x288], al
je 0x470567
lea eax, [edi + 0x70]
push eax
call fcn.004a5130
add esp, 4
test eax, eax
jne 0x470b4f
cmp byte [edi + 0x289], 0
je 0x470584
lea eax, [edi + 0x50]
push eax
call fcn.004a5130
add esp, 4
test eax, eax
jne 0x470b4f
cmp byte [edi + 0x291], 0
je 0x4705c2
lea eax, [edi + 0x40]
push eax
call fcn.004a5130
add esp, 4
test eax, eax
jne 0x470b4f
cmp byte [edi + 0x291], al
je 0x4705c2
push dword [edi + 0x30]
push dword [edi + 0x48]
call fcn.0047af60
add esp, 8
test eax, eax
je 0x4705c2
mov byte [edi + 0x291], 0
mov cl, byte [edi + 0x292]
test cl, cl
je 0x4705e3
mov eax, dword [edi + 0x504]
cmp eax, dword [edi + 0x500]
jne 0x4705e3
mov byte [edi + 0x292], 0
xor cl, cl
cmp byte [edi + 0x291], 0
jne 0x4705f0
test cl, cl
je 0x470600
cmp byte [edi + 0x288], 0
je 0x470600
mov byte [edi + 0x28b], 1
mov eax, dword [edi + 0x2ac]
mov edx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x470628
push edi
push esi
call ecx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x470b4d
mov eax, dword [edi + 0x2ac]
mov edx, eax
cmp dword [edi + 0xec], 0
jge 0x47063a
mov eax, dword [eax + 0x44]
mov dword [edi + 0xec], eax
test byte [edx + 0x50], 0x10
je 0x4706df
push 0
push edi
push esi
call fcn.004766c0
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 0x4706c0
push edi
push esi
call fcn.004614c0
push esi
call fcn.0046ad20
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x470b4d
push esi
call fcn.004728e0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4706b7
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.005f5e48
add esp, 0x30
ret
push esi
call fcn.0047f670
add esp, 4
push edi
push esi
call fcn.0046fb00
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005f5e48
add esp, 0x30
ret
mov dword [edi + 0x1a8], 0x472e90
mov dword [edi + 0x1b0], 0x472ef0
mov dword [edi + 0x1ac], 0x472e90
mov dword [edi + 0x1b4], 0x472ef0
mov al, byte [esi + 0x6a2]
push esi
mov byte [edi + 0x29f], al
call fcn.0046d6a0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x470b4d
lea eax, [esp + 0x2c]
push eax
call fcn.00466e00
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x2c], xmm0
cmp dword [esi + 0x84], ebx
je 0x470750
push 2
push 5
push esi
call fcn.0047e190
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.00466eb0
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x47078f
push 5
push esi
call fcn.0047e1d0
add esp, 8
test ebx, ebx
jl 0x47086f
jg 0x4707a5
cmp ebp, 0x3e8
jb 0x47086f
push 0x4702e0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esi + 0x850]
push esi
call fcn.0046b280
add esp, 0x10
test al, al
je 0x470836
nop word [eax + eax]
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x310], 0
jne 0x470819
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4707f5
push eax
push esi
call fcn.00481270
add esp, 8
mov dword [ebx + 0x20], 0
push ebx
call fcn.0048d280
push ebx
call fcn.0048cd70
cmp byte [ebx + 0x515], 0
setne al
movzx eax, al
push eax
push ebx
push esi
call fcn.0046af60
add esp, 0x14
push 0x4702e0
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x850]
push esi
call fcn.0046b280
add esp, 0x10
test al, al
jne 0x4707d0
cmp dword [esi + 0x84], 0
je 0x47084c
push 2
push 5
push esi
call fcn.0047e190
add esp, 0xc
mov eax, dword [esi + 0x850]
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x47086f
push 5
push esi
call fcn.0047e1d0
add esp, 8
cmp byte [esi + 0x698], 0
je 0x470885
cmp dword [esi + 0x8b8], 0
je 0x470a99
cmp byte [esi + 0x679], 0
jne 0x470a99
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.0046ea00
add esp, 0x14
test al, al
je 0x470a99
cmp dword [edi + 0x158], 0
mov ebx, dword [esp + 0x18]
je 0x47091b
push dword [ebx + 0x158]
call dword [0x6be004]
push dword [ebx + 0x15c]
mov dword [ebx + 0x158], 0
call dword [0x6be004]
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 0x4709c4
push dword [ebx + 0x88]
call dword [0x6be004]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x6be004]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x6be004]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x6be004]
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 [0x6be004]
push dword [ebx + 0x40]
mov dword [ebx + 0x28], 0
call dword [0x6be004]
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 [0x6be004]
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.0046f600
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x58], 0
je 0x470a60
mov eax, dword [ebx + 0x5c]
jmp 0x470a6e
cmp dword [ebx + 0x78], 0
je 0x470a6b
mov eax, dword [ebx + 0x7c]
jmp 0x470a6e
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.00473fa0
add esp, 0x10
mov edi, ebx
jmp 0x470c2e
mov eax, dword [edi + 0x2ac]
test dword [eax + 0x50], 0x100
je 0x470ab8
cmp byte [esi + 0x6a3], 0
je 0x470ab8
mov byte [edi + 0x2a0], 1
cmp byte [esp + 0x12], 0
jne 0x470b29
push dword [esi + 0x850]
push edi
push esi
call fcn.0046b1d0
mov ebp, dword [esp + 0x30]
add esp, 0xc
test ebp, ebp
je 0x470b62
test eax, eax
je 0x470b62
cmp dword [eax + 4], ebp
jb 0x470b62
push eax
push esi
call fcn.0046afe0
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x470b08
push 5
push esi
call fcn.0047e1d0
add esp, 8
test ebx, ebx
je 0x470b1a
push 0
push ebx
push esi
call fcn.0046f8a0
add esp, 0xc
jmp 0x470b76
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.00473fa0
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.00473fa0
push edi
push esi
call fcn.0046f600
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.005f5e48
add esp, 0x30
ret
cmp dword [esi + 0x84], 0
je 0x470b76
push 5
push esi
call fcn.0047e1d0
add esp, 8
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x470ba8
push esi
call fcn.0046b620
add esp, 4
cmp eax, ebx
jb 0x470ba8
push esi
call fcn.0046b090
add esp, 4
test eax, eax
je 0x470c74
push 0
push eax
push esi
call fcn.0046f8a0
add esp, 0xc
push edi
push esi
call fcn.0046d580
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x470b4d
push edi
push esi
call fcn.004614c0
push esi
call fcn.0046ad20
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x470b4d
test byte [esi + 0x8f0], 8
je 0x470bfd
cmp byte [esi + 0x8f8], al
je 0x470bfd
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00473fa0
add esp, 8
mov dword [esi + 0x8f0], ebx
mov byte [esi + 0x8f8], bl
test byte [esi + 0x900], 8
je 0x470c2e
cmp byte [esi + 0x908], 0
je 0x470c2e
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00473fa0
add esp, 8
mov dword [esi + 0x900], 0
mov byte [esi + 0x908], 0
push edi
push esi
call fcn.0046fb00
push esi
call fcn.004728e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x470b4d
mov eax, dword [esp + 0x1c]
cmp byte [edi + 0x28f], bl
je 0x470ca3
push esi
mov byte [eax], bl
call fcn.00473730
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005f5e48
add esp, 0x30
ret
cmp dword [esi + 0x658], 0
je 0x470c90
push str.Allowing_DoH_to_override_max_connection_limit
push esi
call fcn.00473fa0
add esp, 8
jmp 0x470ba8
push str.No_connections_available_in_cache
push esi
call fcn.00473fa0
add esp, 8
jmp 0x470b29
push eax
push edi
push esi
call fcn.00472620
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x470b4d
push esi
call fcn.00473730
mov ecx, dword [esp + 0x40]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f5e48
add esp, 0x30
ret