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

Disassembly:
sub esp, 0x38
mov eax, dword [0x4933c0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], ebx
push dword [esi + 0x7c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.004066b0
push dword [esi + 0x7c]
mov dword [esp + 0x34], eax
call fcn.004066d0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcc4], 0
mov dword [esp + 0x30], eax
jne 0x4136fa
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004572a2
add esp, 0x38
ret
push esi
call fcn.00413270
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x413723
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004572a2
add esp, 0x38
ret
push ebp
push esi
mov dword [ebx], ebp
call fcn.00415290
mov edi, eax
add esp, 8
test edi, edi
jne 0x413ea8
mov eax, dword [esi + 0x5f4]
test eax, eax
je 0x413757
push eax
call dword [0x49300c]
add esp, 4
mov dword [ebp + 0xcc], eax
test eax, eax
je 0x413709
mov eax, dword [esi + 0x5dc]
test eax, eax
je 0x413775
push eax
call dword [0x49300c]
add esp, 4
mov dword [ebp + 0xd0], eax
test eax, eax
je 0x413709
mov eax, dword [esi + 0x5e0]
test eax, eax
je 0x4137a3
push eax
call dword [0x49300c]
add esp, 4
mov dword [ebp + 0x40c], eax
test eax, eax
je 0x413709
mov al, byte [esi + 0x6d7]
mov byte [ebp + 0x1c3], al
push ebp
push esi
call fcn.00414030
mov edi, eax
add esp, 8
test edi, edi
jne 0x413ea8
mov eax, dword [ebp + 0x1cc]
test byte [eax + 0x4c], 1
je 0x4137d3
cmp byte [ebp + 0x1a8], 0
je 0x4137d3
mov byte [ebp + 0x1ab], 1
movzx eax, word [esi + 0x160]
test ax, ax
je 0x41381f
cmp byte [esi + 0xd78], 0
je 0x41381f
push eax
push 0x48ffec
mov dword [ebp + 0x424], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.0041b6d0
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [esi + 0xca0]
call fcn.00440470
add esp, 0x20
test eax, eax
jne 0x413709
push ebp
push esi
call fcn.00414660
mov edi, eax
add esp, 8
test edi, edi
jne 0x413ea8
mov eax, dword [ebp + 0x1c8]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x413851
cmp dword [esi + 0xd60], edi
je 0x413858
mov ecx, 0x47e1b4
mov ebx, ecx
cmp dword [ebp + 0xc0], edi
jne 0x413878
push ecx
call dword [0x49300c]
add esp, 4
mov dword [ebp + 0xc0], eax
test eax, eax
je 0x413709
cmp dword [ebp + 0xc4], edi
jne 0x41389a
push ebx
call dword [0x49300c]
add esp, 4
mov dword [ebp + 0xc4], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x413ea8
push dword [esi + 0x3a8]
push ebp
push esi
call fcn.00414ac0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x413ea8
cmp byte [ebp + 0x1a8], al
je 0x4138d8
lea eax, [ebp + 0x70]
push eax
call fcn.004432c0
add esp, 4
test eax, eax
jne 0x413eaa
cmp byte [ebp + 0x1a9], 0
je 0x4138f5
lea eax, [ebp + 0x50]
push eax
call fcn.004432c0
add esp, 4
test eax, eax
jne 0x413eaa
cmp byte [ebp + 0x1b1], 0
je 0x413933
lea eax, [ebp + 0x40]
push eax
call fcn.004432c0
add esp, 4
test eax, eax
jne 0x413eaa
cmp byte [ebp + 0x1b1], al
je 0x413933
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.0041ce10
add esp, 8
test eax, eax
je 0x413933
mov byte [ebp + 0x1b1], 0
mov cl, byte [ebp + 0x1b2]
test cl, cl
je 0x413954
mov eax, dword [ebp + 0x428]
cmp eax, dword [ebp + 0x424]
jne 0x413954
mov byte [ebp + 0x1b2], 0
xor cl, cl
cmp byte [ebp + 0x1b1], 0
jne 0x413961
test cl, cl
je 0x413971
cmp byte [ebp + 0x1a8], 0
je 0x413971
mov byte [ebp + 0x1ab], 1
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x413999
push ebp
push esi
call edx
mov edi, eax
add esp, 8
test edi, edi
jne 0x413ea8
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
cmp dword [ebp + 0x420], 0
jge 0x4139ab
mov eax, dword [eax + 0x40]
mov dword [ebp + 0x420], eax
test byte [ecx + 0x4c], 0x10
je 0x413a5c
push 0xffffffffffffffff
push 0
push ebp
push esi
call fcn.00418680
mov eax, dword [ebp + 0x1c8]
lea ecx, [esp + 0x23]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x413a3d
push ebp
push esi
call fcn.00406170
push esi
call fcn.0040ea20
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x413ea8
push esi
call fcn.00415ca0
mov edi, eax
add esp, 4
test edi, edi
je 0x413a2a
mov eax, dword [ebp + 0x1c8]
push 0
push edi
push esi
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004572a2
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.0041e710
add esp, 0x18
push ebp
push esi
call fcn.00412be0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004572a2
add esp, 0x38
ret
mov dword [ebp + 0x110], 0x416cc0
mov dword [ebp + 0x118], fcn.00416d10
mov dword [ebp + 0x114], 0x416cc0
mov dword [ebp + 0x11c], fcn.00416d10
mov al, byte [esi + 0x6d0]
push esi
mov byte [ebp + 0x1c0], al
call fcn.00410d10
mov edi, eax
add esp, 4
test edi, edi
jne 0x413ea8
lea eax, [esp + 0x34]
push eax
call fcn.0040b840
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [esi + 0x84], edi
je 0x413acd
push 2
push 5
push esi
call fcn.0041d380
add esp, 0xc
mov ecx, dword [esi + 0x880]
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 + 0x54]
movups xmmword [eax], xmm0
call fcn.0040b8f0
add esp, 0x20
mov ebx, eax
cmp dword [esi + 0x84], 0
mov edi, edx
je 0x413b0c
push 5
push esi
call fcn.0041d3c0
add esp, 8
test edi, edi
jl 0x413bbe
jg 0x413b22
cmp ebx, 0x3e8
jb 0x413bbe
push 0x413490
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
push eax
push dword [esi + 0x880]
mov dword [esp + 0x34], 0
push esi
call fcn.0040f020
add esp, 0x10
test al, al
je 0x413b85
nop dword [eax + eax]
push 1
push dword [esp + 0x2c]
push esi
call fcn.0040f140
push 1
push dword [esp + 0x38]
push esi
call fcn.004128c0
push 0x413490
lea eax, [esp + 0x40]
push eax
push dword [esi + 0x880]
push esi
call fcn.0040f020
add esp, 0x28
test al, al
jne 0x413b50
cmp dword [esi + 0x84], 0
je 0x413b9b
push 2
push 5
push esi
call fcn.0041d380
add esp, 0xc
mov eax, dword [esi + 0x880]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x413bbe
push 5
push esi
call fcn.0041d3c0
add esp, 8
cmp byte [esi + 0x6c6], 0
je 0x413bd4
cmp dword [esi + 0x93c], 0
je 0x413df8
cmp byte [esi + 0x6a5], 0
jne 0x413df8
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
call fcn.00411af0
add esp, 0x14
test al, al
je 0x413df8
cmp dword [ebp + 0xc0], 0
mov ebx, dword [esp + 0x14]
je 0x413c6a
push dword [ebx + 0xc0]
call dword [0x493004]
push dword [ebx + 0xc4]
mov dword [ebx + 0xc0], 0
call dword [0x493004]
mov dword [ebx + 0xc4], 0
add esp, 8
mov eax, dword [ebp + 0xc0]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebp + 0xc4]
mov dword [ebx + 0xc4], eax
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 0
mov al, byte [ebp + 0x1aa]
mov byte [ebx + 0x1aa], al
test al, al
je 0x413d13
push dword [ebx + 0x88]
call dword [0x493004]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x493004]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x493004]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x493004]
mov dword [ebx + 0x6c], 0
add esp, 0x10
mov eax, dword [ebp + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [ebp + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebx + 0x6c], eax
mov dword [ebp + 0x88], 0
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x8c], 0
mov dword [ebp + 0x6c], 0
lea edi, [ebx + 0x28]
push edi
call fcn.00443160
add ebx, 0x40
push ebx
call fcn.00443160
push dword [edi]
call dword [0x493004]
push dword [ebx]
mov dword [edi], 0
call dword [0x493004]
mov dword [ebx], 0
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [edi], xmm0
mov edi, dword [esp + 0x24]
movups xmm0, xmmword [ebp + 0x40]
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
movups xmmword [ebx], xmm0
mov eax, dword [ebp + 0x428]
mov dword [ebp + 0x40], 0
push dword [edi + 0x38]
mov dword [edi + 0x428], eax
mov eax, dword [ebp + 0x424]
mov dword [edi + 0x424], eax
call dword [0x493004]
mov dword [edi + 0x38], 0
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x38], eax
push ebp
mov dword [ebp + 0x38], 0
push esi
mov byte [edi + 0x1af], 1
call fcn.004134c0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], edi
cmp dword [edi + 0x58], 0
je 0x413dbf
mov eax, dword [edi + 0x5c]
jmp 0x413dcd
cmp dword [edi + 0x78], 0
je 0x413dca
mov eax, dword [edi + 0x7c]
jmp 0x413dcd
mov eax, dword [edi + 0x34]
cmp byte [edi + 0x1ad], 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.00417120
add esp, 0x10
mov ebp, edi
jmp 0x413f8a
mov eax, dword [ebp + 0x1c8]
test dword [eax + 0x4c], 0x100
je 0x413e17
cmp byte [esi + 0x6d1], 0
je 0x413e17
mov byte [ebp + 0x1c1], 1
cmp byte [esp + 0x13], 0
jne 0x413e84
push dword [esi + 0x880]
push ebp
push esi
call fcn.0040ef70
mov ebx, dword [esp + 0x38]
add esp, 0xc
test ebx, ebx
je 0x413ebd
test eax, eax
je 0x413ebd
cmp dword [eax + 4], ebx
jb 0x413ebd
push eax
push esi
call fcn.0040ed80
add esp, 8
mov edi, eax
cmp dword [esi + 0x84], 0
je 0x413e63
push 5
push esi
call fcn.0041d3c0
add esp, 8
test edi, edi
je 0x413e75
push 0
push edi
push esi
call fcn.004128c0
add esp, 0xc
jmp 0x413ed1
push ebx
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.00417120
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.00417120
push ebp
push esi
call fcn.004134c0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov edi, 0x59
mov dword [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004572a2
add esp, 0x38
ret
cmp dword [esi + 0x84], 0
je 0x413ed1
push 5
push esi
call fcn.0041d3c0
add esp, 8
mov edi, dword [esp + 0x30]
test edi, edi
je 0x413f03
push esi
call fcn.0040f430
add esp, 4
cmp eax, edi
jb 0x413f03
push esi
call fcn.0040ee30
add esp, 4
test eax, eax
je 0x413fea
push 0
push eax
push esi
call fcn.004128c0
add esp, 0xc
push ebp
push esi
call fcn.00410b70
mov edi, eax
add esp, 8
test edi, edi
jne 0x413ea8
push ebp
push esi
call fcn.00406170
push esi
call fcn.0040ea20
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x413ea8
test byte [esi + 0x974], 0x28
je 0x413f59
cmp byte [esi + 0x97c], al
je 0x413f59
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00417120
add esp, 8
mov dword [esi + 0x974], edi
mov byte [esi + 0x97c], 0
test byte [esi + 0x984], 0x28
je 0x413f8a
cmp byte [esi + 0x98c], 0
je 0x413f8a
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00417120
add esp, 8
mov dword [esi + 0x984], 0
mov byte [esi + 0x98c], 0
push ebp
push esi
call fcn.00412be0
push esi
call fcn.00415ca0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x413ea8
cmp byte [ebp + 0x1af], 0
mov eax, dword [esi + 0x174]
mov dword [ebp + 0x22c], eax
mov eax, dword [esi + 0x1c4]
mov dword [ebp + 0x230], eax
mov eax, dword [esp + 0x1c]
je 0x413ffd
push esi
mov byte [eax], 0
call fcn.004169f0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004572a2
add esp, 0x38
ret
push str.No_connections_available_in_cache
push esi
call fcn.00417120
add esp, 8
jmp 0x413e84
push eax
push ebp
push esi
call fcn.004159e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x413ea8
push esi
call fcn.004169f0
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004572a2
add esp, 0x38
ret