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

Disassembly:
push 0xf4
mov eax, 0x474418
call fcn.0046e476
mov eax, ecx
mov dword [ebp - 0xf8], eax
lea edi, [eax + 0x20]
push str.Flag
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0040f180
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e553
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43e509
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x43e5ab
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x43e5ab
push 0x48bbc7
push 0x90
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_srccrashchecker.cpp
push 1
push esi
lea ecx, [ebp - 0xa4]
call fcn.0043df1b
mov byte [ebp - 4], 1
push str.Before_exit__delete_run_flag_file.
jmp 0x43e593
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x43e5ab
mov ecx, dword [esi]
push 5
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x43e5ab
push 0x48bbc7
push 0x92
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_srccrashchecker.cpp
push 5
push esi
lea ecx, [ebp - 0xa4]
call fcn.0043df1b
mov byte [ebp - 4], 2
push str.Before_exit__delete_run_flag_file_fail.
jmp 0x43e593
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x43e5ab
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x43e5ab
push 0x48bbc7
push 0x95
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_srccrashchecker.cpp
push 1
push esi
lea ecx, [ebp - 0xa4]
call fcn.0043df1b
mov byte [ebp - 4], 3
push str.Before_exit__run_flag_file_not_find.
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa4]
call fcn.0043e231
push str.login_pic_
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0040f180
mov byte [ebp - 4], 4
push str.fileinfo.hash
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00421330
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0040bbd0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ebx
cmovae eax, dword [ebp - 0x58]
push 0x82
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x43e60c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43e66e
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x43e66e
mov ecx, dword [esi]
push 5
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x43e66e
push 0x48bbc7
push 0xa1
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_srccrashchecker.cpp
push 5
push esi
lea ecx, [ebp - 0xa4]
call fcn.0043df1b
mov esi, eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Before_exit__prepare_create_hash_file_failed._err__d
push ebx
push esi
call fcn.0043f4bb
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.0043e231
push str.login_pic_
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.0040f180
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040d190
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0043dea7
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.0040bbd0
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0043f391
test al, al
jne 0x43e812
mov edi, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x28]
push eax
call fcn.0043f636
mov byte [ebp - 4], 0x10
mov ecx, eax
call fcn.0043f487
mov bl, al
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.0040bbd0
test bl, bl
jne 0x43e7eb
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0xd4]
push eax
call fcn.0043f636
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
jb 0x43e739
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0043f143
mov bl, al
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd4]
call fcn.0040bbd0
test bl, bl
jne 0x43e7eb
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x43e7eb
mov ecx, dword [esi]
push 5
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
test al, al
je 0x43e7eb
push 0x48bbc7
push 0xad
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_srccrashchecker.cpp
push 5
push esi
lea ecx, [ebp - 0xa4]
call fcn.0043df1b
mov esi, eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
push eax
call fcn.0043f636
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x14], 8
jb 0x43e7b9
mov eax, dword [eax]
push eax
push str.Before_exit__write_hash_failed.__ws
xor ebx, ebx
push ebx
push esi
call fcn.0043f4bb
add esp, 0x10
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xec]
call fcn.0040bbd0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa4]
call fcn.0043e231
jmp 0x43e7ed
xor ebx, ebx
lea ecx, [ebp - 0xf4]
call fcn.0043e2e4
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0043f391
test al, al
je 0x43e6eb
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x43e825
call fcn.0043f26a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc]
call fcn.0040bbd0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
call fcn.0040bbd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040bbd0
call fcn.0046e420
ret