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

Disassembly:
sub esp, 0x38
mov eax, dword [0x100ab3c0]
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.1003d160
push dword [esi + 0x7c]
mov dword [esp + 0x34], eax
call fcn.1003d180
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcc4], 0
mov dword [esp + 0x30], eax
jne 0x1004a1ca
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1008f042
add esp, 0x38
ret
push esi
call fcn.10049d30
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1004a1f3
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1008f042
add esp, 0x38
ret
push ebp
push esi
mov dword [ebx], ebp
call fcn.1004bd60
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004a978
mov eax, dword [esi + 0x5f4]
test eax, eax
je 0x1004a227
push eax
call dword [0x100ab00c]
add esp, 4
mov dword [ebp + 0xcc], eax
test eax, eax
je 0x1004a1d9
mov eax, dword [esi + 0x5dc]
test eax, eax
je 0x1004a245
push eax
call dword [0x100ab00c]
add esp, 4
mov dword [ebp + 0xd0], eax
test eax, eax
je 0x1004a1d9
mov eax, dword [esi + 0x5e0]
test eax, eax
je 0x1004a273
push eax
call dword [0x100ab00c]
add esp, 4
mov dword [ebp + 0x40c], eax
test eax, eax
je 0x1004a1d9
mov al, byte [esi + 0x6d7]
mov byte [ebp + 0x1c3], al
push ebp
push esi
call fcn.1004ab00
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004a978
mov eax, dword [ebp + 0x1cc]
test byte [eax + 0x4c], 1
je 0x1004a2a3
cmp byte [ebp + 0x1a8], 0
je 0x1004a2a3
mov byte [ebp + 0x1ab], 1
movzx eax, word [esi + 0x160]
test ax, ax
je 0x1004a2ef
cmp byte [esi + 0xd78], 0
je 0x1004a2ef
push eax
push 0x100a0da0
mov dword [ebp + 0x424], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.100544b0
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [esi + 0xca0]
call fcn.10077f20
add esp, 0x20
test eax, eax
jne 0x1004a1d9
push ebp
push esi
call fcn.1004b130
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004a978
mov eax, dword [ebp + 0x1c8]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x1004a321
cmp dword [esi + 0xd60], edi
je 0x1004a328
mov ecx, 0x100a00be
mov ebx, ecx
cmp dword [ebp + 0xc0], edi
jne 0x1004a348
push ecx
call dword [0x100ab00c]
add esp, 4
mov dword [ebp + 0xc0], eax
test eax, eax
je 0x1004a1d9
cmp dword [ebp + 0xc4], edi
jne 0x1004a36a
push ebx
call dword [0x100ab00c]
add esp, 4
mov dword [ebp + 0xc4], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x1004a978
push dword [esi + 0x3a8]
push ebp
push esi
call fcn.1004b590
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1004a978
cmp byte [ebp + 0x1a8], al
je 0x1004a3a8
lea eax, [ebp + 0x70]
push eax
call fcn.1007ad30
add esp, 4
test eax, eax
jne 0x1004a97a
cmp byte [ebp + 0x1a9], 0
je 0x1004a3c5
lea eax, [ebp + 0x50]
push eax
call fcn.1007ad30
add esp, 4
test eax, eax
jne 0x1004a97a
cmp byte [ebp + 0x1b1], 0
je 0x1004a403
lea eax, [ebp + 0x40]
push eax
call fcn.1007ad30
add esp, 4
test eax, eax
jne 0x1004a97a
cmp byte [ebp + 0x1b1], al
je 0x1004a403
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.10052060
add esp, 8
test eax, eax
je 0x1004a403
mov byte [ebp + 0x1b1], 0
mov cl, byte [ebp + 0x1b2]
test cl, cl
je 0x1004a424
mov eax, dword [ebp + 0x428]
cmp eax, dword [ebp + 0x424]
jne 0x1004a424
mov byte [ebp + 0x1b2], 0
xor cl, cl
cmp byte [ebp + 0x1b1], 0
jne 0x1004a431
test cl, cl
je 0x1004a441
cmp byte [ebp + 0x1a8], 0
je 0x1004a441
mov byte [ebp + 0x1ab], 1
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x1004a469
push ebp
push esi
call edx
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004a978
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
cmp dword [ebp + 0x420], 0
jge 0x1004a47b
mov eax, dword [eax + 0x40]
mov dword [ebp + 0x420], eax
test byte [ecx + 0x4c], 0x10
je 0x1004a52c
push 0xffffffffffffffff
push 0
push ebp
push esi
call fcn.1004f150
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 0x1004a50d
push ebp
push esi
call fcn.1003cc20
push esi
call fcn.100454c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1004a978
push esi
call fcn.1004c770
mov edi, eax
add esp, 4
test edi, edi
je 0x1004a4fa
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.1008f042
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.10053950
add esp, 0x18
push ebp
push esi
call fcn.100496a0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1008f042
add esp, 0x38
ret
mov dword [ebp + 0x110], 0x1004d790
mov dword [ebp + 0x118], fcn.1004d7e0
mov dword [ebp + 0x114], 0x1004d790
mov dword [ebp + 0x11c], fcn.1004d7e0
mov al, byte [esi + 0x6d0]
push esi
mov byte [ebp + 0x1c0], al
call fcn.100477c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x1004a978
lea eax, [esp + 0x34]
push eax
call fcn.100422e0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [esi + 0x84], edi
je 0x1004a59d
push 2
push 5
push esi
call fcn.100525c0
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.10042390
add esp, 0x20
mov ebx, eax
cmp dword [esi + 0x84], 0
mov edi, edx
je 0x1004a5dc
push 5
push esi
call fcn.10052600
add esp, 8
test edi, edi
jl 0x1004a68e
jg 0x1004a5f2
cmp ebx, 0x3e8
jb 0x1004a68e
push 0x10049f50
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
push eax
push dword [esi + 0x880]
mov dword [esp + 0x34], 0
push esi
call fcn.10045ac0
add esp, 0x10
test al, al
je 0x1004a655
nop dword [eax + eax]
push 1
push dword [esp + 0x2c]
push esi
call fcn.10045be0
push 1
push dword [esp + 0x38]
push esi
call fcn.10049380
push 0x10049f50
lea eax, [esp + 0x40]
push eax
push dword [esi + 0x880]
push esi
call fcn.10045ac0
add esp, 0x28
test al, al
jne 0x1004a620
cmp dword [esi + 0x84], 0
je 0x1004a66b
push 2
push 5
push esi
call fcn.100525c0
add esp, 0xc
mov eax, dword [esi + 0x880]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x1004a68e
push 5
push esi
call fcn.10052600
add esp, 8
cmp byte [esi + 0x6c6], 0
je 0x1004a6a4
cmp dword [esi + 0x93c], 0
je 0x1004a8c8
cmp byte [esi + 0x6a5], 0
jne 0x1004a8c8
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
call fcn.100485b0
add esp, 0x14
test al, al
je 0x1004a8c8
cmp dword [ebp + 0xc0], 0
mov ebx, dword [esp + 0x14]
je 0x1004a73a
push dword [ebx + 0xc0]
call dword [0x100ab004]
push dword [ebx + 0xc4]
mov dword [ebx + 0xc0], 0
call dword [0x100ab004]
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 0x1004a7e3
push dword [ebx + 0x88]
call dword [0x100ab004]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x100ab004]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x100ab004]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x100ab004]
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.1007abd0
add ebx, 0x40
push ebx
call fcn.1007abd0
push dword [edi]
call dword [0x100ab004]
push dword [ebx]
mov dword [edi], 0
call dword [0x100ab004]
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 [0x100ab004]
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.10049f90
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], edi
cmp dword [edi + 0x58], 0
je 0x1004a88f
mov eax, dword [edi + 0x5c]
jmp 0x1004a89d
cmp dword [edi + 0x78], 0
je 0x1004a89a
mov eax, dword [edi + 0x7c]
jmp 0x1004a89d
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.1004dbf0
add esp, 0x10
mov ebp, edi
jmp 0x1004aa5a
mov eax, dword [ebp + 0x1c8]
test dword [eax + 0x4c], 0x100
je 0x1004a8e7
cmp byte [esi + 0x6d1], 0
je 0x1004a8e7
mov byte [ebp + 0x1c1], 1
cmp byte [esp + 0x13], 0
jne 0x1004a954
push dword [esi + 0x880]
push ebp
push esi
call fcn.10045a10
mov ebx, dword [esp + 0x38]
add esp, 0xc
test ebx, ebx
je 0x1004a98d
test eax, eax
je 0x1004a98d
cmp dword [eax + 4], ebx
jb 0x1004a98d
push eax
push esi
call fcn.10045820
add esp, 8
mov edi, eax
cmp dword [esi + 0x84], 0
je 0x1004a933
push 5
push esi
call fcn.10052600
add esp, 8
test edi, edi
je 0x1004a945
push 0
push edi
push esi
call fcn.10049380
add esp, 0xc
jmp 0x1004a9a1
push ebx
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.1004dbf0
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.1004dbf0
push ebp
push esi
call fcn.10049f90
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.1008f042
add esp, 0x38
ret
cmp dword [esi + 0x84], 0
je 0x1004a9a1
push 5
push esi
call fcn.10052600
add esp, 8
mov edi, dword [esp + 0x30]
test edi, edi
je 0x1004a9d3
push esi
call fcn.10045ed0
add esp, 4
cmp eax, edi
jb 0x1004a9d3
push esi
call fcn.100458d0
add esp, 4
test eax, eax
je 0x1004aaba
push 0
push eax
push esi
call fcn.10049380
add esp, 0xc
push ebp
push esi
call fcn.10047620
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004a978
push ebp
push esi
call fcn.1003cc20
push esi
call fcn.100454c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1004a978
test byte [esi + 0x974], 0x28
je 0x1004aa29
cmp byte [esi + 0x97c], al
je 0x1004aa29
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.1004dbf0
add esp, 8
mov dword [esi + 0x974], edi
mov byte [esi + 0x97c], 0
test byte [esi + 0x984], 0x28
je 0x1004aa5a
cmp byte [esi + 0x98c], 0
je 0x1004aa5a
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.1004dbf0
add esp, 8
mov dword [esi + 0x984], 0
mov byte [esi + 0x98c], 0
push ebp
push esi
call fcn.100496a0
push esi
call fcn.1004c770
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1004a978
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 0x1004aacd
push esi
mov byte [eax], 0
call fcn.1004d4c0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1008f042
add esp, 0x38
ret
push str.No_connections_available_in_cache
push esi
call fcn.1004dbf0
add esp, 8
jmp 0x1004a954
push eax
push ebp
push esi
call fcn.1004c4b0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1004a978
push esi
call fcn.1004d4c0
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1008f042
add esp, 0x38
ret