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

Disassembly:
sub esp, 0x38
mov eax, dword [0x1008f400]
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.1001f990
push dword [ebx + 0x7c]
mov dword [esp + 0x34], eax
call fcn.1001f9b0
mov byte [edi], 0
add esp, 8
mov dword [esi], 0
cmp dword [ebx + 0xc64], 0
mov dword [esp + 0x30], eax
jne 0x1002d6da
mov esi, 3
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10071a6b
add esp, 0x38
ret
push ebx
call fcn.1002d250
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1002d703
mov esi, 0x1b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10071a6b
add esp, 0x38
ret
push ebp
push ebx
mov dword [esi], ebp
call fcn.1002f260
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002de88
mov eax, dword [ebx + 0x5ec]
test eax, eax
je 0x1002d737
push eax
call dword [0x1008f00c]
add esp, 4
mov dword [ebp + 0x164], eax
test eax, eax
je 0x1002d6e9
mov eax, dword [ebx + 0x5d4]
test eax, eax
je 0x1002d755
push eax
call dword [0x1008f00c]
add esp, 4
mov dword [ebp + 0x168], eax
test eax, eax
je 0x1002d6e9
mov eax, dword [ebx + 0x5d8]
test eax, eax
je 0x1002d783
push eax
call dword [0x1008f00c]
add esp, 4
mov dword [ebp + 0x4ac], eax
test eax, eax
je 0x1002d6e9
mov al, byte [ebx + 0x6cf]
mov byte [ebp + 0x25a], al
push ebp
push ebx
call fcn.1002e000
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002de88
mov eax, dword [ebp + 0x264]
test byte [eax + 0x4c], 1
je 0x1002d7b3
cmp byte [ebp + 0x240], 0
je 0x1002d7b3
mov byte [ebp + 0x243], 1
movzx eax, word [ebx + 0x158]
test ax, ax
je 0x1002d7ff
cmp byte [ebx + 0xd1c], 0
je 0x1002d7ff
push eax
push 0x10084810
mov dword [ebp + 0x4c0], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.10036670
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [ebx + 0xc40]
call fcn.1005a8d0
add esp, 0x20
test eax, eax
jne 0x1002d6e9
push ebp
push ebx
call fcn.1002e630
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002de88
mov eax, dword [ebp + 0x260]
mov ecx, str.anonymous
mov edi, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x1002d831
cmp dword [ebx + 0xd04], esi
je 0x1002d838
mov ecx, 0x100837ce
mov edi, ecx
cmp dword [ebp + 0x158], esi
jne 0x1002d858
push ecx
call dword [0x1008f00c]
add esp, 4
mov dword [ebp + 0x158], eax
test eax, eax
je 0x1002d6e9
cmp dword [ebp + 0x15c], esi
jne 0x1002d87a
push edi
call dword [0x1008f00c]
add esp, 4
mov dword [ebp + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove esi, ecx
test esi, esi
jne 0x1002de88
push dword [ebx + 0x3a0]
push ebp
push ebx
call fcn.1002ea90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1002de88
cmp byte [ebp + 0x240], al
je 0x1002d8b8
lea eax, [ebp + 0x70]
push eax
call fcn.1005d6e0
add esp, 4
test eax, eax
jne 0x1002de8a
cmp byte [ebp + 0x241], 0
je 0x1002d8d5
lea eax, [ebp + 0x50]
push eax
call fcn.1005d6e0
add esp, 4
test eax, eax
jne 0x1002de8a
cmp byte [ebp + 0x249], 0
je 0x1002d913
lea eax, [ebp + 0x40]
push eax
call fcn.1005d6e0
add esp, 4
test eax, eax
jne 0x1002de8a
cmp byte [ebp + 0x249], al
je 0x1002d913
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.10037db0
add esp, 8
test eax, eax
je 0x1002d913
mov byte [ebp + 0x249], 0
mov cl, byte [ebp + 0x24a]
test cl, cl
je 0x1002d934
mov eax, dword [ebp + 0x4c4]
cmp eax, dword [ebp + 0x4c0]
jne 0x1002d934
mov byte [ebp + 0x24a], 0
xor cl, cl
cmp byte [ebp + 0x249], 0
jne 0x1002d941
test cl, cl
je 0x1002d951
cmp byte [ebp + 0x240], 0
je 0x1002d951
mov byte [ebp + 0x243], 1
mov eax, dword [ebp + 0x260]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x1002d979
push ebp
push ebx
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002de88
mov eax, dword [ebp + 0x260]
mov ecx, eax
cmp dword [ebp + 0xec], 0
jge 0x1002d98b
mov eax, dword [eax + 0x40]
mov dword [ebp + 0xec], eax
test byte [ecx + 0x4c], 0x10
je 0x1002da3a
push 0
push ebp
push ebx
call fcn.10033710
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 0x1002da1b
push ebp
push ebx
call fcn.1001f440
push ebx
call fcn.10028b80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1002de88
push ebx
call fcn.1002fc70
mov esi, eax
add esp, 4
test esi, esi
je 0x1002da08
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.10071a6b
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.10039340
add esp, 0x18
push ebp
push ebx
call fcn.1002cbc0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10071a6b
add esp, 0x38
ret
mov dword [ebp + 0x1a8], 0x100302b0
mov dword [ebp + 0x1b0], 0x10030310
mov dword [ebp + 0x1ac], 0x100302b0
mov dword [ebp + 0x1b4], 0x10030310
mov al, byte [ebx + 0x6c8]
push ebx
mov byte [ebp + 0x257], al
call fcn.1002ae10
mov esi, eax
add esp, 4
test esi, esi
jne 0x1002de88
lea eax, [esp + 0x34]
push eax
call fcn.10024c80
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [ebx + 0x84], esi
je 0x1002daab
push 2
push 5
push ebx
call fcn.10038310
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.10024d30
add esp, 0x20
mov edi, eax
cmp dword [ebx + 0x84], 0
mov esi, edx
je 0x1002daea
push 5
push ebx
call fcn.10038350
add esp, 8
test esi, esi
jl 0x1002db9e
jg 0x1002db00
cmp edi, 0x3e8
jb 0x1002db9e
push 0x1002d470
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push eax
push dword [ebx + 0x878]
mov dword [esp + 0x34], 0
push ebx
call fcn.10029130
add esp, 0x10
test al, al
je 0x1002db65
nop dword [eax]
push 1
push dword [esp + 0x2c]
push ebx
call fcn.10029250
push 1
push dword [esp + 0x38]
push ebx
call fcn.1002c910
push 0x1002d470
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x878]
push ebx
call fcn.10029130
add esp, 0x28
test al, al
jne 0x1002db30
cmp dword [ebx + 0x84], 0
je 0x1002db7b
push 2
push 5
push ebx
call fcn.10038310
add esp, 0xc
mov eax, dword [ebx + 0x878]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [ebx + 0x84], 0
je 0x1002db9e
push 5
push ebx
call fcn.10038350
add esp, 8
cmp byte [ebx + 0x6be], 0
je 0x1002dbb4
cmp dword [ebx + 0x8e0], 0
je 0x1002ddd8
cmp byte [ebx + 0x69d], 0
jne 0x1002ddd8
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call fcn.1002bbf0
add esp, 0x14
test al, al
je 0x1002ddd8
cmp dword [ebp + 0x158], 0
mov edi, dword [esp + 0x14]
je 0x1002dc4a
push dword [edi + 0x158]
call dword [0x1008f004]
push dword [edi + 0x15c]
mov dword [edi + 0x158], 0
call dword [0x1008f004]
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 0x1002dcf3
push dword [edi + 0x88]
call dword [0x1008f004]
push dword [edi + 0x68]
mov dword [edi + 0x88], 0
call dword [0x1008f004]
push dword [edi + 0x8c]
mov dword [edi + 0x68], 0
call dword [0x1008f004]
push dword [edi + 0x6c]
mov dword [edi + 0x8c], 0
call dword [0x1008f004]
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.1005d580
add edi, 0x40
push edi
call fcn.1005d580
push dword [esi]
call dword [0x1008f004]
push dword [edi]
mov dword [esi], 0
call dword [0x1008f004]
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 [0x1008f004]
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.1002d4a0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], esi
cmp dword [esi + 0x58], 0
je 0x1002dd9f
mov eax, dword [esi + 0x5c]
jmp 0x1002ddad
cmp dword [esi + 0x78], 0
je 0x1002ddaa
mov eax, dword [esi + 0x7c]
jmp 0x1002ddad
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.10031120
add esp, 0x10
mov ebp, esi
jmp 0x1002df6a
mov eax, dword [ebp + 0x260]
test dword [eax + 0x4c], 0x100
je 0x1002ddf7
cmp byte [ebx + 0x6c9], 0
je 0x1002ddf7
mov byte [ebp + 0x258], 1
cmp byte [esp + 0x13], 0
jne 0x1002de64
push dword [ebx + 0x878]
push ebp
push ebx
call fcn.10029080
mov edi, dword [esp + 0x38]
add esp, 0xc
test edi, edi
je 0x1002de9d
test eax, eax
je 0x1002de9d
cmp dword [eax + 4], edi
jb 0x1002de9d
push eax
push ebx
call fcn.10028e90
add esp, 8
mov esi, eax
cmp dword [ebx + 0x84], 0
je 0x1002de43
push 5
push ebx
call fcn.10038350
add esp, 8
test esi, esi
je 0x1002de55
push 0
push esi
push ebx
call fcn.1002c910
add esp, 0xc
jmp 0x1002deb1
push edi
push str.No_more_connections_allowed_to_host:__zu
push ebx
call fcn.10031120
add esp, 0xc
push str.No_connections_available.
push ebx
call fcn.10031120
push ebp
push ebx
call fcn.1002d4a0
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.10071a6b
add esp, 0x38
ret
cmp dword [ebx + 0x84], 0
je 0x1002deb1
push 5
push ebx
call fcn.10038350
add esp, 8
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1002dee3
push ebx
call fcn.10029520
add esp, 4
cmp eax, esi
jb 0x1002dee3
push ebx
call fcn.10028f40
add esp, 4
test eax, eax
je 0x1002dfb2
push 0
push eax
push ebx
call fcn.1002c910
add esp, 0xc
push ebp
push ebx
call fcn.1002ac70
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002de88
push ebp
push ebx
call fcn.1001f440
push ebx
call fcn.10028b80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1002de88
test byte [ebx + 0x918], 0x28
je 0x1002df39
cmp byte [ebx + 0x920], al
je 0x1002df39
push str.NTLM_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.10031120
add esp, 8
mov dword [ebx + 0x918], esi
mov byte [ebx + 0x920], 0
test byte [ebx + 0x928], 0x28
je 0x1002df6a
cmp byte [ebx + 0x930], 0
je 0x1002df6a
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.10031120
add esp, 8
mov dword [ebx + 0x928], 0
mov byte [ebx + 0x930], 0
push ebp
push ebx
call fcn.1002cbc0
push ebx
call fcn.1002fc70
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1002de88
cmp byte [ebp + 0x247], 0
mov eax, dword [esp + 0x1c]
je 0x1002dfc5
push ebx
mov byte [eax], 0
call fcn.10030a10
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10071a6b
add esp, 0x38
ret
push str.No_connections_available_in_cache
push ebx
call fcn.10031120
add esp, 8
jmp 0x1002de64
push eax
push ebp
push ebx
call fcn.1002f9b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1002de88
push ebx
call fcn.10030a10
mov ecx, dword [esp + 0x48]
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10071a6b
add esp, 0x38
ret