Function at 0x1001bf60
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc460
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c0
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c8], ecx
mov dword [ebp - 0x478], 0x43297
mov dword [ebp - 0x26c], 0xffffffff
mov dword [ebp - 0x4a8], 0xffffffff
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x48c], 0x101141d8
mov dword [ebp - 0x484], 0x101141e4
cmp dword [ebp + 8], 0
jne 0x1001bffb
push 0xb2d
push 0x101141f0
push 0x10114228
call fcn.100cb557
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x1001c018
push 0xb2e
push 0x10114250
push 0x10114288
call fcn.100cb557
add esp, 0xc
mov byte [ebp - 0x18], 0
push 0x224
push 0
lea edx, [ebp - 0x268]
push edx
call fcn.100cac20
add esp, 0xc
mov dword [ebp - 4], 0
push 0x14
lea eax, [ebp - 0x4a4]
push eax
call fcn.1000d2e0
add esp, 8
push 0x29
push 0x14
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x4a4]
push edx
call fcn.1008d890
add esp, 0x10
lea eax, [ebp - 0x268]
push eax
push 0x29
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x4c8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c8]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x268], 0x78
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x1001c0c9
mov eax, 0x800432a8
jmp 0x1001c3df
push 0
lea edx, [ebp - 0x480]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
je 0x1001c101
mov eax, dword [ebp - 0x480]
cmp eax, dword [ebp + 0x10]
je 0x1001c10b
mov eax, 0x800432aa
jmp 0x1001c3df
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x26c], 0xffffffff
mov edx, dword [ebp - 0x48c]
push edx
mov ecx, dword [ebp - 0x4c8]
call sym.PfMgrApi.dll_public:_unsigned_long_int___thiscall_CProfileDbController::CalculateChecksumFromFile_char_const__
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.1000bcc0
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x484]
push edx
mov eax, dword [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.1000d500
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x1001c1c4
mov dword [ebp - 0x4b8], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4b8]
jmp 0x1001c3df
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0xffffffff
jne 0x1001c223
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4bc], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4bc]
jmp 0x1001c3df
mov dword [ebp - 0x47c], 0x224
push 0
lea ecx, [ebp - 0x480]
push ecx
mov edx, dword [ebp - 0x47c]
push edx
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
je 0x1001c26e
mov edx, dword [ebp - 0x47c]
cmp edx, dword [ebp - 0x480]
je 0x1001c292
mov dword [ebp - 0x4c0], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4c0]
jmp 0x1001c3df
push 0
lea eax, [ebp - 0x474]
push eax
push 0x200
lea ecx, [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x4a8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x1001c2cf
mov dword [ebp - 0x478], 0x80043298
jmp 0x1001c31e
push 0
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x474]
push ecx
lea edx, [ebp - 0x470]
push edx
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x1001c30e
mov dword [ebp - 0x478], 0x80043298
jmp 0x1001c31e
cmp dword [ebp - 0x474], 0x200
je 0x1001c292
cmp dword [ebp - 0x26c], 0xffffffff
je 0x1001c334
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x4a8], 0xffffffff
je 0x1001c34a
mov edx, dword [ebp - 0x4a8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x484]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x478], 0x43297
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
jmp 0x1001c3c8
mov dword [ebp - 4], 0xffffffff
jmp 0x1001c3d9
mov eax, dword [ebp - 0x478]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 0xc