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

Disassembly:
sub esp, 0x34
mov eax, dword [0x1022d400]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], ebx
push dword [esi + 0x7c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x16], 0
call fcn.10043b90
push dword [esi + 0x7c]
mov dword [esp + 0x30], eax
call fcn.10043bb0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcc4], 0
mov dword [esp + 0x2c], eax
jne 0x10050bba
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009f33b
add esp, 0x34
ret
push esi
call fcn.10050770
mov edi, eax
add esp, 4
test edi, edi
jne 0x10050be3
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009f33b
add esp, 0x34
ret
push edi
push esi
mov dword [ebx], edi
call fcn.10052740
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10051358
mov eax, dword [esi + 0x5f4]
test eax, eax
je 0x10050c17
push eax
call dword [0x1022d014]
add esp, 4
mov dword [edi + 0xcc], eax
test eax, eax
je 0x10050bc9
mov eax, dword [esi + 0x5dc]
test eax, eax
je 0x10050c35
push eax
call dword [0x1022d014]
add esp, 4
mov dword [edi + 0xd0], eax
test eax, eax
je 0x10050bc9
mov eax, dword [esi + 0x5e0]
test eax, eax
je 0x10050c63
push eax
call dword [0x1022d014]
add esp, 4
mov dword [edi + 0x40c], eax
test eax, eax
je 0x10050bc9
mov al, byte [esi + 0x6d7]
mov byte [edi + 0x1c3], al
push edi
push esi
call fcn.100514e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10051358
mov eax, dword [edi + 0x1cc]
test byte [eax + 0x4c], 1
je 0x10050c92
cmp byte [edi + 0x1a8], bl
je 0x10050c92
mov byte [edi + 0x1ab], 1
movzx eax, word [esi + 0x160]
test ax, ax
je 0x10050cde
cmp byte [esi + 0xd78], 0
je 0x10050cde
push eax
push 0x10220050
mov dword [edi + 0x424], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.1005b880
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [esi + 0xca0]
call fcn.1007e650
add esp, 0x20
test eax, eax
jne 0x10050bc9
push edi
push esi
call fcn.10051b10
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10051358
mov eax, dword [edi + 0x1c8]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x10050d10
cmp dword [esi + 0xd60], ebx
je 0x10050d17
mov ecx, 0x102193d8
mov ebp, ecx
cmp dword [edi + 0xc0], ebx
jne 0x10050d37
push ecx
call dword [0x1022d014]
add esp, 4
mov dword [edi + 0xc0], eax
test eax, eax
je 0x10050bc9
cmp dword [edi + 0xc4], ebx
jne 0x10050d59
push ebp
call dword [0x1022d014]
add esp, 4
mov dword [edi + 0xc4], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x10051358
push dword [esi + 0x3a8]
push edi
push esi
call fcn.10051f70
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10051358
cmp byte [edi + 0x1a8], al
je 0x10050d97
lea eax, [edi + 0x70]
push eax
call fcn.100812f0
add esp, 4
test eax, eax
jne 0x1005135a
cmp byte [edi + 0x1a9], 0
je 0x10050db4
lea eax, [edi + 0x50]
push eax
call fcn.100812f0
add esp, 4
test eax, eax
jne 0x1005135a
cmp byte [edi + 0x1b1], 0
je 0x10050df2
lea eax, [edi + 0x40]
push eax
call fcn.100812f0
add esp, 4
test eax, eax
jne 0x1005135a
cmp byte [edi + 0x1b1], al
je 0x10050df2
push dword [edi + 0x30]
push dword [edi + 0x48]
call fcn.10058b40
add esp, 8
test eax, eax
je 0x10050df2
mov byte [edi + 0x1b1], 0
mov cl, byte [edi + 0x1b2]
test cl, cl
je 0x10050e13
mov eax, dword [edi + 0x428]
cmp eax, dword [edi + 0x424]
jne 0x10050e13
mov byte [edi + 0x1b2], 0
xor cl, cl
cmp byte [edi + 0x1b1], 0
jne 0x10050e20
test cl, cl
je 0x10050e30
cmp byte [edi + 0x1a8], 0
je 0x10050e30
mov byte [edi + 0x1ab], 1
mov eax, dword [edi + 0x1c8]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x10050e58
push edi
push esi
call edx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10051358
mov eax, dword [edi + 0x1c8]
mov ecx, eax
cmp dword [edi + 0x420], 0
jge 0x10050e6a
mov eax, dword [eax + 0x40]
mov dword [edi + 0x420], eax
test byte [ecx + 0x4c], 0x10
je 0x10050f1b
push 0xffffffffffffffff
push 0
push edi
push esi
call fcn.10055a90
mov eax, dword [edi + 0x1c8]
lea ecx, [esp + 0x22]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x10050efc
push edi
push esi
call fcn.10043650
push esi
call fcn.1004bef0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10051358
push esi
call fcn.10053150
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10050ee9
mov eax, dword [edi + 0x1c8]
push 0
push ebx
push esi
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009f33b
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.1005ad20
add esp, 0x18
push edi
push esi
call fcn.100500e0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009f33b
add esp, 0x34
ret
mov dword [edi + 0x110], 0x100540d0
mov dword [edi + 0x118], fcn.10054120
mov dword [edi + 0x114], 0x100540d0
mov dword [edi + 0x11c], fcn.10054120
mov al, byte [esi + 0x6d0]
push esi
mov byte [edi + 0x1c0], al
call fcn.1004e210
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10051358
lea eax, [esp + 0x30]
push eax
call fcn.10048d20
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
cmp dword [esi + 0x84], ebx
je 0x10050f8c
push 2
push 5
push esi
call fcn.10059990
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 + 0x50]
movups xmmword [eax], xmm0
call fcn.10048dd0
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x10050fcb
push 5
push esi
call fcn.100599d0
add esp, 8
test ebx, ebx
jl 0x1005107e
jg 0x10050fe1
cmp ebp, 0x3e8
jb 0x1005107e
push 0x10050990
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push dword [esi + 0x880]
mov dword [esp + 0x30], 0
push esi
call fcn.1004c4f0
add esp, 0x10
test al, al
je 0x10051045
nop word [eax + eax]
push 1
push dword [esp + 0x28]
push esi
call fcn.1004c610
push 1
push dword [esp + 0x34]
push esi
call fcn.1004fdc0
push 0x10050990
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x880]
push esi
call fcn.1004c4f0
add esp, 0x28
test al, al
jne 0x10051010
cmp dword [esi + 0x84], 0
je 0x1005105b
push 2
push 5
push esi
call fcn.10059990
add esp, 0xc
mov eax, dword [esi + 0x880]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x1005107e
push 5
push esi
call fcn.100599d0
add esp, 8
cmp byte [esi + 0x6c6], 0
je 0x10051094
cmp dword [esi + 0x93c], 0
je 0x100512a8
cmp byte [esi + 0x6a5], 0
jne 0x100512a8
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.1004eff0
add esp, 0x14
test al, al
je 0x100512a8
cmp dword [edi + 0xc0], 0
mov ebx, dword [esp + 0x14]
je 0x1005112a
push dword [ebx + 0xc0]
call dword [0x1022d00c]
push dword [ebx + 0xc4]
mov dword [ebx + 0xc0], 0
call dword [0x1022d00c]
mov dword [ebx + 0xc4], 0
add esp, 8
mov eax, dword [edi + 0xc0]
mov dword [ebx + 0xc0], eax
mov eax, dword [edi + 0xc4]
mov dword [ebx + 0xc4], eax
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov al, byte [edi + 0x1aa]
mov byte [ebx + 0x1aa], al
test al, al
je 0x100511d3
push dword [ebx + 0x88]
call dword [0x1022d00c]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x1022d00c]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x1022d00c]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x1022d00c]
mov dword [ebx + 0x6c], 0
add esp, 0x10
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x6c], eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x6c], 0
push dword [ebx + 0x28]
call dword [0x1022d00c]
push dword [ebx + 0x40]
mov dword [ebx + 0x28], 0
call dword [0x1022d00c]
mov dword [ebx + 0x40], 0
movups xmm0, xmmword [edi + 0x28]
movups xmmword [ebx + 0x28], xmm0
mov dword [edi + 0x28], 0
movups xmm0, xmmword [edi + 0x40]
mov dword [edi + 0x2c], 0
movups xmmword [ebx + 0x40], xmm0
mov eax, dword [edi + 0x428]
mov dword [edi + 0x40], 0
push dword [ebx + 0x38]
mov dword [ebx + 0x428], eax
mov eax, dword [edi + 0x424]
mov dword [ebx + 0x424], eax
call dword [0x1022d00c]
mov dword [ebx + 0x38], 0
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
push edi
mov dword [edi + 0x38], 0
push esi
mov byte [ebx + 0x1af], 1
call fcn.100509c0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x58], 0
je 0x1005126f
mov eax, dword [ebx + 0x5c]
jmp 0x1005127d
cmp dword [ebx + 0x78], 0
je 0x1005127a
mov eax, dword [ebx + 0x7c]
jmp 0x1005127d
mov eax, dword [ebx + 0x34]
cmp byte [ebx + 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.10054530
add esp, 0x10
mov edi, ebx
jmp 0x10051439
mov eax, dword [edi + 0x1c8]
test dword [eax + 0x4c], 0x100
je 0x100512c7
cmp byte [esi + 0x6d1], 0
je 0x100512c7
mov byte [edi + 0x1c1], 1
cmp byte [esp + 0x12], 0
jne 0x10051334
push dword [esi + 0x880]
push edi
push esi
call fcn.1004c440
mov ebp, dword [esp + 0x34]
add esp, 0xc
test ebp, ebp
je 0x1005136d
test eax, eax
je 0x1005136d
cmp dword [eax + 4], ebp
jb 0x1005136d
push eax
push esi
call fcn.1004c250
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x10051313
push 5
push esi
call fcn.100599d0
add esp, 8
test ebx, ebx
je 0x10051325
push 0
push ebx
push esi
call fcn.1004fdc0
add esp, 0xc
jmp 0x10051381
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.10054530
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.10054530
push edi
push esi
call fcn.100509c0
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ebx, 0x59
mov dword [eax], 0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009f33b
add esp, 0x34
ret
cmp dword [esi + 0x84], 0
je 0x10051381
push 5
push esi
call fcn.100599d0
add esp, 8
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x100513b3
push esi
call fcn.1004c900
add esp, 4
cmp eax, ebx
jb 0x100513b3
push esi
call fcn.1004c300
add esp, 4
test eax, eax
je 0x10051497
push 0
push eax
push esi
call fcn.1004fdc0
add esp, 0xc
push edi
push esi
call fcn.1004e070
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10051358
push edi
push esi
call fcn.10043650
push esi
call fcn.1004bef0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10051358
test byte [esi + 0x974], 0x28
je 0x10051408
cmp byte [esi + 0x97c], al
je 0x10051408
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.10054530
add esp, 8
mov dword [esi + 0x974], ebx
mov byte [esi + 0x97c], bl
test byte [esi + 0x984], 0x28
je 0x10051439
cmp byte [esi + 0x98c], 0
je 0x10051439
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.10054530
add esp, 8
mov dword [esi + 0x984], 0
mov byte [esi + 0x98c], 0
push edi
push esi
call fcn.100500e0
push esi
call fcn.10053150
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10051358
mov eax, dword [esi + 0x174]
mov dword [edi + 0x22c], eax
mov eax, dword [esi + 0x1c4]
mov dword [edi + 0x230], eax
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x1af], bl
je 0x100514aa
push esi
mov byte [eax], bl
call fcn.10053e00
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009f33b
add esp, 0x34
ret
push str.No_connections_available_in_cache
push esi
call fcn.10054530
add esp, 8
jmp 0x10051334
push eax
push edi
push esi
call fcn.10052e90
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10051358
push esi
call fcn.10053e00
mov ecx, dword [esp + 0x44]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1009f33b
add esp, 0x34
ret