Function at 0x446dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x390], eax
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x184], ax
lea eax, [ebp - 0x182]
push eax
call fcn.0046fe20
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0046fe20
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
call fcn.0046fe20
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x384], ax
lea eax, [ebp - 0x382]
push eax
call fcn.0046fe20
lea eax, [ebp - 0x388]
mov dword [ebp - 0x38c], 0
push eax
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x388], 0
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0x390]
call fcn.00447e30
add esp, 0x4c
test edi, edi
je 0x446ead
cmp word [edi], 0
je 0x446ead
push edi
lea eax, [ebp - 0x84]
push 0x20
push eax
call fcn.00470452
add esp, 0xc
test esi, esi
je 0x446ec6
cmp word [esi], 0
je 0x446ec6
push esi
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.00470452
add esp, 0xc
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
mov esi, dword [ebp - 0x38c]
push edi
push esi
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0x390]
push str.DownloadFile____Url_s__HostName_s__UrlPath_s__Login_s__Password_s__Scheme_d__Resume_d
call fcn.004699e0
add esp, 0x20
cmp esi, 5
je 0x446f34
lea eax, [ebp - 0x184]
push eax
call fcn.00447d20
add esp, 4
test al, 2
je 0x446f1e
cmp dword [0x4b6534], 0
je 0x446f34
pop edi
pop esi
mov eax, 0x4ce
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x446f6d
push 0x8000000
push ebx
lea eax, [ebp - 0x384]
push eax
push dword [ebp - 0x388]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.004467c0
add esp, 0x1c
mov esi, eax
jmp 0x44703c
cmp esi, 3
jne 0x446fa9
push edi
push 0
push 0x8000000
push ebx
lea eax, [ebp - 0x384]
push eax
push dword [ebp - 0x388]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00447060
add esp, 0x24
mov esi, eax
jmp 0x44703c
cmp esi, 4
jne 0x446fe2
push edi
push 1
push 0x8000000
push ebx
lea eax, [ebp - 0x384]
push eax
push dword [ebp - 0x388]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00447060
add esp, 0x24
mov esi, eax
jmp 0x44703c
cmp esi, 5
jne 0x447037
lea eax, [ebp - 0x384]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
lea eax, [ebp - 0x384]
neg esi
sbb esi, esi
and esi, 0xffffff92
add esi, 0x6e
jne 0x447027
neg edi
sbb edi, edi
and edi, 0x200000
or edi, 0x400000
push edi
push ebx
push eax
call fcn.00468e20
add esp, 0xc
mov esi, eax
jmp 0x44703c
push eax
push str.DownloadFile_____s_doesnt_exist_
call fcn.004699e0
add esp, 8
jmp 0x44703c
mov esi, 0x57
push esi
push str.DownloadFile____End__d_
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret