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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fcb89
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], 0x10117244
mov dword [ebp - 0x484], 0x10117250
cmp dword [ebp + 8], 0
jne 0x100239bb
push 0xab0
push 0x1011725c
push 0x10117288
call fcn.100cb557
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x100239d8
push 0xab1
push 0x101172b0
push str.NULL___pszProfileData
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 0x10023a81
mov eax, 0x800432a8
jmp 0x10023ec0
mov ecx, dword [0x101158d4]
push ecx
call fcn.100cb090
add esp, 4
mov dword [ebp - 0x47c], eax
push 0
lea edx, [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [0x101158d4]
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 0x10023ad7
mov eax, dword [ebp - 0x47c]
cmp eax, dword [ebp - 0x480]
je 0x10023ae1
mov eax, 0x800432a9
jmp 0x10023ec0
mov ecx, dword [0x101158ec]
push ecx
call fcn.100cb090
add esp, 4
mov dword [ebp - 0x47c], eax
push 0
lea edx, [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [0x101158ec]
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 0x10023b37
mov eax, dword [ebp - 0x47c]
cmp eax, dword [ebp - 0x480]
je 0x10023b41
mov eax, 0x800432a9
jmp 0x10023ec0
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 0x10023b79
mov edx, dword [ebp - 0x480]
cmp edx, dword [ebp + 0x10]
je 0x10023b83
mov eax, 0x800432aa
jmp 0x10023ec0
mov eax, dword [0x10115904]
push eax
call fcn.100cb090
add esp, 4
mov dword [ebp - 0x47c], eax
push 0
lea ecx, [ebp - 0x480]
push ecx
mov edx, dword [ebp - 0x47c]
push edx
mov eax, dword [0x10115904]
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 0x10023bd7
mov edx, dword [ebp - 0x47c]
cmp edx, dword [ebp - 0x480]
je 0x10023be1
mov eax, 0x800432a9
jmp 0x10023ec0
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 0x10023c9a
mov dword [ebp - 0x4c0], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4c0]
jmp 0x10023ec0
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 0x10023cf9
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 0x10023ec0
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 0x10023d44
mov ecx, dword [ebp - 0x47c]
cmp ecx, dword [ebp - 0x480]
je 0x10023d68
mov dword [ebp - 0x4c8], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.1000bdb0
mov eax, dword [ebp - 0x4c8]
jmp 0x10023ec0
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 0x10023da5
mov dword [ebp - 0x478], 0x80043298
jmp 0x10023df4
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 0x10023de4
mov dword [ebp - 0x478], 0x80043298
jmp 0x10023df4
cmp dword [ebp - 0x474], 0x200
je 0x10023d68
cmp dword [ebp - 0x26c], 0xffffffff
je 0x10023e0a
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x4a8], 0xffffffff
je 0x10023e20
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 0x10023ea9
mov dword [ebp - 4], 0xffffffff
jmp 0x10023eba
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