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

Disassembly:
sub esp, 0x38
mov eax, dword [0x6c45ac]
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 + 0x1c], ebx
push dword [esi + 0x70]
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.004e55c0
push dword [esi + 0x70]
mov dword [esp + 0x30], eax
call fcn.004e55e0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xc94], 0
mov dword [esp + 0x2c], eax
jne 0x4f11fa
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00590be8
add esp, 0x38
ret
push esi
call fcn.004f0c30
mov edi, eax
add esp, 4
test edi, edi
jne 0x4f1223
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00590be8
add esp, 0x38
ret
push edi
push esi
mov dword [ebx], edi
call fcn.004f2d70
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
mov eax, dword [esi + 0x648]
test eax, eax
je 0x4f1257
push eax
call dword [0x6c400c]
add esp, 4
mov dword [edi + 0x110], eax
test eax, eax
je 0x4f1209
mov eax, dword [esi + 0x634]
test eax, eax
je 0x4f1281
push eax
call dword [0x6c400c]
add esp, 4
mov dword [edi + 0x4e8], eax
test eax, eax
je 0x4f1209
mov al, byte [esi + 0x72a]
mov byte [edi + 0x277], al
push edi
push esi
call fcn.004f1ba0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
mov eax, dword [edi + 0x2a4]
test byte [eax + 0x4c], 1
je 0x4f12b0
cmp byte [edi + 0x258], bl
je 0x4f12b0
mov byte [edi + 0x25b], 1
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4f12fd
cmp byte [esi + 0xcf8], 0
je 0x4f12fd
movzx eax, ax
push eax
push 0x62f1f0
mov dword [edi + 0xc8], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.00504f80
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [esi + 0xc6c]
call fcn.0051d880
add esp, 0x20
test eax, eax
jne 0x4f1209
push edi
push esi
call fcn.004f22f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
mov eax, dword [edi + 0x2a0]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x4f132f
cmp byte [edi + 0x263], bl
je 0x4f1336
mov ecx, 0x61ce3e
mov ebp, ecx
cmp dword [edi + 0x104], ebx
jne 0x4f1356
push ecx
call dword [0x6c400c]
add esp, 4
mov dword [edi + 0x104], eax
test eax, eax
je 0x4f1209
cmp dword [edi + 0x108], ebx
jne 0x4f1378
push ebp
call dword [0x6c400c]
add esp, 4
mov dword [edi + 0x108], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x4f1a12
push dword [esi + 0x3e0]
push edi
push esi
call fcn.004f26c0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4f1a12
lea eax, [edi + 0x5c]
push eax
push esi
call fcn.004f03e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
cmp byte [edi + 0x260], al
je 0x4f13d0
lea eax, [edi + 0x74]
push eax
push esi
call fcn.004f03e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
cmp byte [edi + 0x258], 0
je 0x4f13f3
lea eax, [edi + 0xa4]
push eax
push esi
call fcn.004f03e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
cmp byte [edi + 0x259], 0
je 0x4f1416
lea eax, [edi + 0x84]
push eax
push esi
call fcn.004f03e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
cmp byte [edi + 0x260], 0
je 0x4f1438
push dword [edi + 0x64]
push dword [edi + 0x7c]
call fcn.004f82a0
add esp, 8
test eax, eax
je 0x4f1438
mov byte [edi + 0x260], 0
mov cl, byte [edi + 0x261]
test cl, cl
je 0x4f1459
mov eax, dword [edi + 0xcc]
cmp eax, dword [edi + 0xc8]
jne 0x4f1459
mov byte [edi + 0x261], 0
xor cl, cl
cmp byte [edi + 0x260], 0
jne 0x4f1466
test cl, cl
je 0x4f1476
cmp byte [edi + 0x258], 0
je 0x4f1476
mov byte [edi + 0x25b], 1
mov eax, dword [edi + 0x2a0]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4f149a
push edi
push esi
call ecx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4f1a12
mov eax, dword [edi + 0x2a0]
cmp dword [edi + 0xc4], 0
jge 0x4f14ac
mov eax, dword [eax + 0x40]
mov dword [edi + 0xc4], eax
mov dword [edi + 0x160], 0x4f40d0
mov dword [edi + 0x168], fcn.004f4220
mov dword [edi + 0x164], 0x4f40d0
mov dword [edi + 0x16c], fcn.004f4220
mov al, byte [esi + 0x721]
mov byte [edi + 0x272], al
mov eax, dword [edi + 0x2a0]
test byte [eax + 0x4c], 0x10
je 0x4f158b
push 0xffffffffffffffff
push 0
push edi
push esi
call fcn.004f51d0
mov eax, dword [edi + 0x2a0]
lea ecx, [esp + 0x23]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4f156c
push edi
push esi
mov byte [edi + 0x254], 1
call fcn.004e50d0
push esi
call fcn.004ecb80
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4f1a12
push esi
call fcn.004f3970
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4f1559
mov eax, dword [edi + 0x2a0]
push 0
push ebx
push esi
mov eax, dword [eax + 0xc]
call eax
jmp 0x4f1a0f
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.004faa80
add esp, 0x18
push edi
push esi
call fcn.004f0420
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00590be8
add esp, 0x38
ret
mov eax, dword [esi + 0x594]
mov dword [esi + 0x408], eax
mov eax, dword [esi + 0x59c]
mov dword [esi + 0x40c], eax
mov eax, dword [esi + 0x5d0]
mov dword [esi + 0x410], eax
mov eax, dword [esi + 0x67c]
mov dword [esi + 0x434], eax
mov eax, dword [esi + 0x5c0]
mov dword [esi + 0x418], eax
mov eax, dword [esi + 0x5bc]
mov dword [esi + 0x41c], eax
mov eax, dword [esi + 0x5ac]
mov dword [esi + 0x420], eax
mov eax, dword [esi + 0x5b4]
mov dword [esi + 0x424], eax
mov eax, dword [esi + 0x5a4]
mov dword [esi + 0x428], eax
mov eax, dword [esi + 0x66c]
mov dword [esi + 0x42c], eax
mov eax, dword [esi + 0x684]
mov dword [esi + 0x430], eax
mov eax, dword [esi + 0x65c]
mov dword [esi + 0x438], eax
mov eax, dword [esi + 0x598]
mov dword [esi + 0x474], eax
mov eax, dword [esi + 0x5a0]
mov dword [esi + 0x478], eax
mov eax, dword [esi + 0x5c0]
mov dword [esi + 0x484], eax
mov eax, dword [esi + 0x5bc]
mov dword [esi + 0x488], eax
mov eax, dword [esi + 0x5b0]
mov dword [esi + 0x48c], eax
mov eax, dword [esi + 0x5b8]
mov dword [esi + 0x490], eax
mov eax, dword [esi + 0x5a8]
mov dword [esi + 0x494], eax
mov eax, dword [esi + 0x670]
mov dword [esi + 0x498], eax
mov eax, dword [esi + 0x688]
mov dword [esi + 0x49c], eax
mov eax, dword [esi + 0x5d4]
mov dword [esi + 0x47c], eax
mov eax, dword [esi + 0x680]
mov dword [esi + 0x4a0], eax
mov eax, dword [esi + 0x5cc]
mov dword [esi + 0x4b0], eax
mov eax, dword [esi + 0x538]
mov dword [esi + 0x4bc], eax
mov eax, dword [esi + 0x564]
mov dword [esi + 0x4c0], eax
mov eax, dword [esi + 0x574]
mov dword [esi + 0x4c8], eax
mov eax, dword [esi + 0x56c]
mov dword [esi + 0x4cc], eax
mov eax, dword [esi + 0x530]
mov dword [esi + 0x480], eax
mov eax, dword [esi + 0x678]
mov dword [esi + 0x4c4], eax
mov eax, dword [esi + 0x5c8]
mov dword [esi + 0x444], eax
mov eax, dword [esi + 0x534]
mov dword [esi + 0x450], eax
mov eax, dword [esi + 0x560]
mov dword [esi + 0x454], eax
mov eax, dword [esi + 0x570]
mov dword [esi + 0x45c], eax
mov eax, dword [esi + 0x568]
mov dword [esi + 0x460], eax
mov eax, dword [esi + 0x52c]
mov dword [esi + 0x414], eax
mov eax, dword [esi + 0x674]
mov dword [esi + 0x458], eax
lea eax, [edi + 0x1d4]
push eax
lea eax, [esi + 0x400]
push eax
call fcn.004ed9c0
add esp, 8
test al, al
je 0x4f1209
lea eax, [edi + 0x214]
push eax
lea eax, [esi + 0x46c]
push eax
call fcn.004ed9c0
add esp, 8
test al, al
je 0x4f1209
lea eax, [esp + 0x34]
push eax
call fcn.004fb7e0
add esp, 4
cmp dword [esi + 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
je 0x4f17ab
push 2
push 5
push esi
call fcn.004f8a10
add esp, 0xc
mov ecx, dword [esi + 0x8d0]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x54]
movups xmmword [eax], xmm0
call fcn.004fb890
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x78], 0
mov ebx, edx
je 0x4f17e7
push 5
push esi
call fcn.004f8a50
add esp, 8
test ebx, ebx
jl 0x4f188e
jg 0x4f17fd
cmp ebp, 0x3e8
jb 0x4f188e
push 0x4f0f10
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push dword [esi + 0x8d0]
mov dword [esp + 0x30], 0
push esi
call fcn.004ed230
add esp, 0x10
test al, al
je 0x4f185b
push 1
push dword [esp + 0x28]
push esi
call fcn.004ed360
push 1
push dword [esp + 0x34]
push esi
call fcn.004f0150
push 0x4f0f10
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x8d0]
push esi
call fcn.004ed230
add esp, 0x28
test al, al
jne 0x4f1826
cmp dword [esi + 0x78], 0
je 0x4f186e
push 2
push 5
push esi
call fcn.004f8a10
add esp, 0xc
mov eax, dword [esi + 0x8d0]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x20], xmm0
cmp dword [esi + 0x78], 0
je 0x4f188e
push 5
push esi
call fcn.004f8a50
add esp, 8
cmp byte [esi + 0x715], 0
je 0x4f18a4
cmp byte [esi + 0xcf5], 0
je 0x4f1949
cmp byte [esi + 0x719], 0
jne 0x4f1949
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.004ef220
add esp, 0x14
test al, al
je 0x4f1949
mov ebx, dword [esp + 0x14]
push ebx
push edi
push esi
call fcn.004f3640
push dword [edi + 0x1d0]
call dword [0x6c4004]
push edi
call dword [0x6c4004]
mov eax, dword [esp + 0x30]
add esp, 0x14
mov edi, ebx
mov dword [eax], ebx
cmp dword [ebx + 0x8c], 0
je 0x4f1909
mov eax, dword [ebx + 0x90]
jmp 0x4f191d
cmp dword [ebx + 0xac], 0
je 0x4f191a
mov eax, dword [ebx + 0xb0]
jmp 0x4f191d
mov eax, dword [ebx + 0x68]
cmp byte [ebx + 0x262], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [ebx + 0x40]
push str.Re_using_existing_connection____ld__with__s__s
push esi
call fcn.004f3f50
add esp, 0x14
jmp 0x4f1adc
mov eax, dword [edi + 0x2a0]
test dword [eax + 0x4c], 0x100
je 0x4f1978
cmp byte [esi + 0x723], 0
je 0x4f1968
mov byte [edi + 0x274], 1
cmp byte [esi + 0x722], 0
je 0x4f1978
mov byte [edi + 0x273], 1
cmp byte [esp + 0x13], 0
jne 0x4f19ef
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x8d0]
push edi
push esi
call fcn.004ed180
mov ebp, dword [esp + 0x38]
add esp, 0x10
test ebp, ebp
je 0x4f1a27
test eax, eax
je 0x4f1a27
cmp dword [eax + 4], ebp
jb 0x4f1a27
push eax
push esi
call fcn.004ecf90
add esp, 8
mov ebx, eax
cmp dword [esi + 0x78], 0
je 0x4f19ca
push 5
push esi
call fcn.004f8a50
add esp, 8
test ebx, ebx
je 0x4f19dc
push 0
push ebx
push esi
call fcn.004f0150
add esp, 0xc
jmp 0x4f1a38
push ebp
push dword [esp + 0x18]
push str.No_more_connections_allowed_to_host__s:__zu
push esi
call fcn.004f3f50
add esp, 0x10
push str.No_connections_available.
push esi
call fcn.004f3f50
push edi
call fcn.004f0f40
mov eax, dword [esp + 0x28]
mov ebx, 0x59
mov dword [eax], 0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00590be8
add esp, 0x38
ret
cmp dword [esi + 0x78], 0
je 0x4f1a38
push 5
push esi
call fcn.004f8a50
add esp, 8
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4f1a6a
push esi
call fcn.004ed600
add esp, 4
cmp eax, ebx
jb 0x4f1a6a
push esi
call fcn.004ed040
add esp, 4
test eax, eax
je 0x4f1b85
push 0
push eax
push esi
call fcn.004f0150
add esp, 0xc
push edi
push esi
call fcn.004e50d0
push esi
call fcn.004ecb80
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4f1a12
test byte [esi + 0x99c], 0x28
je 0x4f1aab
cmp byte [esi + 0x9a4], al
je 0x4f1aab
push str.NTLM_picked_AND_auth_done_set__clear_picked_
push esi
call fcn.004f3f50
add esp, 8
mov dword [esi + 0x99c], ebx
mov byte [esi + 0x9a4], bl
test byte [esi + 0x9ac], 0x28
je 0x4f1adc
cmp byte [esi + 0x9b4], 0
je 0x4f1adc
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked_
push esi
call fcn.004f3f50
add esp, 8
mov dword [esi + 0x9ac], 0
mov byte [esi + 0x9b4], 0
push edi
push esi
call fcn.004f0420
push esi
call fcn.004f3970
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4f1a12
push dword [esp + 0x30]
mov eax, dword [esi + 0x184]
mov dword [edi + 0x304], eax
mov eax, dword [esi + 0x1d0]
push edi
push esi
mov dword [edi + 0x308], eax
call fcn.004f3350
mov ebx, eax
lea eax, [edi + 0x5c]
push eax
call fcn.004f3a20
add esp, 0x10
cmp byte [edi + 0x258], 0
je 0x4f1b3f
lea eax, [edi + 0xa4]
push eax
call fcn.004f3a20
add esp, 4
cmp byte [edi + 0x259], 0
je 0x4f1b57
lea eax, [edi + 0x84]
push eax
call fcn.004f3a20
add esp, 4
cmp byte [edi + 0x260], 0
je 0x4f1a12
lea eax, [edi + 0x74]
push eax
call fcn.004f3a20
mov ecx, dword [esp + 0x48]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00590be8
add esp, 0x38
ret
push str.No_connections_available_in_cache
push esi
call fcn.004f3f50
add esp, 8
jmp 0x4f19ef