Function at 0x449f0c
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xe0
mov eax, 0x4767a0
call fcn.0046e476
mov edi, ecx
mov dword [ebp - 0xe0], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x58]
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x48], ebx
push eax
mov dword [ebp - 0x44], ebx
call fcn.00436180
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
or dword [eax + 0xd8], 0xffffffff
cmp dword [ebp - 0x48], ebx
jne 0x449fb8
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x44a598
mov ecx, dword [esi]
push 5
pop ebx
push ebx
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x44a598
push 0x48bbc7
push 0x366
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tpfuifilesys.cpp
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.0043df1b
mov byte [ebp - 4], 2
push str._TPFUIFileSys__download_failed__invalid_url.
push 0
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0043e231
jmp 0x44a598
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004495be
test al, al
je 0x44a58c
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push 0x47e754
push 0xffffffffffffffff
push dword [ebp - 0x30]
push eax
call fcn.00440f4e
add esp, 0x14
push 5
pop ebx
cmp eax, 0xffffffff
je 0x44a066
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
add esi, 0x78
inc eax
push eax
push 0
lea eax, [ebp - 0xd4]
push eax
call fcn.004500aa
mov byte [ebp - 4], 4
push esi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0043f9cf
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
push eax
call fcn.004460a1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00420c80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.00420c80
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.common.dll_bool___cdecl_ierd_tgp::common::u8to16_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 0x10
test eax, eax
jne 0x44a16f
and dword [ebp - 0x60], eax
lea ecx, [ebp - 0x70]
and dword [ebp - 0x5c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d190
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
push eax
call sub.common.dll_unsigned_long_long_unsigned___int64____cdecl_ierd_tgp::filesystem::file_size_class_ierd_tgp::filesystem::path_const__
or eax, edx
mov byte [ebp - 0xd5], 1
pop ecx
je 0x44a0de
mov byte [ebp - 0xd5], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.0040bbd0
cmp byte [ebp - 0xd5], 0
je 0x44a22d
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x44a15d
mov ecx, dword [esi]
push 3
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x44a15d
push 0x48bbc7
push 0x37c
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tpfuifilesys.cpp
push 3
push esi
lea ecx, [ebp - 0xbc]
call fcn.0043df1b
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
push ecx
push str._TPFUIFileSys_file__s__empty__delete_it.
push 0
push eax
call fcn.0043f4bb
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc]
call fcn.0043e231
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add edi, 0x18
cmp dword [edi], 0
jne 0x44a2e4
push edi
push 0x4a7fd0
call fcn.00442d28
pop ecx
pop ecx
test al, al
je 0x44a1cd
mov eax, dword [edi]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x44a1cd
mov eax, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xe8], esp
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 0xe0]
add eax, 8
and dword [ecx], 0
and dword [ecx + 4], 0
push eax
call fcn.00441146
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xe4]
call esi
cmp dword [edi], 0
jne 0x44a2e4
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x44a580
mov ecx, dword [esi]
push ebx
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x44a580
push 0x48bbc7
push 0x396
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tpfuifilesys.cpp
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.0043df1b
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae ecx, dword [ebp - 0x58]
push ecx
push str._TPFUIFileSys__download__s__failed__cant_query_download_mgr.
jmp 0x44a566
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xfffffffffffffff8
pop ecx
mov dword [ebp - 0xdc], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], ebx
lea eax, [ebp - 0xec]
push eax
call fcn.00441d28
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
lea ecx, [ecx + 0x48]
call fcn.0043a750
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ecx + 0x30]
call fcn.0043a750
mov eax, dword [ebp - 0xec]
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ebx
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xdc]
push ecx
push ecx
mov dword [ecx + 0x60], eax
lea eax, [ebp - 0xec]
mov dword [ecx + 0x64], ebx
mov ecx, esp
mov dword [ebp - 0xe4], esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
call fcn.004401b6
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
lea ecx, [edi + 4]
call fcn.0044f633
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x44a580
call fcn.0043f26a
jmp 0x44a580
mov eax, dword [ebp - 0xe0]
add eax, 0x28
mov dword [ebp - 0xe4], eax
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0xe0], esi
cmp esi, eax
je 0x44a344
lea ecx, [esi + 0x14]
cmp dword [ecx + 0x14], 8
jb 0x44a30c
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
je 0x44a4ac
lea ecx, [ebp - 0xe0]
call fcn.004462cf
mov eax, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xe0]
cmp esi, dword [eax]
jne 0x44a301
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44a3d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x44a3d0
mov ecx, dword [esi]
push ebx
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x44a3d0
push 0x48bbc7
push 0x3ad
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tpfuifilesys.cpp
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.0043df1b
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
push ecx
push str._TPFUIFileSys__File_exists__delete:_s.
push 0
push eax
call fcn.0043f4bb
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc]
call fcn.0043e231
mov ecx, dword [edi]
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae edx, dword [ebp - 0x40]
mov eax, dword [ecx]
cmp dword [ebp - 0x44], 0x10
mov esi, dword [eax + 0x4c]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
xor edi, edi
push edi
push edi
push edi
push edi
push edx
push eax
call esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
and dword [ecx + 0xd4], edi
mov dword [ecx + 0xd0], eax
cmp dword [ebp - 0xdc], 0xffffffff
je 0x44a51c
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 0xd8], ebx
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00440fac
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 0x14]
call fcn.0040bba0
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x44a580
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x44a580
push 0x48bbc7
push 0x3b8
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tpfuifilesys.cpp
push 1
push esi
lea ecx, [ebp - 0xbc]
call fcn.0043df1b
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push dword [ebp - 0xdc]
cmovae ecx, dword [ebp - 0x58]
push ecx
push str._TPFUIFileSys__start_download__s__success__task_id_d
push ebx
jmp 0x44a511
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xdc], eax
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x44a580
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x44a580
push 0x48bbc7
push 0x3a3
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tpfuifilesys.cpp
push 1
push esi
lea ecx, [ebp - 0xbc]
call fcn.0043df1b
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push dword [ebp - 0xdc]
cmovae ecx, dword [ebp - 0x58]
push ecx
push str._TPFUIFileSys__start_download__s__success__task_id__d__already_exist.
push 0
push eax
call fcn.0043f4bb
add esp, 0x14
jmp 0x44a571
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x44a580
mov ecx, dword [esi]
push ebx
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x44a580
push 0x48bbc7
push 0x3bd
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tpfuifilesys.cpp
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.0043df1b
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae ecx, dword [ebp - 0x58]
push ecx
push str._TPFUIFileSys__start_download__s__failed__error_task_id
push 0
push eax
call fcn.0043f4bb
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc]
call fcn.0043e231
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040bbd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00420c80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00420c80
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44a5b4
call fcn.0043f26a
call fcn.0046e420
ret 8