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

Disassembly:
sub esp, 0x34
mov eax, dword [0x790f00]
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.005631d0
push dword [esi + 0x7c]
mov dword [esp + 0x30], eax
call fcn.005631f0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcbc], 0
mov dword [esp + 0x2c], eax
jne 0x56d8ba
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.006daf70
add esp, 0x34
ret
push esi
call fcn.0056d3f0
mov edi, eax
add esp, 4
test edi, edi
jne 0x56d8e3
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.006daf70
add esp, 0x34
ret
push edi
push esi
mov dword [ebx], edi
call fcn.0056f620
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x56e22c
mov eax, dword [esi + 0x60c]
test eax, eax
je 0x56d917
push eax
call dword [0x78ed34]
add esp, 4
mov dword [edi + 0xec], eax
test eax, eax
je 0x56d8c9
mov eax, dword [esi + 0x5f4]
test eax, eax
je 0x56d935
push eax
call dword [0x78ed34]
add esp, 4
mov dword [edi + 0xf0], eax
test eax, eax
je 0x56d8c9
mov eax, dword [esi + 0x5f8]
test eax, eax
je 0x56d963
push eax
call dword [0x78ed34]
add esp, 4
mov dword [edi + 0x42c], eax
test eax, eax
je 0x56d8c9
mov al, byte [esi + 0x6ef]
mov byte [edi + 0x1e3], al
push edi
push esi
call fcn.0056e3a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x56e22c
mov eax, dword [edi + 0x1ec]
test byte [eax + 0x4c], 1
je 0x56d992
cmp byte [edi + 0x1c8], bl
je 0x56d992
mov byte [edi + 0x1cb], 1
movzx eax, word [esi + 0x170]
test ax, ax
je 0x56d9de
cmp byte [esi + 0xd64], 0
je 0x56d9de
push eax
push 0x6ecd44
mov dword [edi + 0x444], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.00561820
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [esi + 0xc98]
call fcn.005984d0
add esp, 0x20
test eax, eax
jne 0x56d8c9
push edi
push esi
call fcn.0056e9e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x56e22c
mov eax, dword [edi + 0x1e8]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x56da10
cmp dword [esi + 0xd4c], ebx
je 0x56da17
mov ecx, 0x774272
mov ebp, ecx
cmp dword [edi + 0xe0], ebx
jne 0x56da37
push ecx
call dword [0x78ed34]
add esp, 4
mov dword [edi + 0xe0], eax
test eax, eax
je 0x56d8c9
cmp dword [edi + 0xe4], ebx
jne 0x56da59
push ebp
call dword [0x78ed34]
add esp, 4
mov dword [edi + 0xe4], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x56e22c
push dword [esi + 0x3c0]
push edi
push esi
call fcn.0056ee40
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x56e22c
cmp byte [edi + 0x1c8], al
je 0x56da9a
lea eax, [edi + 0x90]
push eax
call fcn.0059b190
add esp, 4
test eax, eax
jne 0x56e22e
cmp byte [edi + 0x1c9], 0
je 0x56dab7
lea eax, [edi + 0x70]
push eax
call fcn.0059b190
add esp, 4
test eax, eax
jne 0x56e22e
cmp byte [edi + 0x1d1], 0
je 0x56daf5
lea eax, [edi + 0x60]
push eax
call fcn.0059b190
add esp, 4
test eax, eax
jne 0x56e22e
cmp byte [edi + 0x1d1], al
je 0x56daf5
push dword [edi + 0x50]
push dword [edi + 0x68]
call fcn.005610b0
add esp, 8
test eax, eax
je 0x56daf5
mov byte [edi + 0x1d1], 0
mov cl, byte [edi + 0x1d2]
test cl, cl
je 0x56db16
mov eax, dword [edi + 0x448]
cmp eax, dword [edi + 0x444]
jne 0x56db16
mov byte [edi + 0x1d2], 0
xor cl, cl
cmp byte [edi + 0x1d1], 0
jne 0x56db23
test cl, cl
je 0x56db33
cmp byte [edi + 0x1c8], 0
je 0x56db33
mov byte [edi + 0x1cb], 1
mov eax, dword [edi + 0x1e8]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x56db5b
push edi
push esi
call edx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x56e22c
mov eax, dword [edi + 0x1e8]
mov ecx, eax
cmp dword [edi + 0x440], 0
jge 0x56db6d
mov eax, dword [eax + 0x40]
mov dword [edi + 0x440], eax
test byte [ecx + 0x4c], 0x10
je 0x56dc1e
push 0xffffffffffffffff
push 0
push edi
push esi
call fcn.00572950
mov eax, dword [edi + 0x1e8]
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 0x56dbff
push edi
push esi
call fcn.00562ca0
push esi
call fcn.00568f80
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x56e22c
push esi
call fcn.0056ff90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x56dbec
mov eax, dword [edi + 0x1e8]
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.006daf70
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.005776a0
add esp, 0x18
push edi
push esi
call fcn.0056cd60
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.006daf70
add esp, 0x34
ret
mov dword [edi + 0x130], 0x5718a0
lea ecx, [esi + 0x3d4]
mov dword [edi + 0x138], fcn.005718f0
lea ebx, [esi + 0x43c]
mov dword [edi + 0x134], 0x5718a0
mov dword [edi + 0x13c], fcn.005718f0
mov al, byte [esi + 0x6e8]
mov byte [edi + 0x1e0], al
mov eax, dword [esi + 0x55c]
mov dword [ecx], eax
mov eax, dword [esi + 0x564]
mov dword [esi + 0x3d8], eax
mov eax, dword [esi + 0x590]
mov dword [esi + 0x3dc], eax
mov eax, dword [esi + 0x644]
mov dword [esi + 0x3fc], eax
mov eax, dword [esi + 0x574]
mov dword [esi + 0x3e4], eax
mov eax, dword [esi + 0x57c]
mov dword [esi + 0x3e8], eax
mov eax, dword [esi + 0x56c]
mov dword [esi + 0x3ec], eax
mov eax, dword [esi + 0x634]
mov dword [esi + 0x3f4], eax
mov eax, dword [esi + 0x64c]
mov dword [esi + 0x3f8], eax
mov eax, dword [esi + 0x620]
mov dword [esi + 0x400], eax
mov eax, dword [esi + 0x560]
mov dword [ebx], eax
mov eax, dword [esi + 0x568]
mov dword [esi + 0x440], eax
mov eax, dword [esi + 0x578]
mov dword [esi + 0x44c], eax
mov eax, dword [esi + 0x580]
mov dword [esi + 0x450], eax
mov eax, dword [esi + 0x570]
mov dword [esi + 0x454], eax
mov eax, dword [esi + 0x638]
mov dword [esi + 0x45c], eax
mov eax, dword [esi + 0x650]
mov dword [esi + 0x460], eax
mov eax, dword [esi + 0x594]
mov dword [esi + 0x444], eax
mov eax, dword [esi + 0x648]
mov dword [esi + 0x464], eax
mov eax, dword [esi + 0x58c]
mov dword [esi + 0x458], eax
mov eax, dword [esi + 0x500]
mov dword [esi + 0x488], eax
mov eax, dword [esi + 0x52c]
mov dword [esi + 0x48c], eax
mov eax, dword [esi + 0x53c]
mov dword [esi + 0x494], eax
mov eax, dword [esi + 0x534]
mov dword [esi + 0x498], eax
mov eax, dword [esi + 0x4f8]
mov dword [esi + 0x448], eax
mov eax, dword [esi + 0x640]
mov dword [esi + 0x490], eax
mov eax, dword [esi + 0x588]
mov dword [esi + 0x3f0], eax
mov eax, dword [esi + 0x4fc]
mov dword [esi + 0x420], eax
mov eax, dword [esi + 0x528]
mov dword [esi + 0x424], eax
mov eax, dword [esi + 0x538]
mov dword [esi + 0x42c], eax
mov eax, dword [esi + 0x530]
mov dword [esi + 0x430], eax
mov eax, dword [esi + 0x4f4]
mov dword [esi + 0x3e0], eax
mov eax, dword [esi + 0x63c]
mov dword [esi + 0x428], eax
lea eax, [edi + 0x148]
push eax
push ecx
call fcn.0056a660
add esp, 8
test al, al
je 0x56d8c9
lea eax, [edi + 0x188]
push eax
push ebx
call fcn.0056a660
add esp, 8
test al, al
je 0x56d8c9
lea eax, [esp + 0x30]
push eax
call fcn.00568560
add esp, 4
cmp dword [esi + 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
je 0x56de3d
push 2
push 5
push esi
call fcn.00576310
add esp, 0xc
mov ecx, dword [esi + 0x890]
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.00568610
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x56de7c
push 5
push esi
call fcn.00576350
add esp, 8
test ebx, ebx
jl 0x56df2e
jg 0x56de92
cmp ebp, 0x3e8
jb 0x56df2e
push 0x56d660
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push dword [esi + 0x890]
mov dword [esp + 0x30], 0
push esi
call fcn.00569580
add esp, 0x10
test al, al
je 0x56def5
nop dword [eax + eax]
push 1
push dword [esp + 0x28]
push esi
call fcn.005696a0
push 1
push dword [esp + 0x34]
push esi
call fcn.0056cb50
push 0x56d660
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x890]
push esi
call fcn.00569580
add esp, 0x28
test al, al
jne 0x56dec0
cmp dword [esi + 0x84], 0
je 0x56df0b
push 2
push 5
push esi
call fcn.00576310
add esp, 0xc
mov eax, dword [esi + 0x890]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x56df2e
push 5
push esi
call fcn.00576350
add esp, 8
cmp byte [esi + 0x6de], 0
je 0x56df44
cmp dword [esi + 0x938], 0
je 0x56e17c
cmp byte [esi + 0x6be], 0
jne 0x56e17c
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.0056bd30
add esp, 0x14
test al, al
je 0x56e17c
cmp dword [edi + 0xe0], 0
mov ebx, dword [esp + 0x14]
je 0x56dfda
push dword [ebx + 0xe0]
call dword [0x78ed2c]
push dword [ebx + 0xe4]
mov dword [ebx + 0xe0], 0
call dword [0x78ed2c]
mov dword [ebx + 0xe4], 0
add esp, 8
mov eax, dword [edi + 0xe0]
mov dword [ebx + 0xe0], eax
mov eax, dword [edi + 0xe4]
mov dword [ebx + 0xe4], eax
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov al, byte [edi + 0x1ca]
mov byte [ebx + 0x1ca], al
test al, al
je 0x56e0a1
push dword [ebx + 0xa8]
call dword [0x78ed2c]
push dword [ebx + 0x88]
mov dword [ebx + 0xa8], 0
call dword [0x78ed2c]
push dword [ebx + 0xac]
mov dword [ebx + 0x88], 0
call dword [0x78ed2c]
push dword [ebx + 0x8c]
mov dword [ebx + 0xac], 0
call dword [0x78ed2c]
mov dword [ebx + 0x8c], 0
add esp, 0x10
mov eax, dword [edi + 0xa8]
mov dword [ebx + 0xa8], eax
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [edi + 0xac]
mov dword [ebx + 0xac], eax
mov eax, dword [edi + 0x8c]
mov dword [ebx + 0x8c], eax
mov dword [edi + 0xa8], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0x8c], 0
push dword [ebx + 0x48]
call dword [0x78ed2c]
push dword [ebx + 0x60]
mov dword [ebx + 0x48], 0
call dword [0x78ed2c]
mov dword [ebx + 0x60], 0
movups xmm0, xmmword [edi + 0x48]
movups xmmword [ebx + 0x48], xmm0
mov dword [edi + 0x48], 0
movups xmm0, xmmword [edi + 0x60]
mov dword [edi + 0x4c], 0
movups xmmword [ebx + 0x60], xmm0
mov eax, dword [edi + 0x448]
mov dword [edi + 0x60], 0
push dword [ebx + 0x58]
mov dword [ebx + 0x448], eax
mov eax, dword [edi + 0x444]
mov dword [ebx + 0x444], eax
call dword [0x78ed2c]
mov dword [ebx + 0x58], 0
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x58], eax
push edi
mov dword [edi + 0x58], 0
push esi
mov byte [ebx + 0x1cf], 1
call fcn.0056d690
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x78], 0
je 0x56e13d
mov eax, dword [ebx + 0x7c]
jmp 0x56e151
cmp dword [ebx + 0x98], 0
je 0x56e14e
mov eax, dword [ebx + 0x9c]
jmp 0x56e151
mov eax, dword [ebx + 0x54]
cmp byte [ebx + 0x1cd], 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.00571b80
add esp, 0x10
mov edi, ebx
jmp 0x56e2f9
mov eax, dword [edi + 0x1e8]
test dword [eax + 0x4c], 0x100
je 0x56e19b
cmp byte [esi + 0x6e9], 0
je 0x56e19b
mov byte [edi + 0x1e1], 1
cmp byte [esp + 0x12], 0
jne 0x56e208
push dword [esi + 0x890]
push edi
push esi
call fcn.005694d0
mov ebp, dword [esp + 0x34]
add esp, 0xc
test ebp, ebp
je 0x56e241
test eax, eax
je 0x56e241
cmp dword [eax + 4], ebp
jb 0x56e241
push eax
push esi
call fcn.005692e0
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x56e1e7
push 5
push esi
call fcn.00576350
add esp, 8
test ebx, ebx
je 0x56e1f9
push 0
push ebx
push esi
call fcn.0056cb50
add esp, 0xc
jmp 0x56e255
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.00571b80
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.00571b80
push edi
push esi
call fcn.0056d690
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.006daf70
add esp, 0x34
ret
cmp dword [esi + 0x84], 0
je 0x56e255
push 5
push esi
call fcn.00576350
add esp, 8
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x56e287
push esi
call fcn.00569960
add esp, 4
cmp eax, ebx
jb 0x56e287
push esi
call fcn.00569390
add esp, 4
test eax, eax
je 0x56e357
push 0
push eax
push esi
call fcn.0056cb50
add esp, 0xc
push edi
push esi
call fcn.00562ca0
push esi
call fcn.00568f80
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x56e22c
test byte [esi + 0x970], 0x28
je 0x56e2c8
cmp byte [esi + 0x978], al
je 0x56e2c8
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00571b80
add esp, 8
mov dword [esi + 0x970], ebx
mov byte [esi + 0x978], bl
test byte [esi + 0x980], 0x28
je 0x56e2f9
cmp byte [esi + 0x988], 0
je 0x56e2f9
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00571b80
add esp, 8
mov dword [esi + 0x980], 0
mov byte [esi + 0x988], 0
push edi
push esi
call fcn.0056cd60
push esi
call fcn.0056ff90
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x56e22c
mov eax, dword [esi + 0x184]
mov dword [edi + 0x24c], eax
mov eax, dword [esi + 0x1d4]
mov dword [edi + 0x250], eax
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x1cf], bl
je 0x56e36a
push esi
mov byte [eax], bl
call fcn.005715e0
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.006daf70
add esp, 0x34
ret
push str.No_connections_available_in_cache
push esi
call fcn.00571b80
add esp, 8
jmp 0x56e208
push eax
push edi
push esi
call fcn.0056fcc0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x56e22c
push esi
call fcn.005715e0
mov ecx, dword [esp + 0x44]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006daf70
add esp, 0x34
ret