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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fcbbc
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c8
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 - 0x4d0], 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], str.temp.txt
mov dword [ebp - 0x484], 0x10117318
cmp dword [ebp + 8], 0
jne 0x10023f7b
push 0xb77
push 0x10117324
push 0x10117350
call fcn.100cb557
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x10023f98
push 0xb78
push 0x10117378
push str.NULL___pszDatabase
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 ecx, dword [ebp - 0x4d0]
call fcn.100237a0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x268], 0x78
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x10024041
mov eax, 0x800432a8
jmp 0x10024362
push 0
lea ecx, [ebp - 0x480]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
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 0x10024079
mov edx, dword [ebp - 0x480]
cmp edx, dword [ebp + 0x10]
je 0x10024083
mov eax, 0x800432aa
jmp 0x10024362
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x26c], 0xffffffff
mov ecx, dword [ebp - 0x48c]
push ecx
mov ecx, dword [ebp - 0x4d0]
call fcn.100235b0
mov dword [ebp - 0x4d4], eax
mov edx, dword [ebp - 0x4d4]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.1000bcc0
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x484]
push ecx
mov edx, dword [ebp - 0x48c]
push edx
lea ecx, [ebp - 0x4b4]
call fcn.1000d500
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x1002413c
mov dword [ebp - 0x4c0], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4c0]
jmp 0x10024362
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp - 0x484]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0xffffffff
jne 0x1002419b
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c4], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4c4]
jmp 0x10024362
mov dword [ebp - 0x47c], 0x224
push 0
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
lea edx, [ebp - 0x268]
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
je 0x100241e6
mov ecx, dword [ebp - 0x47c]
cmp ecx, dword [ebp - 0x480]
je 0x1002420a
mov dword [ebp - 0x4c8], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4c8]
jmp 0x10024362
push 0
lea edx, [ebp - 0x474]
push edx
push 0x200
lea eax, [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x10024247
mov dword [ebp - 0x478], 0x80043298
jmp 0x10024296
push 0
lea edx, [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x474]
push eax
lea ecx, [ebp - 0x470]
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
jne 0x10024286
mov dword [ebp - 0x478], 0x80043298
jmp 0x10024296
cmp dword [ebp - 0x474], 0x200
je 0x1002420a
cmp dword [ebp - 0x26c], 0xffffffff
je 0x100242ac
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x4a8], 0xffffffff
je 0x100242c2
mov ecx, dword [ebp - 0x4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x48c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x484]
push eax
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 0x1002434b
mov dword [ebp - 4], 0xffffffff
jmp 0x1002435c
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