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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019a0f9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101f6410]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x101f6410]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
call fcn.10001a4d
test al, al
jne 0x10001ca5
mov eax, 0x101c747c
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.10145d71
mov esp, ebp
pop ebp
ret
call fcn.100023c9
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
lea ebx, [esp + 0x74]
mov dword [esp + 0xa0], esi
call fcn.10001ac1
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x88], esi
push 8
pop edi
je 0x10001d8f
push str.Thunder_NetworkThunderProfiles
mov eax, ebx
push eax
call fcn.10002283
mov eax, ebx
lea esi, [esp + 0x58]
call fcn.10002034
push str.TaskDb.dat
mov eax, esi
push eax
mov byte [esp + 0xa8], 2
call fcn.10002283
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x10001d17
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10001d7a
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x10001d30
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x14]
call fcn.10001f0e
mov byte [esp + 0xa0], 3
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push eax
mov eax, ecx
push eax
call fcn.1000239c
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.100011dd
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x10001d73
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea esi, [esp + 0x60]
mov byte [esp + 0xa8], 1
call fcn.10002339
lea ebx, [esp + 0x20]
call fcn.10001b7a
mov byte [esp + 0xa0], 4
cmp dword [esp + 0x34], 0
je 0x10001e31
push str.QvodPlayerTaskCfg.db
mov eax, ebx
push eax
call fcn.10002283
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x10001dc6
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10001e31
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x10001ddf
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.10001f0e
mov byte [esp + 0xa0], 5
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push eax
mov eax, ecx
push eax
call fcn.1000239c
mov byte [esp + 0xa0], 4
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.100011dd
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x10001e2a
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x1c], 0
jne 0x10001e67
mov ebx, 0x101c752c
push 0
push 1
lea esi, [esp + 0x28]
call fcn.10002339
push 0
push 1
lea esi, [esp + 0x7c]
call fcn.10002339
lea eax, [esp + 0x14]
call fcn.100023e1
mov eax, ebx
jmp 0x10001c81
lea eax, [esp + 0x74]
lea esi, [esp + 0x3c]
call fcn.10002034
push str.TaskDb.dat.gz
mov eax, esi
push eax
mov byte [esp + 0xa8], 6
call fcn.10002283
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x10001e97
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
call fcn.10001f0e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.100031e7
pop ecx
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.100011dd
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x10001eca
lea eax, [esp + 0x40]
push eax
call fcn.10001413
cmp dword [esp + 0x58], edi
mov eax, dword [esp + 0x44]
pop ecx
jae 0x10001edf
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea esi, [esp + 0x44]
call fcn.10002339
mov ebx, 0x101c7564
jmp 0x10001e3d