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

Disassembly:
sub esp, 0x38
mov eax, dword [0x10094400]
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.10023b10
push dword [ebx + 0x7c]
mov dword [esp + 0x34], eax
call fcn.10023b30
mov byte [edi], 0
add esp, 8
mov dword [esi], 0
cmp dword [ebx + 0xc64], 0
mov dword [esp + 0x30], eax
jne 0x1003187a
mov esi, 3
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10075c0b
add esp, 0x38
ret
push ebx
call fcn.100313f0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x100318a3
mov esi, 0x1b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10075c0b
add esp, 0x38
ret
push ebp
push ebx
mov dword [esi], ebp
call fcn.10033400
mov esi, eax
add esp, 8
test esi, esi
jne 0x10032028
mov eax, dword [ebx + 0x5ec]
test eax, eax
je 0x100318d7
push eax
call dword [0x1009400c]
add esp, 4
mov dword [ebp + 0x164], eax
test eax, eax
je 0x10031889
mov eax, dword [ebx + 0x5d4]
test eax, eax
je 0x100318f5
push eax
call dword [0x1009400c]
add esp, 4
mov dword [ebp + 0x168], eax
test eax, eax
je 0x10031889
mov eax, dword [ebx + 0x5d8]
test eax, eax
je 0x10031923
push eax
call dword [0x1009400c]
add esp, 4
mov dword [ebp + 0x4ac], eax
test eax, eax
je 0x10031889
mov al, byte [ebx + 0x6cf]
mov byte [ebp + 0x25a], al
push ebp
push ebx
call fcn.100321a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10032028
mov eax, dword [ebp + 0x264]
test byte [eax + 0x4c], 1
je 0x10031953
cmp byte [ebp + 0x240], 0
je 0x10031953
mov byte [ebp + 0x243], 1
movzx eax, word [ebx + 0x158]
test ax, ax
je 0x1003199f
cmp byte [ebx + 0xd1c], 0
je 0x1003199f
push eax
push 0x10088844
mov dword [ebp + 0x4c0], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.1003a810
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [ebx + 0xc40]
call fcn.1005ea40
add esp, 0x20
test eax, eax
jne 0x10031889
push ebp
push ebx
call fcn.100327d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10032028
mov eax, dword [ebp + 0x260]
mov ecx, str.anonymous
mov edi, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x100319d1
cmp dword [ebx + 0xd04], esi
je 0x100319d8
mov ecx, 0x100877be
mov edi, ecx
cmp dword [ebp + 0x158], esi
jne 0x100319f8
push ecx
call dword [0x1009400c]
add esp, 4
mov dword [ebp + 0x158], eax
test eax, eax
je 0x10031889
cmp dword [ebp + 0x15c], esi
jne 0x10031a1a
push edi
call dword [0x1009400c]
add esp, 4
mov dword [ebp + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove esi, ecx
test esi, esi
jne 0x10032028
push dword [ebx + 0x3a0]
push ebp
push ebx
call fcn.10032c30
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10032028
cmp byte [ebp + 0x240], al
je 0x10031a58
lea eax, [ebp + 0x70]
push eax
call fcn.10061850
add esp, 4
test eax, eax
jne 0x1003202a
cmp byte [ebp + 0x241], 0
je 0x10031a75
lea eax, [ebp + 0x50]
push eax
call fcn.10061850
add esp, 4
test eax, eax
jne 0x1003202a
cmp byte [ebp + 0x249], 0
je 0x10031ab3
lea eax, [ebp + 0x40]
push eax
call fcn.10061850
add esp, 4
test eax, eax
jne 0x1003202a
cmp byte [ebp + 0x249], al
je 0x10031ab3
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.1003bf50
add esp, 8
test eax, eax
je 0x10031ab3
mov byte [ebp + 0x249], 0
mov cl, byte [ebp + 0x24a]
test cl, cl
je 0x10031ad4
mov eax, dword [ebp + 0x4c4]
cmp eax, dword [ebp + 0x4c0]
jne 0x10031ad4
mov byte [ebp + 0x24a], 0
xor cl, cl
cmp byte [ebp + 0x249], 0
jne 0x10031ae1
test cl, cl
je 0x10031af1
cmp byte [ebp + 0x240], 0
je 0x10031af1
mov byte [ebp + 0x243], 1
mov eax, dword [ebp + 0x260]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x10031b19
push ebp
push ebx
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x10032028
mov eax, dword [ebp + 0x260]
mov ecx, eax
cmp dword [ebp + 0xec], 0
jge 0x10031b2b
mov eax, dword [eax + 0x40]
mov dword [ebp + 0xec], eax
test byte [ecx + 0x4c], 0x10
je 0x10031bda
push 0
push ebp
push ebx
call fcn.100378b0
mov eax, dword [ebp + 0x260]
lea ecx, [esp + 0x1f]
push ecx
push ebx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10031bbb
push ebp
push ebx
call fcn.100235c0
push ebx
call fcn.1002cd20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10032028
push ebx
call fcn.10033e10
mov esi, eax
add esp, 4
test esi, esi
je 0x10031ba8
mov eax, dword [ebp + 0x260]
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.10075c0b
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.1003d4e0
add esp, 0x18
push ebp
push ebx
call fcn.10030d60
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10075c0b
add esp, 0x38
ret
mov dword [ebp + 0x1a8], 0x10034450
mov dword [ebp + 0x1b0], 0x100344b0
mov dword [ebp + 0x1ac], 0x10034450
mov dword [ebp + 0x1b4], 0x100344b0
mov al, byte [ebx + 0x6c8]
push ebx
mov byte [ebp + 0x257], al
call fcn.1002efb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10032028
lea eax, [esp + 0x34]
push eax
call fcn.10028df0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [ebx + 0x84], esi
je 0x10031c4b
push 2
push 5
push ebx
call fcn.1003c4b0
add esp, 0xc
mov ecx, dword [ebx + 0x878]
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.10028ea0
add esp, 0x20
mov edi, eax
cmp dword [ebx + 0x84], 0
mov esi, edx
je 0x10031c8a
push 5
push ebx
call fcn.1003c4f0
add esp, 8
test esi, esi
jl 0x10031d3e
jg 0x10031ca0
cmp edi, 0x3e8
jb 0x10031d3e
push 0x10031610
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push eax
push dword [ebx + 0x878]
mov dword [esp + 0x34], 0
push ebx
call fcn.1002d2d0
add esp, 0x10
test al, al
je 0x10031d05
nop dword [eax]
push 1
push dword [esp + 0x2c]
push ebx
call fcn.1002d3f0
push 1
push dword [esp + 0x38]
push ebx
call fcn.10030ab0
push 0x10031610
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x878]
push ebx
call fcn.1002d2d0
add esp, 0x28
test al, al
jne 0x10031cd0
cmp dword [ebx + 0x84], 0
je 0x10031d1b
push 2
push 5
push ebx
call fcn.1003c4b0
add esp, 0xc
mov eax, dword [ebx + 0x878]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [ebx + 0x84], 0
je 0x10031d3e
push 5
push ebx
call fcn.1003c4f0
add esp, 8
cmp byte [ebx + 0x6be], 0
je 0x10031d54
cmp dword [ebx + 0x8e0], 0
je 0x10031f78
cmp byte [ebx + 0x69d], 0
jne 0x10031f78
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call fcn.1002fd90
add esp, 0x14
test al, al
je 0x10031f78
cmp dword [ebp + 0x158], 0
mov edi, dword [esp + 0x14]
je 0x10031dea
push dword [edi + 0x158]
call dword [0x10094004]
push dword [edi + 0x15c]
mov dword [edi + 0x158], 0
call dword [0x10094004]
mov dword [edi + 0x15c], 0
add esp, 8
mov eax, dword [ebp + 0x158]
mov dword [edi + 0x158], eax
mov eax, dword [ebp + 0x15c]
mov dword [edi + 0x15c], eax
mov dword [ebp + 0x158], 0
mov dword [ebp + 0x15c], 0
mov al, byte [ebp + 0x242]
mov byte [edi + 0x242], al
test al, al
je 0x10031e93
push dword [edi + 0x88]
call dword [0x10094004]
push dword [edi + 0x68]
mov dword [edi + 0x88], 0
call dword [0x10094004]
push dword [edi + 0x8c]
mov dword [edi + 0x68], 0
call dword [0x10094004]
push dword [edi + 0x6c]
mov dword [edi + 0x8c], 0
call dword [0x10094004]
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.100616f0
add edi, 0x40
push edi
call fcn.100616f0
push dword [esi]
call dword [0x10094004]
push dword [edi]
mov dword [esi], 0
call dword [0x10094004]
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 + 0x4c4]
mov dword [ebp + 0x40], 0
push dword [esi + 0x38]
mov dword [esi + 0x4c4], eax
mov eax, dword [ebp + 0x4c0]
mov dword [esi + 0x4c0], eax
call dword [0x10094004]
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 + 0x247], 1
call fcn.10031640
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], esi
cmp dword [esi + 0x58], 0
je 0x10031f3f
mov eax, dword [esi + 0x5c]
jmp 0x10031f4d
cmp dword [esi + 0x78], 0
je 0x10031f4a
mov eax, dword [esi + 0x7c]
jmp 0x10031f4d
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x245], 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.100352c0
add esp, 0x10
mov ebp, esi
jmp 0x1003210a
mov eax, dword [ebp + 0x260]
test dword [eax + 0x4c], 0x100
je 0x10031f97
cmp byte [ebx + 0x6c9], 0
je 0x10031f97
mov byte [ebp + 0x258], 1
cmp byte [esp + 0x13], 0
jne 0x10032004
push dword [ebx + 0x878]
push ebp
push ebx
call fcn.1002d220
mov edi, dword [esp + 0x38]
add esp, 0xc
test edi, edi
je 0x1003203d
test eax, eax
je 0x1003203d
cmp dword [eax + 4], edi
jb 0x1003203d
push eax
push ebx
call fcn.1002d030
add esp, 8
mov esi, eax
cmp dword [ebx + 0x84], 0
je 0x10031fe3
push 5
push ebx
call fcn.1003c4f0
add esp, 8
test esi, esi
je 0x10031ff5
push 0
push esi
push ebx
call fcn.10030ab0
add esp, 0xc
jmp 0x10032051
push edi
push str.No_more_connections_allowed_to_host:__zu
push ebx
call fcn.100352c0
add esp, 0xc
push str.No_connections_available.
push ebx
call fcn.100352c0
push ebp
push ebx
call fcn.10031640
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.10075c0b
add esp, 0x38
ret
cmp dword [ebx + 0x84], 0
je 0x10032051
push 5
push ebx
call fcn.1003c4f0
add esp, 8
mov esi, dword [esp + 0x30]
test esi, esi
je 0x10032083
push ebx
call fcn.1002d6c0
add esp, 4
cmp eax, esi
jb 0x10032083
push ebx
call fcn.1002d0e0
add esp, 4
test eax, eax
je 0x10032152
push 0
push eax
push ebx
call fcn.10030ab0
add esp, 0xc
push ebp
push ebx
call fcn.1002ee10
mov esi, eax
add esp, 8
test esi, esi
jne 0x10032028
push ebp
push ebx
call fcn.100235c0
push ebx
call fcn.1002cd20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10032028
test byte [ebx + 0x918], 0x28
je 0x100320d9
cmp byte [ebx + 0x920], al
je 0x100320d9
push str.NTLM_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.100352c0
add esp, 8
mov dword [ebx + 0x918], esi
mov byte [ebx + 0x920], 0
test byte [ebx + 0x928], 0x28
je 0x1003210a
cmp byte [ebx + 0x930], 0
je 0x1003210a
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.100352c0
add esp, 8
mov dword [ebx + 0x928], 0
mov byte [ebx + 0x930], 0
push ebp
push ebx
call fcn.10030d60
push ebx
call fcn.10033e10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10032028
cmp byte [ebp + 0x247], 0
mov eax, dword [esp + 0x1c]
je 0x10032165
push ebx
mov byte [eax], 0
call fcn.10034bb0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10075c0b
add esp, 0x38
ret
push str.No_connections_available_in_cache
push ebx
call fcn.100352c0
add esp, 8
jmp 0x10032004
push eax
push ebp
push ebx
call fcn.10033b50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10032028
push ebx
call fcn.10034bb0
mov ecx, dword [esp + 0x48]
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10075c0b
add esp, 0x38
ret