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

Disassembly:
sub esp, 0x34
mov eax, dword [0x10091628]
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.10025bc0
push dword [esi + 0x7c]
mov dword [esp + 0x30], eax
call fcn.10025be0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xc64], 0
mov dword [esp + 0x2c], eax
jne 0x100316da
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10075d21
add esp, 0x34
ret
push esi
call fcn.10031290
mov edi, eax
add esp, 4
test edi, edi
jne 0x10031703
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10075d21
add esp, 0x34
ret
push edi
push esi
mov dword [ebx], edi
call fcn.10033210
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10031e6d
mov eax, dword [esi + 0x5ec]
test eax, eax
je 0x10031737
push eax
call dword [0x10091264]
add esp, 4
mov dword [edi + 0x164], eax
test eax, eax
je 0x100316e9
mov eax, dword [esi + 0x5d4]
test eax, eax
je 0x10031755
push eax
call dword [0x10091264]
add esp, 4
mov dword [edi + 0x168], eax
test eax, eax
je 0x100316e9
mov eax, dword [esi + 0x5d8]
test eax, eax
je 0x10031783
push eax
call dword [0x10091264]
add esp, 4
mov dword [edi + 0x4ac], eax
test eax, eax
je 0x100316e9
mov al, byte [esi + 0x6cf]
mov byte [edi + 0x25a], al
push edi
push esi
call fcn.10031fe0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10031e6d
mov eax, dword [edi + 0x264]
test byte [eax + 0x4c], 1
je 0x100317b2
cmp byte [edi + 0x240], bl
je 0x100317b2
mov byte [edi + 0x243], 1
movzx eax, word [esi + 0x158]
test ax, ax
je 0x100317fe
cmp byte [esi + 0xd1c], 0
je 0x100317fe
push eax
push 0x10079b10
mov dword [edi + 0x4c0], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.10023720
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [esi + 0xc40]
call fcn.10063570
add esp, 0x20
test eax, eax
jne 0x100316e9
push edi
push esi
call fcn.10032600
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10031e6d
mov eax, dword [edi + 0x260]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x10031831
cmp dword [esi + 0xd04], 0
je 0x10031838
mov ecx, 0x10079660
mov ebx, ecx
cmp dword [edi + 0x158], 0
jne 0x10031859
push ecx
call dword [0x10091264]
add esp, 4
mov dword [edi + 0x158], eax
test eax, eax
je 0x100316e9
cmp dword [edi + 0x15c], 0
jne 0x1003187a
push ebx
call dword [0x10091264]
add esp, 4
mov dword [edi + 0x15c], eax
test eax, eax
je 0x100316e9
push dword [esi + 0x3a0]
push edi
push esi
call fcn.10032a60
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10031e6d
cmp byte [edi + 0x240], al
je 0x100318b0
lea eax, [edi + 0x70]
push eax
call fcn.10065e70
add esp, 4
test eax, eax
jne 0x10031e6f
cmp byte [edi + 0x241], 0
je 0x100318cd
lea eax, [edi + 0x50]
push eax
call fcn.10065e70
add esp, 4
test eax, eax
jne 0x10031e6f
cmp byte [edi + 0x249], 0
je 0x1003190b
lea eax, [edi + 0x40]
push eax
call fcn.10065e70
add esp, 4
test eax, eax
jne 0x10031e6f
cmp byte [edi + 0x249], al
je 0x1003190b
push dword [edi + 0x30]
push dword [edi + 0x48]
call fcn.100234e0
add esp, 8
test eax, eax
je 0x1003190b
mov byte [edi + 0x249], 0
mov cl, byte [edi + 0x24a]
test cl, cl
je 0x1003192c
mov eax, dword [edi + 0x4c4]
cmp eax, dword [edi + 0x4c0]
jne 0x1003192c
mov byte [edi + 0x24a], 0
xor cl, cl
cmp byte [edi + 0x249], 0
jne 0x10031939
test cl, cl
je 0x10031949
cmp byte [edi + 0x240], 0
je 0x10031949
mov byte [edi + 0x243], 1
mov ecx, dword [edi + 0x260]
mov eax, ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x10031971
push edi
push esi
call edx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10031e6d
mov ecx, dword [edi + 0x260]
mov eax, ecx
cmp dword [edi + 0xec], 0
jge 0x10031983
mov eax, dword [eax + 0x40]
mov dword [edi + 0xec], eax
test byte [ecx + 0x4c], 0x10
je 0x10031a32
push 0
push edi
push esi
call fcn.10036780
mov eax, dword [edi + 0x260]
lea ecx, [esp + 0x1e]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x10031a13
push edi
push esi
call fcn.10025670
push esi
call fcn.1002c900
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10031e6d
push esi
call fcn.10033bf0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10031a00
mov eax, dword [edi + 0x260]
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.10075d21
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.10043a40
add esp, 0x18
push edi
push esi
call fcn.10030a00
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10075d21
add esp, 0x34
ret
mov dword [edi + 0x1a8], 0x10034c40
mov dword [edi + 0x1b0], 0x10034ca0
mov dword [edi + 0x1ac], 0x10034c40
mov dword [edi + 0x1b4], 0x10034ca0
mov al, byte [esi + 0x6c8]
push esi
mov byte [edi + 0x257], al
call fcn.1002ea10
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10031e6d
lea eax, [esp + 0x30]
push eax
call fcn.1002b030
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
cmp dword [esi + 0x84], ebx
je 0x10031aa3
push 2
push 5
push esi
call fcn.1003a2d0
add esp, 0xc
mov ecx, dword [esi + 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 + 0x50]
movups xmmword [eax], xmm0
call fcn.1002b0e0
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x10031ae2
push 5
push esi
call fcn.1003a310
add esp, 8
test ebx, ebx
jl 0x10031b8f
jg 0x10031af8
cmp ebp, 0x3e8
jb 0x10031b8f
push 0x100314b0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push dword [esi + 0x878]
mov dword [esp + 0x30], 0
push esi
call fcn.1002ced0
add esp, 0x10
test al, al
je 0x10031b56
push 1
push dword [esp + 0x28]
push esi
call fcn.1002cff0
push 1
push dword [esp + 0x34]
push esi
call fcn.10030760
push 0x100314b0
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x878]
push esi
call fcn.1002ced0
add esp, 0x28
test al, al
jne 0x10031b21
cmp dword [esi + 0x84], 0
je 0x10031b6c
push 2
push 5
push esi
call fcn.1003a2d0
add esp, 0xc
mov eax, dword [esi + 0x878]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x10031b8f
push 5
push esi
call fcn.1003a310
add esp, 8
cmp byte [esi + 0x6be], 0
je 0x10031ba5
cmp dword [esi + 0x8e0], 0
je 0x10031db9
cmp byte [esi + 0x69d], 0
jne 0x10031db9
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.1002fa40
add esp, 0x14
test al, al
je 0x10031db9
cmp dword [edi + 0x158], 0
mov ebx, dword [esp + 0x14]
je 0x10031c3b
push dword [ebx + 0x158]
call dword [0x1009125c]
push dword [ebx + 0x15c]
mov dword [ebx + 0x158], 0
call dword [0x1009125c]
mov dword [ebx + 0x15c], 0
add esp, 8
mov eax, dword [edi + 0x158]
mov dword [ebx + 0x158], eax
mov eax, dword [edi + 0x15c]
mov dword [ebx + 0x15c], eax
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov al, byte [edi + 0x242]
mov byte [ebx + 0x242], al
test al, al
je 0x10031ce4
push dword [ebx + 0x88]
call dword [0x1009125c]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x1009125c]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x1009125c]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x1009125c]
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 [0x1009125c]
push dword [ebx + 0x40]
mov dword [ebx + 0x28], 0
call dword [0x1009125c]
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 + 0x4c4]
mov dword [edi + 0x40], 0
push dword [ebx + 0x38]
mov dword [ebx + 0x4c4], eax
mov eax, dword [edi + 0x4c0]
mov dword [ebx + 0x4c0], eax
call dword [0x1009125c]
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 + 0x247], 1
call fcn.100314e0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x58], 0
je 0x10031d80
mov eax, dword [ebx + 0x5c]
jmp 0x10031d8e
cmp dword [ebx + 0x78], 0
je 0x10031d8b
mov eax, dword [ebx + 0x7c]
jmp 0x10031d8e
mov eax, dword [ebx + 0x34]
cmp byte [ebx + 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 esi
call fcn.10025180
add esp, 0x10
mov edi, ebx
jmp 0x10031f4e
mov eax, dword [edi + 0x260]
test dword [eax + 0x4c], 0x100
je 0x10031dd8
cmp byte [esi + 0x6c9], 0
je 0x10031dd8
mov byte [edi + 0x258], 1
cmp byte [esp + 0x12], 0
jne 0x10031e49
push dword [esi + 0x878]
push edi
push esi
call fcn.1002ce20
mov ebp, dword [esp + 0x34]
add esp, 0xc
test ebp, ebp
je 0x10031e82
test eax, eax
je 0x10031e82
cmp dword [eax + 4], ebp
jb 0x10031e82
push eax
push esi
call fcn.1002cc30
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x10031e28
push 5
push esi
call fcn.1003a310
add esp, 8
test ebx, ebx
je 0x10031e3a
push 0
push ebx
push esi
call fcn.10030760
add esp, 0xc
jmp 0x10031e96
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.10025180
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.10025180
push edi
push esi
call fcn.100314e0
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.10075d21
add esp, 0x34
ret
cmp dword [esi + 0x84], 0
je 0x10031e96
push 5
push esi
call fcn.1003a310
add esp, 8
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x10031ec8
push esi
call fcn.1002d2c0
add esp, 4
cmp eax, ebx
jb 0x10031ec8
push esi
call fcn.1002cce0
add esp, 4
test eax, eax
je 0x10031f94
push 0
push eax
push esi
call fcn.10030760
add esp, 0xc
push edi
push esi
call fcn.1002e880
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10031e6d
push edi
push esi
call fcn.10025670
push esi
call fcn.1002c900
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10031e6d
test byte [esi + 0x918], 0x28
je 0x10031f1d
cmp byte [esi + 0x920], al
je 0x10031f1d
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.10025180
add esp, 8
mov dword [esi + 0x918], ebx
mov byte [esi + 0x920], bl
test byte [esi + 0x928], 0x28
je 0x10031f4e
cmp byte [esi + 0x930], 0
je 0x10031f4e
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.10025180
add esp, 8
mov dword [esi + 0x928], 0
mov byte [esi + 0x930], 0
push edi
push esi
call fcn.10030a00
push esi
call fcn.10033bf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10031e6d
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x247], bl
je 0x10031fa7
push esi
mov byte [eax], bl
call fcn.100353a0
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10075d21
add esp, 0x34
ret
push str.No_connections_available_in_cache
push esi
call fcn.10025180
add esp, 8
jmp 0x10031e49
push eax
push edi
push esi
call fcn.10033930
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10031e6d
push esi
call fcn.100353a0
mov ecx, dword [esp + 0x44]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10075d21
add esp, 0x34
ret