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

Disassembly:
sub esp, 0x38
mov eax, dword [0x49536c]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], ebx
push dword [esi + 0x70]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.00405eb0
push dword [esi + 0x70]
mov dword [esp + 0x34], eax
call fcn.00405ed0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcac], 0
mov dword [esp + 0x30], eax
jne 0x41255a
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045693d
add esp, 0x38
ret
push esi
call fcn.00412050
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x412583
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045693d
add esp, 0x38
ret
push ebp
push esi
mov dword [ebx], ebp
call fcn.004142c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x412ecc
mov eax, dword [esi + 0x604]
test eax, eax
je 0x4125b7
push eax
call dword [0x49500c]
add esp, 4
mov dword [ebp + 0xe8], eax
test eax, eax
je 0x412569
mov eax, dword [esi + 0x5ec]
test eax, eax
je 0x4125d5
push eax
call dword [0x49500c]
add esp, 4
mov dword [ebp + 0xec], eax
test eax, eax
je 0x412569
mov eax, dword [esi + 0x5f0]
test eax, eax
je 0x412603
push eax
call dword [0x49500c]
add esp, 4
mov dword [ebp + 0x424], eax
test eax, eax
je 0x412569
mov al, byte [esi + 0x6e3]
mov byte [ebp + 0x1db], al
push ebp
push esi
call fcn.00413040
mov edi, eax
add esp, 8
test edi, edi
jne 0x412ecc
mov eax, dword [ebp + 0x1e4]
test byte [eax + 0x4c], 1
je 0x412633
cmp byte [ebp + 0x1c0], 0
je 0x412633
mov byte [ebp + 0x1c3], 1
movzx eax, word [esi + 0x168]
test ax, ax
je 0x41267f
cmp byte [esi + 0xd54], 0
je 0x41267f
push eax
push 0x47cae4
mov dword [ebp + 0x43c], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.00425ab0
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [esi + 0xc88]
call fcn.0043e710
add esp, 0x20
test eax, eax
jne 0x412569
push ebp
push esi
call fcn.00413680
mov edi, eax
add esp, 8
test edi, edi
jne 0x412ecc
mov eax, dword [ebp + 0x1e0]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x4126b1
cmp dword [esi + 0xd3c], edi
je 0x4126b8
mov ecx, 0x47c439
mov ebx, ecx
cmp dword [ebp + 0xdc], edi
jne 0x4126d8
push ecx
call dword [0x49500c]
add esp, 4
mov dword [ebp + 0xdc], eax
test eax, eax
je 0x412569
cmp dword [ebp + 0xe0], edi
jne 0x4126fa
push ebx
call dword [0x49500c]
add esp, 4
mov dword [ebp + 0xe0], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x412ecc
push dword [esi + 0x3b8]
push ebp
push esi
call fcn.00413ae0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x412ecc
cmp byte [ebp + 0x1c0], al
je 0x41273b
lea eax, [ebp + 0x8c]
push eax
call fcn.004412b0
add esp, 4
test eax, eax
jne 0x412ece
cmp byte [ebp + 0x1c1], 0
je 0x412758
lea eax, [ebp + 0x6c]
push eax
call fcn.004412b0
add esp, 4
test eax, eax
jne 0x412ece
cmp byte [ebp + 0x1c9], 0
je 0x412796
lea eax, [ebp + 0x5c]
push eax
call fcn.004412b0
add esp, 4
test eax, eax
jne 0x412ece
cmp byte [ebp + 0x1c9], al
je 0x412796
push dword [ebp + 0x4c]
push dword [ebp + 0x64]
call fcn.00419910
add esp, 8
test eax, eax
je 0x412796
mov byte [ebp + 0x1c9], 0
mov cl, byte [ebp + 0x1ca]
test cl, cl
je 0x4127b7
mov eax, dword [ebp + 0x440]
cmp eax, dword [ebp + 0x43c]
jne 0x4127b7
mov byte [ebp + 0x1ca], 0
xor cl, cl
cmp byte [ebp + 0x1c9], 0
jne 0x4127c4
test cl, cl
je 0x4127d4
cmp byte [ebp + 0x1c0], 0
je 0x4127d4
mov byte [ebp + 0x1c3], 1
mov eax, dword [ebp + 0x1e0]
mov edx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4127fc
push ebp
push esi
call ecx
mov edi, eax
add esp, 8
test edi, edi
jne 0x412ecc
mov eax, dword [ebp + 0x1e0]
mov edx, eax
cmp dword [ebp + 0x438], 0
jge 0x41280e
mov eax, dword [eax + 0x40]
mov dword [ebp + 0x438], eax
test byte [edx + 0x4c], 0x10
je 0x4128bf
push 0xffffffffffffffff
push 0
push ebp
push esi
call fcn.00416bc0
mov eax, dword [ebp + 0x1e0]
lea ecx, [esp + 0x23]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4128a0
push ebp
push esi
call fcn.00405980
push esi
call fcn.0040dce0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x412ecc
push esi
call fcn.00414c00
mov edi, eax
add esp, 4
test edi, edi
je 0x41288d
mov eax, dword [ebp + 0x1e0]
push 0
push edi
push esi
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045693d
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.0041b2e0
add esp, 0x18
push ebp
push esi
call fcn.004119f0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045693d
add esp, 0x38
ret
mov dword [ebp + 0x128], 0x415b00
lea ecx, [esi + 0x3cc]
mov dword [ebp + 0x130], fcn.00415b60
lea edi, [esi + 0x434]
mov dword [ebp + 0x12c], 0x415b00
mov dword [ebp + 0x134], fcn.00415b60
mov al, byte [esi + 0x6dc]
mov byte [ebp + 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 [edi], 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, [ebp + 0x140]
push eax
push ecx
call fcn.0040f3a0
add esp, 8
test al, al
je 0x412569
lea eax, [ebp + 0x180]
push eax
push edi
call fcn.0040f3a0
add esp, 8
test al, al
je 0x412569
lea eax, [esp + 0x34]
push eax
call fcn.0040b170
add esp, 4
cmp dword [esi + 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
je 0x412adb
push 2
push 5
push esi
call fcn.00419f80
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 + 0x54]
movups xmmword [eax], xmm0
call fcn.0040b220
add esp, 0x20
mov ebx, eax
cmp dword [esi + 0x78], 0
mov edi, edx
je 0x412b17
push 5
push esi
call fcn.00419fc0
add esp, 8
test edi, edi
jl 0x412bbe
jg 0x412b2d
cmp ebx, 0x3e8
jb 0x412bbe
push 0x4122c0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
push eax
push dword [esi + 0x888]
mov dword [esp + 0x34], 0
push esi
call fcn.0040e2c0
add esp, 0x10
test al, al
je 0x412b8b
push 1
push dword [esp + 0x2c]
push esi
call fcn.0040e3e0
push 1
push dword [esp + 0x38]
push esi
call fcn.004117e0
push 0x4122c0
lea eax, [esp + 0x40]
push eax
push dword [esi + 0x888]
push esi
call fcn.0040e2c0
add esp, 0x28
test al, al
jne 0x412b56
cmp dword [esi + 0x78], 0
je 0x412b9e
push 2
push 5
push esi
call fcn.00419f80
add esp, 0xc
mov eax, dword [esi + 0x888]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x20], xmm0
cmp dword [esi + 0x78], 0
je 0x412bbe
push 5
push esi
call fcn.00419fc0
add esp, 8
cmp byte [esi + 0x6d2], 0
je 0x412bd4
cmp dword [esi + 0x928], 0
je 0x412e1f
cmp byte [esi + 0x6b2], 0
jne 0x412e1f
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
call fcn.004109f0
add esp, 0x14
test al, al
je 0x412e1f
cmp dword [ebp + 0xdc], 0
mov ebx, dword [esp + 0x14]
je 0x412c6a
push dword [ebx + 0xdc]
call dword [0x495004]
push dword [ebx + 0xe0]
mov dword [ebx + 0xdc], 0
call dword [0x495004]
mov dword [ebx + 0xe0], 0
add esp, 8
mov eax, dword [ebp + 0xdc]
mov dword [ebx + 0xdc], eax
mov eax, dword [ebp + 0xe0]
mov dword [ebx + 0xe0], eax
mov dword [ebp + 0xdc], 0
mov dword [ebp + 0xe0], 0
mov al, byte [ebp + 0x1c2]
mov byte [ebx + 0x1c2], al
test al, al
je 0x412d31
push dword [ebx + 0xa4]
call dword [0x495004]
push dword [ebx + 0x84]
mov dword [ebx + 0xa4], 0
call dword [0x495004]
push dword [ebx + 0xa8]
mov dword [ebx + 0x84], 0
call dword [0x495004]
push dword [ebx + 0x88]
mov dword [ebx + 0xa8], 0
call dword [0x495004]
mov dword [ebx + 0x88], 0
add esp, 0x10
mov eax, dword [ebp + 0xa4]
mov dword [ebx + 0xa4], eax
mov eax, dword [ebp + 0x84]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp + 0xa8]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp + 0x88]
mov dword [ebx + 0x88], eax
mov dword [ebp + 0xa4], 0
mov dword [ebp + 0x84], 0
mov dword [ebp + 0xa8], 0
mov dword [ebp + 0x88], 0
lea edi, [ebx + 0x44]
push edi
call fcn.00441280
add ebx, 0x5c
push ebx
call fcn.00441280
push dword [edi]
call dword [0x495004]
push dword [ebx]
mov dword [edi], 0
call dword [0x495004]
mov dword [ebx], 0
movups xmm0, xmmword [ebp + 0x44]
movups xmmword [edi], xmm0
mov edi, dword [esp + 0x24]
movups xmm0, xmmword [ebp + 0x5c]
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0
movups xmmword [ebx], xmm0
mov eax, dword [ebp + 0x440]
mov dword [ebp + 0x5c], 0
push dword [edi + 0x54]
mov dword [edi + 0x440], eax
mov eax, dword [ebp + 0x43c]
mov dword [edi + 0x43c], eax
call dword [0x495004]
mov dword [edi + 0x54], 0
mov eax, dword [ebp + 0x54]
mov dword [edi + 0x54], eax
push ebp
mov dword [ebp + 0x54], 0
push esi
mov byte [edi + 0x1c7], 1
call fcn.004122f0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], edi
cmp dword [edi + 0x74], 0
je 0x412ddd
mov eax, dword [edi + 0x78]
jmp 0x412df1
cmp dword [edi + 0x94], 0
je 0x412dee
mov eax, dword [edi + 0x98]
jmp 0x412df1
mov eax, dword [edi + 0x50]
cmp byte [edi + 0x1c5], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [edi + 0x38]
push str.Re_using_existing_connection__ld_with__s__s
push esi
call fcn.00415e00
add esp, 0x14
mov ebp, edi
jmp 0x412f97
mov eax, dword [ebp + 0x1e0]
test dword [eax + 0x4c], 0x100
je 0x412e3e
cmp byte [esi + 0x6dd], 0
je 0x412e3e
mov byte [ebp + 0x1d9], 1
cmp byte [esp + 0x13], 0
jne 0x412ea8
push dword [esi + 0x888]
push ebp
push esi
call fcn.0040e210
mov ebx, dword [esp + 0x38]
add esp, 0xc
test ebx, ebx
je 0x412ee1
test eax, eax
je 0x412ee1
cmp dword [eax + 4], ebx
jb 0x412ee1
push eax
push esi
call fcn.0040e020
add esp, 8
mov edi, eax
cmp dword [esi + 0x78], 0
je 0x412e87
push 5
push esi
call fcn.00419fc0
add esp, 8
test edi, edi
je 0x412e99
push 0
push edi
push esi
call fcn.004117e0
add esp, 0xc
jmp 0x412ef2
push ebx
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.00415e00
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.00415e00
push ebp
push esi
call fcn.004122f0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov edi, 0x59
mov dword [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045693d
add esp, 0x38
ret
cmp dword [esi + 0x78], 0
je 0x412ef2
push 5
push esi
call fcn.00419fc0
add esp, 8
mov edi, dword [esp + 0x30]
test edi, edi
je 0x412f24
push esi
call fcn.0040e690
add esp, 4
cmp eax, edi
jb 0x412f24
push esi
call fcn.0040e0d0
add esp, 4
test eax, eax
je 0x412ff7
push 0
push eax
push esi
call fcn.004117e0
add esp, 0xc
push ebp
push esi
call fcn.00405980
push esi
call fcn.0040dce0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x412ecc
test byte [esi + 0x960], 0x28
je 0x412f66
cmp byte [esi + 0x968], al
je 0x412f66
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00415e00
add esp, 8
mov dword [esi + 0x960], edi
mov byte [esi + 0x968], 0
test byte [esi + 0x970], 0x28
je 0x412f97
cmp byte [esi + 0x978], 0
je 0x412f97
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00415e00
add esp, 8
mov dword [esi + 0x970], 0
mov byte [esi + 0x978], 0
push ebp
push esi
call fcn.004119f0
push esi
call fcn.00414c00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x412ecc
cmp byte [ebp + 0x1c7], 0
mov eax, dword [esi + 0x17c]
mov dword [ebp + 0x244], eax
mov eax, dword [esi + 0x1cc]
mov dword [ebp + 0x248], eax
mov eax, dword [esp + 0x1c]
je 0x41300a
push esi
mov byte [eax], 0
call fcn.00415840
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045693d
add esp, 0x38
ret
push str.No_connections_available_in_cache
push esi
call fcn.00415e00
add esp, 8
jmp 0x412ea8
push eax
push ebp
push esi
call fcn.00414940
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x412ecc
push esi
call fcn.00415840
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045693d
add esp, 0x38
ret