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

Disassembly:
sub esp, 0x34
mov eax, dword [0x4a0368]
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 + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x16], 0
call fcn.004094d0
push dword [esi + 0x70]
mov dword [esp + 0x30], eax
call fcn.004094f0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xc98], 0
mov dword [esp + 0x2c], eax
jne 0x415a0a
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00459004
add esp, 0x34
ret
push esi
call fcn.00415540
mov edi, eax
add esp, 4
test edi, edi
jne 0x415a33
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00459004
add esp, 0x34
ret
push edi
push esi
mov dword [ebx], edi
call fcn.00417740
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x416356
mov eax, dword [esi + 0x604]
test eax, eax
je 0x415a67
push eax
call dword [0x4a000c]
add esp, 4
mov dword [edi + 0xe8], eax
test eax, eax
je 0x415a19
mov eax, dword [esi + 0x5ec]
test eax, eax
je 0x415a85
push eax
call dword [0x4a000c]
add esp, 4
mov dword [edi + 0xec], eax
test eax, eax
je 0x415a19
mov eax, dword [esi + 0x5f0]
test eax, eax
je 0x415ab3
push eax
call dword [0x4a000c]
add esp, 4
mov dword [edi + 0x424], eax
test eax, eax
je 0x415a19
mov al, byte [esi + 0x6e4]
mov byte [edi + 0x1db], al
push edi
push esi
call fcn.004164d0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x416356
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4c], 1
je 0x415ae2
cmp byte [edi + 0x1c0], bl
je 0x415ae2
mov byte [edi + 0x1c3], 1
movzx eax, word [esi + 0x168]
test ax, ax
je 0x415b2e
cmp byte [esi + 0xd3c], 0
je 0x415b2e
push eax
push 0x47fa14
mov dword [edi + 0x440], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.00429170
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [esi + 0xc70]
call fcn.00440b60
add esp, 0x20
test eax, eax
jne 0x415a19
push edi
push esi
call fcn.00416b20
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x416356
mov eax, dword [edi + 0x1e0]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x415b60
cmp dword [esi + 0xd28], ebx
je 0x415b67
mov ecx, 0x49cda7
mov ebp, ecx
cmp dword [edi + 0xdc], ebx
jne 0x415b87
push ecx
call dword [0x4a000c]
add esp, 4
mov dword [edi + 0xdc], eax
test eax, eax
je 0x415a19
cmp dword [edi + 0xe0], ebx
jne 0x415ba9
push ebp
call dword [0x4a000c]
add esp, 4
mov dword [edi + 0xe0], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x416356
push dword [esi + 0x3b8]
push edi
push esi
call fcn.00416f80
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x416356
cmp byte [edi + 0x1c0], al
je 0x415bea
lea eax, [edi + 0x8c]
push eax
call fcn.00443630
add esp, 4
test eax, eax
jne 0x416358
cmp byte [edi + 0x1c1], 0
je 0x415c07
lea eax, [edi + 0x6c]
push eax
call fcn.00443630
add esp, 4
test eax, eax
jne 0x416358
cmp byte [edi + 0x1c9], 0
je 0x415c29
push dword [edi + 0x4c]
push dword [edi + 0x64]
call fcn.0041ccd0
add esp, 8
test eax, eax
je 0x415c29
mov byte [edi + 0x1c9], 0
mov cl, byte [edi + 0x1ca]
test cl, cl
je 0x415c4a
mov eax, dword [edi + 0x444]
cmp eax, dword [edi + 0x440]
jne 0x415c4a
mov byte [edi + 0x1ca], 0
xor cl, cl
cmp byte [edi + 0x1c9], 0
jne 0x415c57
test cl, cl
je 0x415c67
cmp byte [edi + 0x1c0], 0
je 0x415c67
mov byte [edi + 0x1c3], 1
mov ecx, dword [edi + 0x1e0]
mov eax, ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x415c8f
push edi
push esi
call edx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x416356
mov ecx, dword [edi + 0x1e0]
mov eax, ecx
cmp dword [edi + 0x43c], 0
jge 0x415ca1
mov eax, dword [eax + 0x40]
mov dword [edi + 0x43c], eax
test byte [ecx + 0x4c], 0x10
je 0x415d52
push 0xffffffffffffffff
push 0
push edi
push esi
call fcn.00419f70
mov eax, dword [edi + 0x1e0]
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 0x415d33
push edi
push esi
call fcn.00408fb0
push esi
call fcn.00411070
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x416356
push esi
call fcn.00418090
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x415d20
mov eax, dword [edi + 0x1e0]
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.00459004
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.0041ede0
add esp, 0x18
push edi
push esi
call fcn.00414e90
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00459004
add esp, 0x34
ret
mov dword [edi + 0x128], 0x418ee0
lea ecx, [esi + 0x3cc]
mov dword [edi + 0x130], fcn.00419010
lea ebx, [esi + 0x434]
mov dword [edi + 0x12c], 0x418ee0
mov dword [edi + 0x134], fcn.00419010
mov al, byte [esi + 0x6dd]
mov byte [edi + 0x1d8], al
mov eax, dword [esi + 0x554]
mov dword [ecx], eax
mov eax, dword [esi + 0x55c]
mov dword [esi + 0x3d0], eax
mov eax, dword [esi + 0x588]
mov dword [esi + 0x3d4], eax
mov eax, dword [esi + 0x638]
mov dword [esi + 0x3f4], eax
mov eax, dword [esi + 0x56c]
mov dword [esi + 0x3dc], eax
mov eax, dword [esi + 0x574]
mov dword [esi + 0x3e0], eax
mov eax, dword [esi + 0x564]
mov dword [esi + 0x3e4], eax
mov eax, dword [esi + 0x628]
mov dword [esi + 0x3ec], eax
mov eax, dword [esi + 0x640]
mov dword [esi + 0x3f0], eax
mov eax, dword [esi + 0x618]
mov dword [esi + 0x3f8], eax
mov eax, dword [esi + 0x558]
mov dword [ebx], eax
mov eax, dword [esi + 0x560]
mov dword [esi + 0x438], eax
mov eax, dword [esi + 0x570]
mov dword [esi + 0x444], eax
mov eax, dword [esi + 0x578]
mov dword [esi + 0x448], eax
mov eax, dword [esi + 0x568]
mov dword [esi + 0x44c], eax
mov eax, dword [esi + 0x62c]
mov dword [esi + 0x454], eax
mov eax, dword [esi + 0x644]
mov dword [esi + 0x458], eax
mov eax, dword [esi + 0x58c]
mov dword [esi + 0x43c], eax
mov eax, dword [esi + 0x63c]
mov dword [esi + 0x45c], eax
mov eax, dword [esi + 0x584]
mov dword [esi + 0x450], eax
mov eax, dword [esi + 0x4f8]
mov dword [esi + 0x480], eax
mov eax, dword [esi + 0x524]
mov dword [esi + 0x484], eax
mov eax, dword [esi + 0x534]
mov dword [esi + 0x48c], eax
mov eax, dword [esi + 0x52c]
mov dword [esi + 0x490], eax
mov eax, dword [esi + 0x4f0]
mov dword [esi + 0x440], eax
mov eax, dword [esi + 0x634]
mov dword [esi + 0x488], eax
mov eax, dword [esi + 0x580]
mov dword [esi + 0x3e8], eax
mov eax, dword [esi + 0x4f4]
mov dword [esi + 0x418], eax
mov eax, dword [esi + 0x520]
mov dword [esi + 0x41c], eax
mov eax, dword [esi + 0x530]
mov dword [esi + 0x424], eax
mov eax, dword [esi + 0x528]
mov dword [esi + 0x428], eax
mov eax, dword [esi + 0x4ec]
mov dword [esi + 0x3d8], eax
mov eax, dword [esi + 0x630]
mov dword [esi + 0x420], eax
lea eax, [edi + 0x140]
push eax
push ecx
call fcn.00412690
add esp, 8
test al, al
je 0x415a19
lea eax, [edi + 0x180]
push eax
push ebx
call fcn.00412690
add esp, 8
test al, al
je 0x415a19
lea eax, [esp + 0x30]
push eax
call fcn.0040e6b0
add esp, 4
cmp dword [esi + 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
je 0x415f6e
push 2
push 5
push esi
call fcn.0041db50
add esp, 0xc
mov ecx, dword [esi + 0x888]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
call fcn.0040e760
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x78], 0
mov ebx, edx
je 0x415faa
push 5
push esi
call fcn.0041db90
add esp, 8
test ebx, ebx
jl 0x416058
jg 0x415fc0
cmp ebp, 0x3e8
jb 0x416058
push 0x4157b0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push dword [esi + 0x888]
mov dword [esp + 0x30], 0
push esi
call fcn.00411660
add esp, 0x10
test al, al
je 0x416025
nop dword [eax]
push 1
push dword [esp + 0x28]
push esi
call fcn.00411780
push 1
push dword [esp + 0x34]
push esi
call fcn.00414c90
push 0x4157b0
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x888]
push esi
call fcn.00411660
add esp, 0x28
test al, al
jne 0x415ff0
cmp dword [esi + 0x78], 0
je 0x416038
push 2
push 5
push esi
call fcn.0041db50
add esp, 0xc
mov eax, dword [esi + 0x888]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x20], xmm0
cmp dword [esi + 0x78], 0
je 0x416058
push 5
push esi
call fcn.0041db90
add esp, 8
cmp byte [esi + 0x6d3], 0
je 0x41606e
cmp dword [esi + 0x928], 0
je 0x4162a9
cmp byte [esi + 0x6b2], 0
jne 0x4162a9
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.00413e80
add esp, 0x14
test al, al
je 0x4162a9
cmp dword [edi + 0xdc], 0
mov ebx, dword [esp + 0x14]
je 0x416104
push dword [ebx + 0xdc]
call dword [0x4a0004]
push dword [ebx + 0xe0]
mov dword [ebx + 0xdc], 0
call dword [0x4a0004]
mov dword [ebx + 0xe0], 0
add esp, 8
mov eax, dword [edi + 0xdc]
mov dword [ebx + 0xdc], eax
mov eax, dword [edi + 0xe0]
mov dword [ebx + 0xe0], eax
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov al, byte [edi + 0x1c2]
mov byte [ebx + 0x1c2], al
test al, al
je 0x4161cb
push dword [ebx + 0xa4]
call dword [0x4a0004]
push dword [ebx + 0x84]
mov dword [ebx + 0xa4], 0
call dword [0x4a0004]
push dword [ebx + 0xa8]
mov dword [ebx + 0x84], 0
call dword [0x4a0004]
push dword [ebx + 0x88]
mov dword [ebx + 0xa8], 0
call dword [0x4a0004]
mov dword [ebx + 0x88], 0
add esp, 0x10
mov eax, dword [edi + 0xa4]
mov dword [ebx + 0xa4], eax
mov eax, dword [edi + 0x84]
mov dword [ebx + 0x84], eax
mov eax, dword [edi + 0xa8]
mov dword [ebx + 0xa8], eax
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x88], eax
mov dword [edi + 0xa4], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0x88], 0
push dword [ebx + 0x44]
call dword [0x4a0004]
push dword [ebx + 0x5c]
mov dword [ebx + 0x44], 0
call dword [0x4a0004]
mov dword [ebx + 0x5c], 0
movups xmm0, xmmword [edi + 0x44]
movups xmmword [ebx + 0x44], xmm0
mov dword [edi + 0x44], 0
movups xmm0, xmmword [edi + 0x5c]
mov dword [edi + 0x48], 0
movups xmmword [ebx + 0x5c], xmm0
mov eax, dword [edi + 0x444]
mov dword [edi + 0x5c], 0
push dword [ebx + 0x54]
mov dword [ebx + 0x444], eax
mov eax, dword [edi + 0x440]
mov dword [ebx + 0x440], eax
call dword [0x4a0004]
mov dword [ebx + 0x54], 0
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x54], eax
push edi
mov dword [edi + 0x54], 0
push esi
mov byte [ebx + 0x1c7], 1
call fcn.004157e0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x74], 0
je 0x416267
mov eax, dword [ebx + 0x78]
jmp 0x41627b
cmp dword [ebx + 0x94], 0
je 0x416278
mov eax, dword [ebx + 0x98]
jmp 0x41627b
mov eax, dword [ebx + 0x50]
cmp byte [ebx + 0x1c5], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [ebx + 0x38]
push str.Re_using_existing_connection__ld_with__s__s
push esi
call fcn.004191d0
add esp, 0x14
mov edi, ebx
jmp 0x416420
mov eax, dword [edi + 0x1e0]
test dword [eax + 0x4c], 0x100
je 0x4162c8
cmp byte [esi + 0x6de], 0
je 0x4162c8
mov byte [edi + 0x1d9], 1
cmp byte [esp + 0x12], 0
jne 0x416332
push dword [esi + 0x888]
push edi
push esi
call fcn.004115b0
mov ebp, dword [esp + 0x34]
add esp, 0xc
test ebp, ebp
je 0x41636b
test eax, eax
je 0x41636b
cmp dword [eax + 4], ebp
jb 0x41636b
push eax
push esi
call fcn.004113c0
add esp, 8
mov ebx, eax
cmp dword [esi + 0x78], 0
je 0x416311
push 5
push esi
call fcn.0041db90
add esp, 8
test ebx, ebx
je 0x416323
push 0
push ebx
push esi
call fcn.00414c90
add esp, 0xc
jmp 0x41637c
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.004191d0
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.004191d0
push edi
push esi
call fcn.004157e0
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.00459004
add esp, 0x34
ret
cmp dword [esi + 0x78], 0
je 0x41637c
push 5
push esi
call fcn.0041db90
add esp, 8
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4163ae
push esi
call fcn.00411a20
add esp, 4
cmp eax, ebx
jb 0x4163ae
push esi
call fcn.00411470
add esp, 4
test eax, eax
je 0x41647e
push 0
push eax
push esi
call fcn.00414c90
add esp, 0xc
push edi
push esi
call fcn.00408fb0
push esi
call fcn.00411070
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x416356
test byte [esi + 0x960], 0x28
je 0x4163ef
cmp byte [esi + 0x968], al
je 0x4163ef
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.004191d0
add esp, 8
mov dword [esi + 0x960], ebx
mov byte [esi + 0x968], bl
test byte [esi + 0x970], 0x28
je 0x416420
cmp byte [esi + 0x978], 0
je 0x416420
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.004191d0
add esp, 8
mov dword [esi + 0x970], 0
mov byte [esi + 0x978], 0
push edi
push esi
call fcn.00414e90
push esi
call fcn.00418090
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x416356
mov eax, dword [esi + 0x17c]
mov dword [edi + 0x244], eax
mov eax, dword [esi + 0x1cc]
mov dword [edi + 0x248], eax
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x1c7], bl
je 0x416491
push esi
mov byte [eax], bl
call fcn.00418c20
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00459004
add esp, 0x34
ret
push str.No_connections_available_in_cache
push esi
call fcn.004191d0
add esp, 8
jmp 0x416332
push eax
push edi
push esi
call fcn.00417dd0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x416356
push esi
call fcn.00418c20
mov ecx, dword [esp + 0x44]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459004
add esp, 0x34
ret