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

Disassembly:
sub esp, 0x30
mov eax, dword [0x659bc0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x14], ebx
push dword [esi + 0x78]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0
mov byte [esp + 0x13], 0
call fcn.004972f0
push dword [esi + 0x78]
mov dword [esp + 0x28], eax
call fcn.00497310
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xad8], 0
mov dword [esp + 0x24], eax
jne 0x4a2728
pop edi
mov ebx, 3
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005c70c7
add esp, 0x30
ret
push esi
call fcn.004a1f60
mov edi, eax
add esp, 4
test edi, edi
jne 0x4a2750
pop edi
mov ebx, 0x1b
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005c70c7
add esp, 0x30
ret
push edi
push esi
mov dword [ebx], edi
call fcn.004a4360
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a2d1c
mov eax, dword [esi + 0xa1c]
test eax, eax
je 0x4a2784
push eax
call dword [0x6560e4]
add esp, 4
mov dword [edi + 0x17c], eax
test eax, eax
je 0x4a2737
mov eax, dword [esi + 0xa28]
test eax, eax
je 0x4a27a2
push eax
call dword [0x6560e4]
add esp, 4
mov dword [edi + 0x180], eax
test eax, eax
je 0x4a2737
push edi
call fcn.004a3220
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a2d1c
mov eax, dword [edi + 0x2ec]
test byte [eax + 0x44], 1
je 0x4a27d0
cmp byte [edi + 0x2aa], bl
je 0x4a27d0
mov byte [edi + 0x2b3], 1
mov eax, dword [esi + 0x5b8]
test eax, eax
je 0x4a281d
cmp byte [esi + 0xfe0], 0
je 0x4a281d
movzx eax, ax
push eax
push 0x5d4cf8
mov dword [edi + 0x100], eax
lea eax, [esp + 0x30]
push 0x10
push eax
call fcn.004a8810
push 0
lea eax, [esp + 0x3c]
push eax
push 6
push dword [esi + 0xfac]
call fcn.004bfde0
add esp, 0x20
test eax, eax
jne 0x4a2737
push ebp
lea eax, [edi + 0x178]
push eax
lea ebp, [edi + 0x174]
push ebp
lea ecx, [edi + 0x170]
push ecx
push edi
push esi
call fcn.004a3a30
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4a2d1b
mov eax, dword [edi + 0x2e8]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x44], 0x20
je 0x4a2866
cmp byte [edi + 0x2ac], 0
je 0x4a286d
mov ecx, 0x6407e5
mov ebx, ecx
cmp dword [edi + 0x170], 0
jne 0x4a288e
push ecx
call dword [0x6560e4]
add esp, 4
mov dword [edi + 0x170], eax
test eax, eax
je 0x4a2f55
cmp dword [ebp], 0
jne 0x4a28a9
push ebx
call dword [0x6560e4]
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x4a2f55
push dword [esi + 0x820]
push edi
push esi
call fcn.004a3e40
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4a2d1b
lea eax, [edi + 0x94]
push eax
push edi
call fcn.004a39f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a2d1b
cmp byte [edi + 0x2a7], al
je 0x4a28ff
lea eax, [edi + 0xac]
push eax
push edi
call fcn.004a39f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a2d1b
cmp byte [edi + 0x2aa], 0
je 0x4a2922
lea eax, [edi + 0xdc]
push eax
push edi
call fcn.004a39f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a2d1b
cmp byte [edi + 0x2ab], 0
je 0x4a2945
lea eax, [edi + 0xbc]
push eax
push edi
call fcn.004a39f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a2d1b
cmp byte [edi + 0x2a7], 0
je 0x4a296d
push dword [edi + 0x9c]
push dword [edi + 0xb4]
call fcn.004a9bc0
add esp, 8
test eax, eax
je 0x4a296d
mov byte [edi + 0x2a7], 0
mov cl, byte [edi + 0x2a8]
test cl, cl
je 0x4a298e
mov eax, dword [edi + 0x104]
cmp eax, dword [edi + 0x100]
jne 0x4a298e
mov byte [edi + 0x2a8], 0
xor cl, cl
cmp byte [edi + 0x2a7], 0
jne 0x4a299b
test cl, cl
je 0x4a29ab
cmp byte [edi + 0x2aa], 0
je 0x4a29ab
mov byte [edi + 0x2b3], 1
mov eax, dword [edi + 0x2e8]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a29ce
push edi
call ecx
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a2d1b
mov eax, dword [edi + 0x2e8]
cmp dword [edi + 0xfc], 0
jge 0x4a29e0
mov eax, dword [eax + 0x3c]
mov dword [edi + 0xfc], eax
mov dword [edi + 0x1d4], 0x4a5580
mov dword [edi + 0x1dc], 0x4a56d0
mov dword [edi + 0x1d8], 0x4a5580
mov dword [edi + 0x1e0], 0x4a56d0
mov al, byte [esi + 0xac8]
mov byte [edi + 0x2bd], al
mov eax, dword [esi + 0x9a0]
mov dword [esi + 0x840], eax
mov eax, dword [esi + 0x9a4]
mov dword [esi + 0x89c], eax
mov eax, dword [esi + 0x9a8]
mov dword [esi + 0x844], eax
mov eax, dword [esi + 0x9ac]
mov dword [esi + 0x8a0], eax
mov eax, dword [esi + 0x9cc]
mov dword [esi + 0x84c], eax
mov dword [esi + 0x8a8], eax
mov eax, dword [esi + 0x9c8]
mov dword [esi + 0x850], eax
mov dword [esi + 0x8ac], eax
mov eax, dword [esi + 0x9b8]
mov dword [esi + 0x854], eax
mov eax, dword [esi + 0x9bc]
mov dword [esi + 0x8b0], eax
mov eax, dword [esi + 0x9c0]
mov dword [esi + 0x858], eax
mov eax, dword [esi + 0x9c4]
mov dword [esi + 0x8b4], eax
mov eax, dword [esi + 0x9b0]
mov dword [esi + 0x85c], eax
mov eax, dword [esi + 0x9b4]
mov dword [esi + 0x8b8], eax
mov eax, dword [esi + 0x9d4]
mov dword [esi + 0x868], eax
mov eax, dword [esi + 0x9d8]
mov dword [esi + 0x8c4], eax
mov eax, dword [esi + 0x9dc]
mov dword [esi + 0x86c], eax
mov eax, dword [esi + 0x9e0]
mov edx, dword [esi + 0x938]
mov ecx, dword [esi + 0x93c]
mov dword [esi + 0x8c8], eax
mov eax, dword [esi + 0x940]
mov dword [esi + 0x87c], eax
mov eax, dword [esi + 0x944]
mov dword [esi + 0x8d8], eax
mov eax, dword [esi + 0x96c]
mov dword [esi + 0x880], eax
mov eax, dword [esi + 0x970]
mov dword [esi + 0x8dc], eax
mov eax, dword [esi + 0x97c]
mov dword [esi + 0x884], eax
mov eax, dword [esi + 0x980]
mov dword [esi + 0x8e0], eax
mov eax, dword [esi + 0x974]
mov dword [esi + 0x888], eax
mov eax, dword [esi + 0x978]
mov dword [esi + 0x8e4], eax
lea eax, [edi + 0x248]
push eax
lea eax, [esi + 0x838]
mov dword [esi + 0x878], edx
push eax
mov dword [esi + 0x8d4], ecx
mov dword [esi + 0x848], edx
mov dword [esi + 0x8a4], ecx
call fcn.0049f1a0
add esp, 8
test al, al
je 0x4a2f55
lea eax, [edi + 0x274]
push eax
lea eax, [esi + 0x894]
push eax
call fcn.0049f1a0
add esp, 8
test al, al
je 0x4a2f55
push esi
call fcn.004a4750
add esp, 4
cmp byte [esi + 0xabc], 0
je 0x4a2bbf
cmp byte [esi + 0xfdd], 0
je 0x4a2c66
cmp byte [esi + 0xac0], 0
jne 0x4a2c66
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.004a08f0
add esp, 0x14
test al, al
je 0x4a2c66
mov ebx, dword [esp + 0x14]
push ebx
push edi
call fcn.004a4ba0
push dword [edi + 0x244]
call dword [0x6560dc]
push edi
call dword [0x6560dc]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov edi, ebx
mov dword [eax], ebx
cmp dword [ebx + 0xc4], 0
je 0x4a2c23
mov eax, dword [ebx + 0xc8]
jmp 0x4a2c3a
cmp dword [ebx + 0xe4], 0
je 0x4a2c34
mov eax, dword [ebx + 0xe8]
jmp 0x4a2c3a
mov eax, dword [ebx + 0xa0]
cmp byte [ebx + 0x2a9], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [ebx + 0x48]
push str.Re_using_existing_connection____ld__with__s__s_n
push esi
call fcn.004a53b0
add esp, 0x14
jmp 0x4a2ddc
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x44], 0x100
je 0x4a2c95
cmp byte [esi + 0xaca], 0
je 0x4a2c85
mov byte [edi + 0x2bf], 1
cmp byte [esi + 0xac9], 0
je 0x4a2c95
mov byte [edi + 0x2be], 1
cmp byte [esp + 0x13], 0
jne 0x4a2cf8
lea eax, [esp + 0x14]
push eax
push dword [esi + 0xc78]
push edi
call fcn.0049e9a0
mov ebp, dword [esp + 0x30]
add esp, 0xc
test ebp, ebp
je 0x4a2d30
test eax, eax
je 0x4a2d30
cmp dword [eax + 4], ebp
jb 0x4a2d30
push eax
push esi
call fcn.0049e7a0
push esi
mov ebx, eax
call fcn.0049eee0
add esp, 0xc
test ebx, ebx
je 0x4a2ce5
push 0
push ebx
push esi
call fcn.004a15d0
add esp, 0xc
jmp 0x4a2d39
push ebp
push dword [esp + 0x18]
push str.No_more_connections_allowed_to_host__s:__zu_n
push esi
call fcn.004a53b0
add esp, 0x10
push str.No_connections_available._n
push esi
call fcn.004a53b0
push edi
call fcn.004a2360
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ebx, 0x59
mov dword [eax], 0
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005c70c7
add esp, 0x30
ret
push esi
call fcn.0049eee0
add esp, 4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4a2d6b
push esi
call fcn.0049eea0
add esp, 4
cmp eax, ebx
jb 0x4a2d6b
push esi
call fcn.0049e850
add esp, 4
test eax, eax
je 0x4a2e25
push 0
push eax
push esi
call fcn.004a15d0
add esp, 0xc
push edi
push dword [esi + 0xc78]
call fcn.0049e4d0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a2d1b
test byte [esi + 0xd1c], 0x28
je 0x4a2dab
cmp byte [esi + 0xd24], al
je 0x4a2dab
push str.NTLM_picked_AND_auth_done_set__clear_picked__n
push esi
call fcn.004a53b0
add esp, 8
mov dword [esi + 0xd1c], ebx
mov byte [esi + 0xd24], bl
test byte [esi + 0xd2c], 0x28
je 0x4a2ddc
cmp byte [esi + 0xd34], 0
je 0x4a2ddc
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked__n
push esi
call fcn.004a53b0
add esp, 8
mov dword [esi + 0xd2c], 0
mov byte [esi + 0xd34], 0
mov byte [edi + 0x2b0], 0
cmp byte [esi + 0xfe3], 0
je 0x4a2e02
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x44], 0x1000
jne 0x4a2e02
mov byte [esi + 0xfe3], 0
cmp byte [esi + 0xab7], 0
mov byte [esi + 0xfe7], 0
mov byte [esi + 0xfe4], 0
je 0x4a2e38
mov dword [esi + 0x830], 6
jmp 0x4a2e4b
push str.No_connections_available_in_cache_n
push esi
call fcn.004a53b0
add esp, 8
jmp 0x4a2cf8
cmp dword [esi + 0x830], 6
jne 0x4a2e4b
mov dword [esi + 0x830], 1
lea eax, [esp + 0x2c]
push eax
call fcn.004ad5e0
push esi
movups xmm0, xmmword [eax]
mov byte [esi + 0x588], 1
mov dword [esi + 0x98], 0
movups xmmword [esi + 0xb8], xmm0
mov dword [esi + 0x9c], 0
movups xmm0, xmmword [esi + 0xb8]
movups xmmword [esi + 0xc8], xmm0
mov eax, dword [esi + 0xc9c]
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0xc94]
mov dword [esi + 0xe0], eax
mov byte [esi + 0x58b], 0
call fcn.004b5120
push 0
push 0
push esi
call fcn.004b3df0
push 0
push 0
push esi
call fcn.004b3d70
mov ecx, dword [esi + 0x680]
add esp, 0x20
mov edx, dword [esi + 0x684]
mov eax, ecx
or eax, edx
mov dword [esi + 0xf78], ecx
mov dword [esi + 0xf7c], edx
jne 0x4a2ef1
cmp dword [esi + 0x994], eax
jne 0x4a2ef1
xor al, al
jmp 0x4a2f71
cmp byte [esi + 0xfe6], 0
je 0x4a2f15
push dword [esi + 0xf70]
call dword [0x6560dc]
mov ecx, dword [esi + 0xf78]
add esp, 4
mov edx, dword [esi + 0xf7c]
mov eax, ecx
or eax, edx
je 0x4a2f2c
push edx
push ecx
push str._I64d_
call fcn.004a8760
add esp, 0xc
jmp 0x4a2f3b
push dword [esi + 0x994]
call dword [0x6560e4]
add esp, 4
test eax, eax
mov dword [esi + 0xf70], eax
setne al
cmp dword [esi + 0xf70], 0
mov byte [esi + 0xfe6], al
jne 0x4a2f6f
pop ebp
pop edi
mov ebx, 0x1b
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005c70c7
add esp, 0x30
ret
mov al, 1
mov byte [esi + 0xfe5], al
xor ebx, ebx
mov eax, dword [esi + 0x5d8]
push 1
mov dword [edi + 0x380], eax
mov eax, dword [esi + 0x628]
push ebx
push esi
mov dword [edi + 0x384], eax
call fcn.004a6710
add esp, 0xc
mov dword [esp + 0x18], edx
mov ebp, eax
cmp byte [edi + 0x2a5], bl
je 0x4a2fb6
mov eax, dword [esp + 0x20]
mov byte [eax], bl
jmp 0x4a311a
cmp byte [edi + 0x2a9], bl
jne 0x4a3080
mov cl, byte [edi + 0x2a7]
mov byte [esp + 0x13], cl
cmp byte [edi + 0x2a8], bl
je 0x4a2fdc
mov eax, dword [edi + 0x104]
jmp 0x4a2fe2
mov eax, dword [edi + 0x100]
mov dword [edi + 0xfc], eax
test cl, cl
mov edx, 0x9c
mov eax, 0xb4
cmove eax, edx
push dword [eax + edi]
call dword [0x6560e4]
add esp, 4
mov dword [edi + 0xa4], eax
test eax, eax
jne 0x4a3015
lea ebx, [eax + 0x1b]
jmp 0x4a311a
push dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ebp
push ecx
push dword [edi + 0xfc]
push eax
push edi
call fcn.004ae940
add esp, 0x18
cmp eax, 1
jne 0x4a3040
mov eax, dword [esp + 0x20]
mov byte [eax], 1
jmp 0x4a3113
cmp eax, 0xfffffffe
jne 0x4a304d
lea ebx, [eax + 0x1e]
jmp 0x4a3113
cmp dword [esp + 0x14], ebx
jne 0x4a3113
cmp byte [esp + 0x13], bl
mov ecx, 0xa0
mov eax, 0xb8
cmove eax, ecx
push dword [eax + edi]
push str.Couldnt_resolve_host__s
push esi
call fcn.004a52d0
mov ebx, 6
jmp 0x4a3110
mov cl, byte [edi + 0x2ab]
mov edx, 0xe4
test cl, cl
mov byte [esp + 0x13], cl
mov eax, 0xc4
cmove eax, edx
push dword [eax + edi]
call dword [0x6560e4]
add esp, 4
mov dword [edi + 0xa4], eax
test eax, eax
jne 0x4a30b4
lea ebx, [eax + 0x1b]
jmp 0x4a311a
push dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ebp
push ecx
push dword [edi + 0xfc]
push eax
push edi
call fcn.004ae940
add esp, 0x18
cmp eax, 1
jne 0x4a30dc
mov eax, dword [esp + 0x20]
mov byte [eax], 1
jmp 0x4a3113
cmp eax, 0xfffffffe
jne 0x4a30e6
lea ebx, [eax + 0x1e]
jmp 0x4a3113
cmp dword [esp + 0x14], ebx
jne 0x4a3113
cmp byte [esp + 0x13], bl
mov ecx, 0xe8
mov eax, 0xc8
cmove eax, ecx
push dword [eax + edi]
push str.Couldnt_resolve_proxy__s
push esi
call fcn.004a52d0
mov ebx, 5
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [edi + 0x4c], eax
lea edx, [edi + 0x94]
test edx, edx
je 0x4a3146
mov edx, dword [edx + 8]
test edx, edx
je 0x4a3146
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a3130
sub ecx, esi
je 0x4a3146
cmp byte [edx + ecx - 1], 0x2e
jne 0x4a3146
mov byte [edx + ecx - 1], al
cmp byte [edi + 0x2aa], 0
je 0x4a317b
lea edx, [edi + 0xdc]
test edx, edx
je 0x4a317b
mov edx, dword [edx + 8]
test edx, edx
je 0x4a317b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a3165
sub ecx, esi
je 0x4a317b
cmp byte [edx + ecx - 1], 0x2e
jne 0x4a317b
mov byte [edx + ecx - 1], al
cmp byte [edi + 0x2ab], 0
je 0x4a31b6
lea edx, [edi + 0xbc]
test edx, edx
je 0x4a31b6
mov edx, dword [edx + 8]
test edx, edx
je 0x4a31b6
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a31a0
sub ecx, esi
je 0x4a31b6
cmp byte [edx + ecx - 1], 0x2e
jne 0x4a31b6
mov byte [edx + ecx - 1], al
cmp byte [edi + 0x2a7], 0
je 0x4a2d1b
lea edx, [edi + 0xac]
test edx, edx
je 0x4a2d1b
mov edx, dword [edx + 8]
test edx, edx
je 0x4a2d1b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a31e1
sub ecx, esi
je 0x4a2d1b
cmp byte [edx + ecx - 1], 0x2e
jne 0x4a2d1b
pop ebp
pop edi
mov byte [edx + ecx - 1], al
mov eax, ebx
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
xor ecx, esp
call fcn.005c70c7
add esp, 0x30
ret