Function at 0x44a9a0
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x254], ecx
push str.DownloadApp_begin
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x44a9fc
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.005bc3bc
add esp, 8
test eax, eax
jne 0x44a9f5
mov eax, dword [ebp - 0x238]
mov dword [ebp - 4], eax
jmp 0x44a9fc
mov dword [ebp - 4], 0
mov byte [ebp - 0x218], 0
push 0x207
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.005b4de0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.005b7740
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x644d58
lea edx, [ebp - 0x218]
push edx
call fcn.005b7750
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44aa6d
lea ecx, [ebp - 0x218]
push ecx
call fcn.0044a8c0
add esp, 4
cmp dword [ebp - 4], 0
je 0x44aa7f
mov dword [ebp - 0x258], 0x644d5c
jmp 0x44aa89
mov dword [ebp - 0x258], 0x644d60
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x254]
add ecx, 0x10
push ecx
call fcn.005b799e
add esp, 0xc
test eax, eax
je 0x44aab4
mov eax, 2
jmp 0x44acc3
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call fcn.005e1ae0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push 0x2712
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call fcn.005e4c60
add esp, 0xc
push 0
push 0x2c
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call fcn.005e4c60
add esp, 0xc
push 0x44a710
push 0x4e2b
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call fcn.005e4c60
add esp, 0xc
mov edx, dword [ebp - 0x254]
push edx
push 0x2711
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call fcn.005e4c60
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x15
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call fcn.005e4c60
add esp, 0xc
push 0
push 0x2b
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call fcn.005e4c60
add esp, 0xc
push 0x44a790
push 0x4e58
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call fcn.005e4c60
add esp, 0xc
mov eax, dword [ebp - 0x254]
push eax
push 0x2749
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call fcn.005e4c60
add esp, 0xc
push 0
push 0x40
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call fcn.005e4c60
add esp, 0xc
push 0
push 0x51
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call fcn.005e4c60
add esp, 0xc
push 0x1e
push 0xd
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call fcn.005e4c60
add esp, 0xc
mov eax, dword [ebp - 0x254]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x254]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x254]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
call fcn.005bc264
mov edx, dword [ebp - 0x254]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x254]
mov byte [eax + 0x28], 0
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call fcn.005e1a80
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.005b7a68
add esp, 4
mov edx, dword [ebp - 0x254]
mov dword [edx + 0x10], 0
cmp dword [ebp - 0xc], 0
je 0x44ac64
mov eax, 3
jmp 0x44acc3
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x200002
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call fcn.005e1ac0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44acab
cmp dword [ebp - 8], 0xc8
je 0x44acab
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 3
jmp 0x44acc3
cmp dword [ebp - 0xc], 0x2a
jne 0x44acba
mov eax, 1
jmp 0x44acc3
xor eax, eax
jmp 0x44acc3
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 0xc