Function at 0x4469d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x4af6f0]
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.0046f7e0
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x384], ax
lea eax, [ebp - 0x382]
push eax
call fcn.0046f7e0
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.00447a30
add esp, 0x4c
test edi, edi
je 0x446abd
cmp word [edi], 0
je 0x446abd
push edi
lea eax, [ebp - 0x84]
push 0x20
push eax
call fcn.0046fe12
add esp, 0xc
test esi, esi
je 0x446ad6
cmp word [esi], 0
je 0x446ad6
push esi
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.0046fe12
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.00469390
add esp, 0x20
cmp esi, 5
je 0x446b44
lea eax, [ebp - 0x184]
push eax
call fcn.00447930
add esp, 4
test al, 2
je 0x446b2e
cmp dword [0x4b552c], 0
je 0x446b44
pop edi
pop esi
mov eax, 0x4ce
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x446b7d
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.004463d0
add esp, 0x1c
mov esi, eax
jmp 0x446c4c
cmp esi, 3
jne 0x446bb9
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.00446c70
add esp, 0x24
mov esi, eax
jmp 0x446c4c
cmp esi, 4
jne 0x446bf2
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.00446c70
add esp, 0x24
mov esi, eax
jmp 0x446c4c
cmp esi, 5
jne 0x446c47
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 0x446c37
neg edi
sbb edi, edi
and edi, 0x200000
or edi, 0x400000
push edi
push ebx
push eax
call fcn.004687e0
add esp, 0xc
mov esi, eax
jmp 0x446c4c
push eax
push str.DownloadFile_____s_doesnt_exist_
call fcn.00469390
add esp, 8
jmp 0x446c4c
mov esi, 0x57
push esi
push str.DownloadFile____End__d_
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret