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

Disassembly:
sub esp, 0x38
mov eax, dword [0x4693a4]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
push dword [ebx + 0x7c]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.00406320
push dword [ebx + 0x7c]
mov dword [esp + 0x34], eax
call fcn.00406340
mov byte [edi], 0
add esp, 8
mov dword [esi], 0
cmp dword [ebx + 0xcc4], 0
mov dword [esp + 0x30], eax
jne 0x41359a
mov esi, 3
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00457be0
add esp, 0x38
ret
push ebx
call fcn.00413110
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4135c3
mov esi, 0x1b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00457be0
add esp, 0x38
ret
push ebp
push ebx
mov dword [esi], ebp
call fcn.00415110
mov esi, eax
add esp, 8
test esi, esi
jne 0x413d3c
mov eax, dword [ebx + 0x5f4]
test eax, eax
je 0x4135f7
push eax
call dword [0x46900c]
add esp, 4
mov dword [ebp + 0xcc], eax
test eax, eax
je 0x4135a9
mov eax, dword [ebx + 0x5dc]
test eax, eax
je 0x413615
push eax
call dword [0x46900c]
add esp, 4
mov dword [ebp + 0xd0], eax
test eax, eax
je 0x4135a9
mov eax, dword [ebx + 0x5e0]
test eax, eax
je 0x413643
push eax
call dword [0x46900c]
add esp, 4
mov dword [ebp + 0x3fc], eax
test eax, eax
je 0x4135a9
mov al, byte [ebx + 0x6d7]
mov byte [ebp + 0x1c3], al
push ebp
push ebx
call fcn.00413ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x413d3c
mov eax, dword [ebp + 0x1cc]
test byte [eax + 0x4c], 1
je 0x413673
cmp byte [ebp + 0x1a8], 0
je 0x413673
mov byte [ebp + 0x1ab], 1
movzx eax, word [ebx + 0x160]
test ax, ax
je 0x4136bf
cmp byte [ebx + 0xd78], 0
je 0x4136bf
push eax
push 0x45b8cc
mov dword [ebp + 0x414], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.0041bf30
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [ebx + 0xca0]
call fcn.00440a90
add esp, 0x20
test eax, eax
jne 0x4135a9
push ebp
push ebx
call fcn.004144f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x413d3c
mov eax, dword [ebp + 0x1c8]
mov ecx, str.anonymous
mov esi, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x4136f2
cmp dword [ebx + 0xd60], 0
je 0x4136f9
mov ecx, 0x467090
mov esi, ecx
cmp dword [ebp + 0xc0], 0
jne 0x41371a
push ecx
call dword [0x46900c]
add esp, 4
mov dword [ebp + 0xc0], eax
test eax, eax
je 0x4135a9
cmp dword [ebp + 0xc4], 0
jne 0x41373b
push esi
call dword [0x46900c]
add esp, 4
mov dword [ebp + 0xc4], eax
test eax, eax
je 0x4135a9
push dword [ebx + 0x3a8]
push ebp
push ebx
call fcn.00414950
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x413d3c
cmp byte [ebp + 0x1a8], al
je 0x413771
lea eax, [ebp + 0x70]
push eax
call fcn.004437a0
add esp, 4
test eax, eax
jne 0x413d3e
cmp byte [ebp + 0x1a9], 0
je 0x41378e
lea eax, [ebp + 0x50]
push eax
call fcn.004437a0
add esp, 4
test eax, eax
jne 0x413d3e
cmp byte [ebp + 0x1b1], 0
je 0x4137cc
lea eax, [ebp + 0x40]
push eax
call fcn.004437a0
add esp, 4
test eax, eax
jne 0x413d3e
cmp byte [ebp + 0x1b1], al
je 0x4137cc
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.0041d6d0
add esp, 8
test eax, eax
je 0x4137cc
mov byte [ebp + 0x1b1], 0
mov cl, byte [ebp + 0x1b2]
test cl, cl
je 0x4137ed
mov eax, dword [ebp + 0x418]
cmp eax, dword [ebp + 0x414]
jne 0x4137ed
mov byte [ebp + 0x1b2], 0
xor cl, cl
cmp byte [ebp + 0x1b1], 0
jne 0x4137fa
test cl, cl
je 0x41380a
cmp byte [ebp + 0x1a8], 0
je 0x41380a
mov byte [ebp + 0x1ab], 1
mov ecx, dword [ebp + 0x1c8]
mov eax, ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x413832
push ebp
push ebx
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x413d3c
mov ecx, dword [ebp + 0x1c8]
mov eax, ecx
cmp dword [ebp + 0x410], 0
jge 0x413844
mov eax, dword [eax + 0x40]
mov dword [ebp + 0x410], eax
test byte [ecx + 0x4c], 0x10
je 0x4138f5
push 0xffffffffffffffff
push 0
push ebp
push ebx
call fcn.00418f70
mov eax, dword [ebp + 0x1c8]
lea ecx, [esp + 0x23]
push ecx
push ebx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4138d6
push ebp
push ebx
call fcn.00405de0
push ebx
call fcn.0040e810
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x413d3c
push ebx
call fcn.00415af0
mov esi, eax
add esp, 4
test esi, esi
je 0x4138c3
mov eax, dword [ebp + 0x1c8]
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 + 0x34]
xor ecx, esp
call fcn.00457be0
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.0041ef70
add esp, 0x18
push ebp
push ebx
call fcn.00412a90
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00457be0
add esp, 0x38
ret
mov dword [ebp + 0x110], 0x417590
mov dword [ebp + 0x118], fcn.004175e0
mov dword [ebp + 0x114], 0x417590
mov dword [ebp + 0x11c], fcn.004175e0
mov al, byte [ebx + 0x6d0]
push ebx
mov byte [ebp + 0x1c0], al
call fcn.00410980
mov esi, eax
add esp, 4
test esi, esi
jne 0x413d3c
lea eax, [esp + 0x34]
push eax
call fcn.0040b650
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [ebx + 0x84], esi
je 0x413966
push 2
push 5
push ebx
call fcn.0041dc20
add esp, 0xc
mov ecx, dword [ebx + 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.0040b700
add esp, 0x20
mov edi, eax
cmp dword [ebx + 0x84], 0
mov esi, edx
je 0x4139a5
push 5
push ebx
call fcn.0041dc60
add esp, 8
test esi, esi
jl 0x413a52
jg 0x4139bb
cmp edi, 0x3e8
jb 0x413a52
push 0x413330
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push eax
push dword [ebx + 0x880]
mov dword [esp + 0x34], 0
push ebx
call fcn.0040ee20
add esp, 0x10
test al, al
je 0x413a19
push 1
push dword [esp + 0x2c]
push ebx
call fcn.0040ef40
push 1
push dword [esp + 0x38]
push ebx
call fcn.00412780
push 0x413330
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x880]
push ebx
call fcn.0040ee20
add esp, 0x28
test al, al
jne 0x4139e4
cmp dword [ebx + 0x84], 0
je 0x413a2f
push 2
push 5
push ebx
call fcn.0041dc20
add esp, 0xc
mov eax, dword [ebx + 0x880]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [ebx + 0x84], 0
je 0x413a52
push 5
push ebx
call fcn.0041dc60
add esp, 8
cmp byte [ebx + 0x6c6], 0
je 0x413a68
cmp dword [ebx + 0x93c], 0
je 0x413c8c
cmp byte [ebx + 0x6a5], 0
jne 0x413c8c
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call fcn.004119b0
add esp, 0x14
test al, al
je 0x413c8c
cmp dword [ebp + 0xc0], 0
mov edi, dword [esp + 0x14]
je 0x413afe
push dword [edi + 0xc0]
call dword [0x469004]
push dword [edi + 0xc4]
mov dword [edi + 0xc0], 0
call dword [0x469004]
mov dword [edi + 0xc4], 0
add esp, 8
mov eax, dword [ebp + 0xc0]
mov dword [edi + 0xc0], eax
mov eax, dword [ebp + 0xc4]
mov dword [edi + 0xc4], eax
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 0
mov al, byte [ebp + 0x1aa]
mov byte [edi + 0x1aa], al
test al, al
je 0x413ba7
push dword [edi + 0x88]
call dword [0x469004]
push dword [edi + 0x68]
mov dword [edi + 0x88], 0
call dword [0x469004]
push dword [edi + 0x8c]
mov dword [edi + 0x68], 0
call dword [0x469004]
push dword [edi + 0x6c]
mov dword [edi + 0x8c], 0
call dword [0x469004]
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.00443640
add edi, 0x40
push edi
call fcn.00443640
push dword [esi]
call dword [0x469004]
push dword [edi]
mov dword [esi], 0
call dword [0x469004]
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 + 0x418]
mov dword [ebp + 0x40], 0
push dword [esi + 0x38]
mov dword [esi + 0x418], eax
mov eax, dword [ebp + 0x414]
mov dword [esi + 0x414], eax
call dword [0x469004]
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 + 0x1af], 1
call fcn.00413360
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], esi
cmp dword [esi + 0x58], 0
je 0x413c53
mov eax, dword [esi + 0x5c]
jmp 0x413c61
cmp dword [esi + 0x78], 0
je 0x413c5e
mov eax, dword [esi + 0x7c]
jmp 0x413c61
mov eax, dword [esi + 0x34]
cmp byte [esi + 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 ebx
call fcn.00417a00
add esp, 0x10
mov ebp, esi
jmp 0x413e1e
mov eax, dword [ebp + 0x1c8]
test dword [eax + 0x4c], 0x100
je 0x413cab
cmp byte [ebx + 0x6d1], 0
je 0x413cab
mov byte [ebp + 0x1c1], 1
cmp byte [esp + 0x13], 0
jne 0x413d18
push dword [ebx + 0x880]
push ebp
push ebx
call fcn.0040ed70
mov edi, dword [esp + 0x38]
add esp, 0xc
test edi, edi
je 0x413d51
test eax, eax
je 0x413d51
cmp dword [eax + 4], edi
jb 0x413d51
push eax
push ebx
call fcn.0040eb80
add esp, 8
mov esi, eax
cmp dword [ebx + 0x84], 0
je 0x413cf7
push 5
push ebx
call fcn.0041dc60
add esp, 8
test esi, esi
je 0x413d09
push 0
push esi
push ebx
call fcn.00412780
add esp, 0xc
jmp 0x413d65
push edi
push str.No_more_connections_allowed_to_host:__zu
push ebx
call fcn.00417a00
add esp, 0xc
push str.No_connections_available.
push ebx
call fcn.00417a00
push ebp
push ebx
call fcn.00413360
mov eax, dword [esp + 0x30]
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 + 0x34]
xor ecx, esp
call fcn.00457be0
add esp, 0x38
ret
cmp dword [ebx + 0x84], 0
je 0x413d65
push 5
push ebx
call fcn.0041dc60
add esp, 8
mov esi, dword [esp + 0x30]
test esi, esi
je 0x413d97
push ebx
call fcn.0040f230
add esp, 4
cmp eax, esi
jb 0x413d97
push ebx
call fcn.0040ec30
add esp, 4
test eax, eax
je 0x413e7e
push 0
push eax
push ebx
call fcn.00412780
add esp, 0xc
push ebp
push ebx
call fcn.004107f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x413d3c
push ebp
push ebx
call fcn.00405de0
push ebx
call fcn.0040e810
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x413d3c
test byte [ebx + 0x974], 0x28
je 0x413ded
cmp byte [ebx + 0x97c], al
je 0x413ded
push str.NTLM_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.00417a00
add esp, 8
mov dword [ebx + 0x974], esi
mov byte [ebx + 0x97c], 0
test byte [ebx + 0x984], 0x28
je 0x413e1e
cmp byte [ebx + 0x98c], 0
je 0x413e1e
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.00417a00
add esp, 8
mov dword [ebx + 0x984], 0
mov byte [ebx + 0x98c], 0
push ebp
push ebx
call fcn.00412a90
push ebx
call fcn.00415af0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x413d3c
cmp byte [ebp + 0x1af], 0
mov eax, dword [ebx + 0x174]
mov dword [ebp + 0x22c], eax
mov eax, dword [ebx + 0x1c4]
mov dword [ebp + 0x230], eax
mov eax, dword [esp + 0x1c]
je 0x413e91
push ebx
mov byte [eax], 0
call fcn.004172c0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00457be0
add esp, 0x38
ret
push str.No_connections_available_in_cache
push ebx
call fcn.00417a00
add esp, 8
jmp 0x413d18
push eax
push ebp
push ebx
call fcn.00415830
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x413d3c
push ebx
call fcn.004172c0
mov ecx, dword [esp + 0x48]
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457be0
add esp, 0x38
ret