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

Disassembly:
sub esp, 0x30
mov eax, dword [0x100e6364]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], 0
push dword [edi + 0x78]
mov byte [esp + 0x13], 0
call fcn.1002e480
push dword [edi + 0x78]
mov dword [esp + 0x24], eax
call fcn.1002e4a0
mov byte [esi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [edi + 0xb30], 0
mov dword [esp + 0x20], eax
jne 0x1003a198
pop edi
mov ebx, 3
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1008b7ea
add esp, 0x30
ret
push edi
call fcn.10039940
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003a1c0
pop edi
mov ebx, 0x1b
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1008b7ea
add esp, 0x30
ret
push esi
push edi
mov dword [ebx], esi
call fcn.1003bb80
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003a85b
mov eax, dword [edi + 0xa6c]
test eax, eax
je 0x1003a1f4
push eax
call dword [0x100e620c]
add esp, 4
mov dword [esi + 0x3e4], eax
test eax, eax
je 0x1003a1a7
mov eax, dword [edi + 0xa5c]
test eax, eax
je 0x1003a21e
push eax
call dword [0x100e620c]
add esp, 4
mov dword [esi + 0x7e8], eax
test eax, eax
je 0x1003a1a7
mov al, byte [edi + 0xb2a]
mov byte [esi + 0x7ec], al
push esi
call fcn.1003aa70
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1003a85b
mov eax, dword [esi + 0x54c]
test byte [eax + 0x44], 1
je 0x1003a24c
cmp byte [esi + 0x50e], bl
je 0x1003a24c
mov byte [esi + 0x517], 1
mov eax, dword [edi + 0x5b8]
test eax, eax
je 0x1003a299
cmp byte [edi + 0x1038], 0
je 0x1003a299
movzx eax, ax
push eax
push 0x100c30d0
mov dword [esi + 0x368], eax
lea eax, [esp + 0x30]
push 0x10
push eax
call fcn.10040040
push 0
lea eax, [esp + 0x3c]
push eax
push 6
push dword [edi + 0x1004]
call fcn.10063bc0
add esp, 0x20
test eax, eax
jne 0x1003a1a7
push ebp
lea eax, [esi + 0x3e0]
push eax
lea ebp, [esi + 0x3dc]
push ebp
lea ecx, [esi + 0x3d8]
push ecx
push esi
push edi
call fcn.1003b250
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x1003a85a
mov eax, dword [esi + 0x548]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x44], 0x20
je 0x1003a2e2
cmp byte [esi + 0x510], 0
je 0x1003a2e9
mov ecx, 0x100bd710
mov ebx, ecx
cmp dword [esi + 0x3d8], 0
jne 0x1003a30a
push ecx
call dword [0x100e620c]
add esp, 4
mov dword [esi + 0x3d8], eax
test eax, eax
je 0x1003a6be
cmp dword [ebp], 0
jne 0x1003a325
push ebx
call dword [0x100e620c]
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x1003a6be
push dword [edi + 0x830]
push esi
push edi
call fcn.1003b660
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1003a85a
lea eax, [esi + 0x2fc]
push eax
push esi
call fcn.10038fb0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003a85a
cmp byte [esi + 0x50b], al
je 0x1003a37b
lea eax, [esi + 0x314]
push eax
push esi
call fcn.10038fb0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003a85a
cmp byte [esi + 0x50e], 0
je 0x1003a39e
lea eax, [esi + 0x344]
push eax
push esi
call fcn.10038fb0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003a85a
cmp byte [esi + 0x50f], 0
je 0x1003a3c1
lea eax, [esi + 0x324]
push eax
push esi
call fcn.10038fb0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003a85a
cmp byte [esi + 0x50b], 0
je 0x1003a3e9
push dword [esi + 0x304]
push dword [esi + 0x31c]
call fcn.100413f0
add esp, 8
test eax, eax
je 0x1003a3e9
mov byte [esi + 0x50b], 0
mov cl, byte [esi + 0x50c]
test cl, cl
je 0x1003a40a
mov eax, dword [esi + 0x36c]
cmp eax, dword [esi + 0x368]
jne 0x1003a40a
mov byte [esi + 0x50c], 0
xor cl, cl
cmp byte [esi + 0x50b], 0
jne 0x1003a417
test cl, cl
je 0x1003a427
cmp byte [esi + 0x50e], 0
je 0x1003a427
mov byte [esi + 0x517], 1
mov eax, dword [esi + 0x548]
mov edx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1003a44e
push esi
call ecx
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1003a85a
mov eax, dword [esi + 0x548]
mov edx, eax
cmp dword [esi + 0x364], 0
jge 0x1003a460
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x364], eax
mov dword [esi + 0x438], 0x1003d1c0
mov dword [esi + 0x440], 0x1003d310
mov dword [esi + 0x43c], 0x1003d1c0
mov dword [esi + 0x444], 0x1003d310
mov al, byte [edi + 0xb21]
mov byte [esi + 0x523], al
test byte [edx + 0x44], 0x10
je 0x1003a53a
push esi
call fcn.1003e3c0
mov eax, dword [esi + 0x548]
lea ecx, [esp + 0x17]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1003a51b
mov byte [esi + 0x506], 1
push esi
push dword [edi + 0xcd0]
call fcn.10035c70
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003a85a
push edi
call fcn.1003ca00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003a501
mov eax, dword [esi + 0x548]
push 0
push ebx
push esi
mov eax, dword [eax + 0xc]
call eax
jmp 0x1003a857
push esi
push edi
call fcn.1002df90
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call fcn.10043990
add esp, 0x20
push esi
push edi
call fcn.10039080
add esp, 8
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1008b7ea
add esp, 0x30
ret
mov eax, dword [edi + 0x9bc]
mov dword [edi + 0x850], eax
mov eax, dword [edi + 0x9c0]
mov dword [edi + 0x8ac], eax
mov eax, dword [edi + 0x9c4]
mov dword [edi + 0x854], eax
mov eax, dword [edi + 0x9c8]
mov dword [edi + 0x8b0], eax
mov eax, dword [edi + 0x9e8]
mov dword [edi + 0x85c], eax
mov dword [edi + 0x8b8], eax
mov eax, dword [edi + 0x9e4]
mov dword [edi + 0x860], eax
mov dword [edi + 0x8bc], eax
mov eax, dword [edi + 0x9d4]
mov dword [edi + 0x864], eax
mov eax, dword [edi + 0x9d8]
mov dword [edi + 0x8c0], eax
mov eax, dword [edi + 0x9dc]
mov dword [edi + 0x868], eax
mov eax, dword [edi + 0x9e0]
mov dword [edi + 0x8c4], eax
mov eax, dword [edi + 0x9cc]
mov dword [edi + 0x86c], eax
mov eax, dword [edi + 0x9d0]
mov dword [edi + 0x8c8], eax
mov eax, dword [edi + 0x9f0]
mov dword [edi + 0x878], eax
mov eax, dword [edi + 0x9f4]
mov dword [edi + 0x8d4], eax
mov eax, dword [edi + 0x9f8]
mov dword [edi + 0x87c], eax
mov eax, dword [edi + 0x9fc]
mov edx, dword [edi + 0x954]
mov ecx, dword [edi + 0x958]
mov dword [edi + 0x8d8], eax
mov eax, dword [edi + 0x95c]
mov dword [edi + 0x88c], eax
mov eax, dword [edi + 0x960]
mov dword [edi + 0x8e8], eax
mov eax, dword [edi + 0x988]
mov dword [edi + 0x890], eax
mov eax, dword [edi + 0x98c]
mov dword [edi + 0x8ec], eax
mov eax, dword [edi + 0x998]
mov dword [edi + 0x894], eax
mov eax, dword [edi + 0x99c]
mov dword [edi + 0x8f0], eax
mov eax, dword [edi + 0x990]
mov dword [edi + 0x898], eax
mov eax, dword [edi + 0x994]
mov dword [edi + 0x8f4], eax
lea eax, [esi + 0x4ac]
push eax
lea eax, [edi + 0x848]
mov dword [edi + 0x888], edx
push eax
mov dword [edi + 0x8e4], ecx
mov dword [edi + 0x858], edx
mov dword [edi + 0x8b4], ecx
call fcn.100369d0
add esp, 8
test al, al
je 0x1003a6be
lea eax, [esi + 0x4d8]
push eax
lea eax, [edi + 0x8a4]
push eax
call fcn.100369d0
add esp, 8
test al, al
jne 0x1003a6d8
pop ebp
pop edi
mov ebx, 0x1b
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1008b7ea
add esp, 0x30
ret
push edi
call fcn.1003bf70
add esp, 4
cmp byte [edi + 0xb15], 0
je 0x1003a6f7
cmp byte [edi + 0x1035], 0
je 0x1003a7a5
cmp byte [edi + 0xb19], 0
jne 0x1003a7a5
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call fcn.10037f90
add esp, 0x14
test al, al
je 0x1003a7a5
mov ebx, dword [esp + 0x14]
push ebx
push esi
call fcn.1003c6b0
push dword [esi + 0x4a8]
call dword [0x100e6204]
push esi
call dword [0x100e6204]
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov esi, ebx
mov dword [eax], ebx
cmp dword [ebx + 0x32c], 0
je 0x1003a75f
mov eax, dword [ebx + 0x330]
jmp 0x1003a776
cmp dword [ebx + 0x34c], 0
je 0x1003a770
mov eax, dword [ebx + 0x350]
jmp 0x1003a776
mov eax, dword [ebx + 0x308]
cmp byte [ebx + 0x50d], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [ebx + 0x2b0]
push str.Re_using_existing_connection____ld__with__s__s_n
push edi
call fcn.1003cfe0
add esp, 0x14
jmp 0x1003a91b
mov eax, dword [esi + 0x548]
test dword [eax + 0x44], 0x100
je 0x1003a7d4
cmp byte [edi + 0xb23], 0
je 0x1003a7c4
mov byte [esi + 0x525], 1
cmp byte [edi + 0xb22], 0
je 0x1003a7d4
mov byte [esi + 0x524], 1
cmp byte [esp + 0x13], 0
jne 0x1003a837
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xcd0]
push esi
call fcn.10036150
mov ebp, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
je 0x1003a86f
test eax, eax
je 0x1003a86f
cmp dword [eax + 4], ebp
jb 0x1003a86f
push eax
push edi
call fcn.10035f50
push edi
mov ebx, eax
call fcn.10036690
add esp, 0xc
test ebx, ebx
je 0x1003a824
push 0
push ebx
push edi
call fcn.10038d80
add esp, 0xc
jmp 0x1003a878
push ebp
push dword [esp + 0x18]
push str.No_more_connections_allowed_to_host__s:__zu_n
push edi
call fcn.1003cfe0
add esp, 0x10
push str.No_connections_available._n
push edi
call fcn.1003cfe0
push esi
call fcn.10039d70
mov eax, dword [esp + 0x28]
mov ebx, 0x59
mov dword [eax], 0
add esp, 0xc
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1008b7ea
add esp, 0x30
ret
push edi
call fcn.10036690
add esp, 4
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1003a8aa
push edi
call fcn.10036650
add esp, 4
cmp eax, ebx
jb 0x1003a8aa
push edi
call fcn.10036000
add esp, 4
test eax, eax
je 0x1003aa54
push 0
push eax
push edi
call fcn.10038d80
add esp, 0xc
push esi
push dword [edi + 0xcd0]
call fcn.10035c70
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003a85a
test byte [edi + 0xd74], 0x28
je 0x1003a8ea
cmp byte [edi + 0xd7c], al
je 0x1003a8ea
push str.NTLM_picked_AND_auth_done_set__clear_picked__n
push edi
call fcn.1003cfe0
add esp, 8
mov dword [edi + 0xd74], ebx
mov byte [edi + 0xd7c], bl
test byte [edi + 0xd84], 0x28
je 0x1003a91b
cmp byte [edi + 0xd8c], 0
je 0x1003a91b
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked__n
push edi
call fcn.1003cfe0
add esp, 8
mov dword [edi + 0xd84], 0
mov byte [edi + 0xd8c], 0
push esi
push edi
call fcn.10039080
push edi
call fcn.1003ca00
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1003a85a
push dword [esp + 0x28]
mov eax, dword [edi + 0x5d8]
mov dword [esi + 0x5e0], eax
mov eax, dword [edi + 0x628]
push esi
push edi
mov dword [esi + 0x5e4], eax
call fcn.1003c420
lea edx, [esi + 0x2fc]
add esp, 0xc
mov ebx, eax
test edx, edx
je 0x1003a989
mov edx, dword [edx + 8]
test edx, edx
je 0x1003a989
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a973
sub ecx, edi
je 0x1003a989
cmp byte [edx + ecx - 1], 0x2e
jne 0x1003a989
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x50e], 0
je 0x1003a9be
lea edx, [esi + 0x344]
test edx, edx
je 0x1003a9be
mov edx, dword [edx + 8]
test edx, edx
je 0x1003a9be
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a9a8
sub ecx, edi
je 0x1003a9be
cmp byte [edx + ecx - 1], 0x2e
jne 0x1003a9be
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x50f], 0
je 0x1003a9f6
lea edx, [esi + 0x324]
test edx, edx
je 0x1003a9f6
mov edx, dword [edx + 8]
test edx, edx
je 0x1003a9f6
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a9e0
sub ecx, edi
je 0x1003a9f6
cmp byte [edx + ecx - 1], 0x2e
jne 0x1003a9f6
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x50b], 0
je 0x1003a85a
lea edx, [esi + 0x314]
test edx, edx
je 0x1003a85a
mov edx, dword [edx + 8]
test edx, edx
je 0x1003a85a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aa21
sub ecx, esi
je 0x1003a85a
cmp byte [ecx + edx - 1], 0x2e
jne 0x1003a85a
pop ebp
pop edi
mov byte [ecx + edx - 1], al
mov eax, ebx
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
xor ecx, esp
call fcn.1008b7ea
add esp, 0x30
ret
push str.No_connections_available_in_cache_n
push edi
call fcn.1003cfe0
add esp, 8
jmp 0x1003a837