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

Disassembly:
sub esp, 0x34
mov eax, dword [0x5e1040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
push dword [ebx + 0x7c]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.004bc180
push dword [ebx + 0x7c]
mov dword [esp + 0x30], eax
call fcn.004bc1a0
mov byte [edi], 0
add esp, 8
mov dword [esi], 0
cmp dword [ebx + 0xc44], 0
mov dword [esp + 0x2c], eax
jne 0x4c9c3a
mov esi, 3
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004224b5
add esp, 0x34
ret
push ebx
call fcn.004c97b0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4c9c63
mov esi, 0x1b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004224b5
add esp, 0x34
ret
push ebp
push ebx
mov dword [esi], ebp
call fcn.004cb620
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ca3d1
mov eax, dword [ebx + 0x5c4]
test eax, eax
je 0x4c9c97
push eax
call dword [0x5e11b8]
add esp, 4
mov dword [ebp + 0x164], eax
test eax, eax
je 0x4c9c49
mov eax, dword [ebx + 0x5ac]
test eax, eax
je 0x4c9cb5
push eax
call dword [0x5e11b8]
add esp, 4
mov dword [ebp + 0x168], eax
test eax, eax
je 0x4c9c49
mov eax, dword [ebx + 0x5b0]
test eax, eax
je 0x4c9ce3
push eax
call dword [0x5e11b8]
add esp, 4
mov dword [ebp + 0x4ac], eax
test eax, eax
je 0x4c9c49
mov al, byte [ebx + 0x6ad]
mov byte [ebp + 0x25a], al
push ebp
push ebx
call fcn.004ca550
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ca3d1
mov eax, dword [ebp + 0x264]
test byte [eax + 0x50], 1
je 0x4c9d13
cmp byte [ebp + 0x240], 0
je 0x4c9d13
mov byte [ebp + 0x243], 1
movzx eax, word [ebx + 0x158]
test ax, ax
je 0x4c9d5f
cmp byte [ebx + 0xcfc], 0
je 0x4c9d5f
push eax
push 0x58e4f4
mov dword [ebp + 0x4c0], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004d3340
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [ebx + 0xc20]
call fcn.004f8ed0
add esp, 0x20
test eax, eax
jne 0x4c9c49
push ebp
push ebx
call fcn.004ca9f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ca3d1
mov eax, dword [ebp + 0x260]
mov ecx, str.anonymous
mov edi, str.ftp_example.com
test byte [eax + 0x50], 0x20
je 0x4c9d91
cmp dword [ebx + 0xce0], esi
je 0x4c9d98
mov ecx, 0x585a9f
mov edi, ecx
cmp dword [ebp + 0x158], esi
jne 0x4c9db8
push ecx
call dword [0x5e11b8]
add esp, 4
mov dword [ebp + 0x158], eax
test eax, eax
je 0x4c9c49
cmp dword [ebp + 0x15c], esi
jne 0x4c9dda
push edi
call dword [0x5e11b8]
add esp, 4
mov dword [ebp + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove esi, ecx
test esi, esi
jne 0x4ca3d1
push dword [ebx + 0x3a0]
push ebp
push ebx
call fcn.004cae50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4ca3d1
cmp byte [ebp + 0x240], al
je 0x4c9e18
lea eax, [ebp + 0x70]
push eax
call fcn.004fbb90
add esp, 4
test eax, eax
jne 0x4ca3d3
cmp byte [ebp + 0x241], 0
je 0x4c9e35
lea eax, [ebp + 0x50]
push eax
call fcn.004fbb90
add esp, 4
test eax, eax
jne 0x4ca3d3
cmp byte [ebp + 0x249], 0
je 0x4c9e73
lea eax, [ebp + 0x40]
push eax
call fcn.004fbb90
add esp, 4
test eax, eax
jne 0x4ca3d3
cmp byte [ebp + 0x249], al
je 0x4c9e73
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.004d4a40
add esp, 8
test eax, eax
je 0x4c9e73
mov byte [ebp + 0x249], 0
mov cl, byte [ebp + 0x24a]
test cl, cl
je 0x4c9e94
mov eax, dword [ebp + 0x4c4]
cmp eax, dword [ebp + 0x4c0]
jne 0x4c9e94
mov byte [ebp + 0x24a], 0
xor cl, cl
cmp byte [ebp + 0x249], 0
jne 0x4c9ea1
test cl, cl
je 0x4c9eb1
cmp byte [ebp + 0x240], 0
je 0x4c9eb1
mov byte [ebp + 0x243], 1
mov eax, dword [ebp + 0x260]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x4c9ed9
push ebp
push ebx
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ca3d1
mov eax, dword [ebp + 0x260]
mov ecx, eax
cmp dword [ebp + 0xec], 0
jge 0x4c9eeb
mov eax, dword [eax + 0x44]
mov dword [ebp + 0xec], eax
test byte [ecx + 0x50], 0x10
je 0x4c9f9a
push 0
push ebp
push ebx
call fcn.004d0490
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 0x4c9f7b
push ebp
push ebx
call fcn.004bbc40
push ebx
call fcn.004c5050
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4ca3d1
push ebx
call fcn.004cc1b0
mov esi, eax
add esp, 4
test esi, esi
je 0x4c9f68
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 + 0x30]
xor ecx, esp
call fcn.004224b5
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.004d6d20
add esp, 0x18
push ebp
push ebx
call fcn.004c91f0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004224b5
add esp, 0x34
ret
mov dword [ebp + 0x1a8], 0x4cd200
mov dword [ebp + 0x1b0], 0x4cd260
mov dword [ebp + 0x1ac], 0x4cd200
mov dword [ebp + 0x1b4], 0x4cd260
mov al, byte [ebx + 0x6a6]
push ebx
mov byte [ebp + 0x257], al
call fcn.004c7250
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ca3d1
lea eax, [esp + 0x30]
push eax
call fcn.004c16f0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
cmp dword [ebx + 0x84], esi
je 0x4ca00b
push 2
push 5
push ebx
call fcn.004d5cb0
add esp, 0xc
mov ecx, dword [ebx + 0x858]
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.004c17a0
add esp, 0x20
mov edi, eax
cmp dword [ebx + 0x84], 0
mov esi, edx
je 0x4ca04a
push 5
push ebx
call fcn.004d5cf0
add esp, 8
test esi, esi
jl 0x4ca0e7
jg 0x4ca060
cmp edi, 0x3e8
jb 0x4ca0e7
push 0x4c99d0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [ebx + 0x858]
push ebx
call fcn.004c5600
add esp, 0x10
test al, al
je 0x4ca0ae
push 1
push dword [esp + 0x20]
push ebx
call fcn.004c8f40
push 0x4c99d0
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 0x858]
push ebx
call fcn.004c5600
add esp, 0x1c
test al, al
jne 0x4ca085
cmp dword [ebx + 0x84], 0
je 0x4ca0c4
push 2
push 5
push ebx
call fcn.004d5cb0
add esp, 0xc
mov eax, dword [ebx + 0x858]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x30], xmm0
cmp dword [ebx + 0x84], 0
je 0x4ca0e7
push 5
push ebx
call fcn.004d5cf0
add esp, 8
cmp byte [ebx + 0x69c], 0
je 0x4ca0fd
cmp dword [ebx + 0x8c0], 0
je 0x4ca321
cmp byte [ebx + 0x67d], 0
jne 0x4ca321
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call fcn.004c8220
add esp, 0x14
test al, al
je 0x4ca321
cmp dword [ebp + 0x158], 0
mov edi, dword [esp + 0x14]
je 0x4ca193
push dword [edi + 0x158]
call dword [0x5e11b0]
push dword [edi + 0x15c]
mov dword [edi + 0x158], 0
call dword [0x5e11b0]
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 0x4ca23c
push dword [edi + 0x88]
call dword [0x5e11b0]
push dword [edi + 0x68]
mov dword [edi + 0x88], 0
call dword [0x5e11b0]
push dword [edi + 0x8c]
mov dword [edi + 0x68], 0
call dword [0x5e11b0]
push dword [edi + 0x6c]
mov dword [edi + 0x8c], 0
call dword [0x5e11b0]
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.004fb940
add edi, 0x40
push edi
call fcn.004fb940
push dword [esi]
call dword [0x5e11b0]
push dword [edi]
mov dword [esi], 0
call dword [0x5e11b0]
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 [0x5e11b0]
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.004c9a00
mov eax, dword [esp + 0x40]
add esp, 0x1c
mov dword [eax], esi
cmp dword [esi + 0x58], 0
je 0x4ca2e8
mov eax, dword [esi + 0x5c]
jmp 0x4ca2f6
cmp dword [esi + 0x78], 0
je 0x4ca2f3
mov eax, dword [esi + 0x7c]
jmp 0x4ca2f6
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.004ce0e0
add esp, 0x10
mov ebp, esi
jmp 0x4ca4b3
mov eax, dword [ebp + 0x260]
test dword [eax + 0x50], 0x100
je 0x4ca340
cmp byte [ebx + 0x6a7], 0
je 0x4ca340
mov byte [ebp + 0x258], 1
cmp byte [esp + 0x13], 0
jne 0x4ca3ad
push dword [ebx + 0x858]
push ebp
push ebx
call fcn.004c5550
mov edi, dword [esp + 0x34]
add esp, 0xc
test edi, edi
je 0x4ca3e6
test eax, eax
je 0x4ca3e6
cmp dword [eax + 4], edi
jb 0x4ca3e6
push eax
push ebx
call fcn.004c5360
add esp, 8
mov esi, eax
cmp dword [ebx + 0x84], 0
je 0x4ca38c
push 5
push ebx
call fcn.004d5cf0
add esp, 8
test esi, esi
je 0x4ca39e
push 0
push esi
push ebx
call fcn.004c8f40
add esp, 0xc
jmp 0x4ca3fa
push edi
push str.No_more_connections_allowed_to_host:__zu
push ebx
call fcn.004ce0e0
add esp, 0xc
push str.No_connections_available.
push ebx
call fcn.004ce0e0
push ebp
push ebx
call fcn.004c9a00
mov eax, dword [esp + 0x34]
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 + 0x30]
xor ecx, esp
call fcn.004224b5
add esp, 0x34
ret
cmp dword [ebx + 0x84], 0
je 0x4ca3fa
push 5
push ebx
call fcn.004d5cf0
add esp, 8
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4ca42c
push ebx
call fcn.004c59f0
add esp, 4
cmp eax, esi
jb 0x4ca42c
push ebx
call fcn.004c5410
add esp, 4
test eax, eax
je 0x4ca4fb
push 0
push eax
push ebx
call fcn.004c8f40
add esp, 0xc
push ebp
push ebx
call fcn.004c70a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ca3d1
push ebp
push ebx
call fcn.004bbc40
push ebx
call fcn.004c5050
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4ca3d1
test byte [ebx + 0x8f8], 8
je 0x4ca482
cmp byte [ebx + 0x900], al
je 0x4ca482
push str.NTLM_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.004ce0e0
add esp, 8
mov dword [ebx + 0x8f8], esi
mov byte [ebx + 0x900], 0
test byte [ebx + 0x908], 8
je 0x4ca4b3
cmp byte [ebx + 0x910], 0
je 0x4ca4b3
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.004ce0e0
add esp, 8
mov dword [ebx + 0x908], 0
mov byte [ebx + 0x910], 0
push ebp
push ebx
call fcn.004c91f0
push ebx
call fcn.004cc1b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4ca3d1
cmp byte [ebp + 0x247], 0
mov eax, dword [esp + 0x20]
je 0x4ca50e
push ebx
mov byte [eax], 0
call fcn.004cd9d0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004224b5
add esp, 0x34
ret
push str.No_connections_available_in_cache
push ebx
call fcn.004ce0e0
add esp, 8
jmp 0x4ca3ad
push eax
push ebp
push ebx
call fcn.004cbef0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4ca3d1
push ebx
call fcn.004cd9d0
mov ecx, dword [esp + 0x44]
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004224b5
add esp, 0x34
ret