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

Disassembly:
sub esp, 0x34
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
push dword [ebx + 0x7c]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.004f60c0
push dword [ebx + 0x7c]
mov dword [esp + 0x30], eax
call fcn.004f60e0
mov byte [edi], 0
add esp, 8
mov dword [esi], 0
cmp dword [ebx + 0xc34], 0
mov dword [esp + 0x2c], eax
jne 0x501b3a
mov esi, 3
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054507b
add esp, 0x34
ret
push ebx
call fcn.005016b0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x501b63
mov esi, 0x1b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054507b
add esp, 0x34
ret
push ebp
push ebx
mov dword [esi], ebp
call fcn.00503480
mov esi, eax
add esp, 8
test esi, esi
jne 0x5022d0
mov eax, dword [ebx + 0x5c4]
test eax, eax
je 0x501b97
push eax
call dword [0x57000c]
add esp, 4
mov dword [ebp + 0x164], eax
test eax, eax
je 0x501b49
mov eax, dword [ebx + 0x5ac]
test eax, eax
je 0x501bb5
push eax
call dword [0x57000c]
add esp, 4
mov dword [ebp + 0x168], eax
test eax, eax
je 0x501b49
mov eax, dword [ebx + 0x5b0]
test eax, eax
je 0x501be3
push eax
call dword [0x57000c]
add esp, 4
mov dword [ebp + 0x4ac], eax
test eax, eax
je 0x501b49
mov al, byte [ebx + 0x69d]
mov byte [ebp + 0x25a], al
push ebp
push ebx
call fcn.00502440
mov esi, eax
add esp, 8
test esi, esi
jne 0x5022d0
mov eax, dword [ebp + 0x264]
test byte [eax + 0x50], 1
je 0x501c13
cmp byte [ebp + 0x240], 0
je 0x501c13
mov byte [ebp + 0x243], 1
movzx eax, word [ebx + 0x158]
test ax, ax
je 0x501c5f
cmp byte [ebx + 0xcec], 0
je 0x501c5f
push eax
push 0x562278
mov dword [ebp + 0x4c0], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004f3b50
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [ebx + 0xc10]
call fcn.00534ca0
add esp, 0x20
test eax, eax
jne 0x501b49
push ebp
push ebx
call fcn.00502870
mov esi, eax
add esp, 8
test esi, esi
jne 0x5022d0
mov eax, dword [ebp + 0x260]
mov ecx, str.anonymous
mov esi, str.ftp_example.com
test byte [eax + 0x50], 0x20
je 0x501c92
cmp dword [ebx + 0xcd0], 0
je 0x501c99
mov ecx, 0x5590e3
mov esi, ecx
cmp dword [ebp + 0x158], 0
jne 0x501cba
push ecx
call dword [0x57000c]
add esp, 4
mov dword [ebp + 0x158], eax
test eax, eax
je 0x501b49
cmp dword [ebp + 0x15c], 0
jne 0x501cdb
push esi
call dword [0x57000c]
add esp, 4
mov dword [ebp + 0x15c], eax
test eax, eax
je 0x501b49
push dword [ebx + 0x3a0]
push ebp
push ebx
call fcn.00502cd0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5022d0
cmp byte [ebp + 0x240], al
je 0x501d11
lea eax, [ebp + 0x70]
push eax
call fcn.00537870
add esp, 4
test eax, eax
jne 0x5022d2
cmp byte [ebp + 0x241], 0
je 0x501d2e
lea eax, [ebp + 0x50]
push eax
call fcn.00537870
add esp, 4
test eax, eax
jne 0x5022d2
cmp byte [ebp + 0x249], 0
je 0x501d6c
lea eax, [ebp + 0x40]
push eax
call fcn.00537870
add esp, 4
test eax, eax
jne 0x5022d2
cmp byte [ebp + 0x249], al
je 0x501d6c
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.004f3910
add esp, 8
test eax, eax
je 0x501d6c
mov byte [ebp + 0x249], 0
mov cl, byte [ebp + 0x24a]
test cl, cl
je 0x501d8d
mov eax, dword [ebp + 0x4c4]
cmp eax, dword [ebp + 0x4c0]
jne 0x501d8d
mov byte [ebp + 0x24a], 0
xor cl, cl
cmp byte [ebp + 0x249], 0
jne 0x501d9a
test cl, cl
je 0x501daa
cmp byte [ebp + 0x240], 0
je 0x501daa
mov byte [ebp + 0x243], 1
mov ecx, dword [ebp + 0x260]
mov eax, ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x501dd2
push ebp
push ebx
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x5022d0
mov ecx, dword [ebp + 0x260]
mov eax, ecx
cmp dword [ebp + 0xec], 0
jge 0x501de4
mov eax, dword [eax + 0x44]
mov dword [ebp + 0xec], eax
test byte [ecx + 0x50], 0x10
je 0x501e93
push 0
push ebp
push ebx
call fcn.005066f0
mov eax, dword [ebp + 0x260]
lea ecx, [esp + 0x1f]
push ecx
push ebx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x501e74
push ebp
push ebx
call fcn.004f5b80
push ebx
call fcn.004fcf10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5022d0
push ebx
call fcn.00503fe0
mov esi, eax
add esp, 4
test esi, esi
je 0x501e61
mov eax, dword [ebp + 0x260]
push 0
push esi
push ebx
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054507b
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.00513b40
add esp, 0x18
push ebp
push ebx
call fcn.005010f0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054507b
add esp, 0x34
ret
mov dword [ebp + 0x1a8], 0x505030
mov dword [ebp + 0x1b0], 0x505090
mov dword [ebp + 0x1ac], 0x505030
mov dword [ebp + 0x1b4], 0x505090
mov al, byte [ebx + 0x696]
push ebx
mov byte [ebp + 0x257], al
call fcn.004ff0f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x5022d0
lea eax, [esp + 0x30]
push eax
call fcn.004fb620
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
cmp dword [ebx + 0x84], esi
je 0x501f04
push 2
push 5
push ebx
call fcn.00509900
add esp, 0xc
mov ecx, dword [ebx + 0x848]
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 + 0x50]
movups xmmword [eax], xmm0
call fcn.004fb6d0
add esp, 0x20
mov edi, eax
cmp dword [ebx + 0x84], 0
mov esi, edx
je 0x501f43
push 5
push ebx
call fcn.00509940
add esp, 8
test esi, esi
jl 0x501fe2
jg 0x501f59
cmp edi, 0x3e8
jb 0x501fe2
push 0x5018d0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [ebx + 0x848]
push ebx
call fcn.004fd4e0
add esp, 0x10
test al, al
je 0x501fa9
nop
push 1
push dword [esp + 0x20]
push ebx
call fcn.00500e50
push 0x5018d0
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 0x848]
push ebx
call fcn.004fd4e0
add esp, 0x1c
test al, al
jne 0x501f80
cmp dword [ebx + 0x84], 0
je 0x501fbf
push 2
push 5
push ebx
call fcn.00509900
add esp, 0xc
mov eax, dword [ebx + 0x848]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x30], xmm0
cmp dword [ebx + 0x84], 0
je 0x501fe2
push 5
push ebx
call fcn.00509940
add esp, 8
cmp byte [ebx + 0x68c], 0
je 0x501ff8
cmp dword [ebx + 0x8b0], 0
je 0x50221c
cmp byte [ebx + 0x66d], 0
jne 0x50221c
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call fcn.00500130
add esp, 0x14
test al, al
je 0x50221c
cmp dword [ebp + 0x158], 0
mov edi, dword [esp + 0x14]
je 0x50208e
push dword [edi + 0x158]
call dword [0x570004]
push dword [edi + 0x15c]
mov dword [edi + 0x158], 0
call dword [0x570004]
mov dword [edi + 0x15c], 0
add esp, 8
mov eax, dword [ebp + 0x158]
mov dword [edi + 0x158], eax
mov eax, dword [ebp + 0x15c]
mov dword [edi + 0x15c], eax
mov dword [ebp + 0x158], 0
mov dword [ebp + 0x15c], 0
mov al, byte [ebp + 0x242]
mov byte [edi + 0x242], al
test al, al
je 0x502137
push dword [edi + 0x88]
call dword [0x570004]
push dword [edi + 0x68]
mov dword [edi + 0x88], 0
call dword [0x570004]
push dword [edi + 0x8c]
mov dword [edi + 0x68], 0
call dword [0x570004]
push dword [edi + 0x6c]
mov dword [edi + 0x8c], 0
call dword [0x570004]
mov dword [edi + 0x6c], 0
add esp, 0x10
mov eax, dword [ebp + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [ebp + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [ebp + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp + 0x6c]
mov dword [edi + 0x6c], eax
mov dword [ebp + 0x88], 0
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x8c], 0
mov dword [ebp + 0x6c], 0
lea esi, [edi + 0x28]
push esi
call fcn.00537620
add edi, 0x40
push edi
call fcn.00537620
push dword [esi]
call dword [0x570004]
push dword [edi]
mov dword [esi], 0
call dword [0x570004]
mov dword [edi], 0
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [esi], xmm0
mov esi, dword [esp + 0x24]
movups xmm0, xmmword [ebp + 0x40]
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
movups xmmword [edi], xmm0
mov eax, dword [ebp + 0x4c4]
mov dword [ebp + 0x40], 0
push dword [esi + 0x38]
mov dword [esi + 0x4c4], eax
mov eax, dword [ebp + 0x4c0]
mov dword [esi + 0x4c0], eax
call dword [0x570004]
mov dword [esi + 0x38], 0
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x38], eax
push ebp
mov dword [ebp + 0x38], 0
push ebx
mov byte [esi + 0x247], 1
call fcn.00501900
mov eax, dword [esp + 0x40]
add esp, 0x1c
mov dword [eax], esi
cmp dword [esi + 0x58], 0
je 0x5021e3
mov eax, dword [esi + 0x5c]
jmp 0x5021f1
cmp dword [esi + 0x78], 0
je 0x5021ee
mov eax, dword [esi + 0x7c]
jmp 0x5021f1
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x245], 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 ebx
call fcn.004f55c0
add esp, 0x10
mov ebp, esi
jmp 0x5023b2
mov eax, dword [ebp + 0x260]
test dword [eax + 0x50], 0x100
je 0x50223b
cmp byte [ebx + 0x697], 0
je 0x50223b
mov byte [ebp + 0x258], 1
cmp byte [esp + 0x13], 0
jne 0x5022ac
push dword [ebx + 0x848]
push ebp
push ebx
call fcn.004fd430
mov edi, dword [esp + 0x34]
add esp, 0xc
test edi, edi
je 0x5022e5
test eax, eax
je 0x5022e5
cmp dword [eax + 4], edi
jb 0x5022e5
push eax
push ebx
call fcn.004fd240
add esp, 8
mov esi, eax
cmp dword [ebx + 0x84], 0
je 0x50228b
push 5
push ebx
call fcn.00509940
add esp, 8
test esi, esi
je 0x50229d
push 0
push esi
push ebx
call fcn.00500e50
add esp, 0xc
jmp 0x5022f9
push edi
push str.No_more_connections_allowed_to_host:__zu
push ebx
call fcn.004f55c0
add esp, 0xc
push str.No_connections_available.
push ebx
call fcn.004f55c0
push ebp
push ebx
call fcn.00501900
mov eax, dword [esp + 0x34]
add esp, 0x10
mov esi, 0x59
mov dword [eax], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054507b
add esp, 0x34
ret
cmp dword [ebx + 0x84], 0
je 0x5022f9
push 5
push ebx
call fcn.00509940
add esp, 8
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x50232b
push ebx
call fcn.004fd8d0
add esp, 4
cmp eax, esi
jb 0x50232b
push ebx
call fcn.004fd2f0
add esp, 4
test eax, eax
je 0x5023fa
push 0
push eax
push ebx
call fcn.00500e50
add esp, 0xc
push ebp
push ebx
call fcn.004fef50
mov esi, eax
add esp, 8
test esi, esi
jne 0x5022d0
push ebp
push ebx
call fcn.004f5b80
push ebx
call fcn.004fcf10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5022d0
test byte [ebx + 0x8e8], 8
je 0x502381
cmp byte [ebx + 0x8f0], al
je 0x502381
push str.NTLM_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.004f55c0
add esp, 8
mov dword [ebx + 0x8e8], esi
mov byte [ebx + 0x8f0], 0
test byte [ebx + 0x8f8], 8
je 0x5023b2
cmp byte [ebx + 0x900], 0
je 0x5023b2
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.004f55c0
add esp, 8
mov dword [ebx + 0x8f8], 0
mov byte [ebx + 0x900], 0
push ebp
push ebx
call fcn.005010f0
push ebx
call fcn.00503fe0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5022d0
cmp byte [ebp + 0x247], 0
mov eax, dword [esp + 0x20]
je 0x50240d
push ebx
mov byte [eax], 0
call fcn.005057f0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054507b
add esp, 0x34
ret
push str.No_connections_available_in_cache
push ebx
call fcn.004f55c0
add esp, 8
jmp 0x5022ac
push eax
push ebp
push ebx
call fcn.00503d20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5022d0
push ebx
call fcn.005057f0
mov ecx, dword [esp + 0x44]
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054507b
add esp, 0x34
ret