Function at 0x103230b
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x628], ecx
xor ecx, ecx
push edi
mov dword [ebp - 0x638], ecx
mov dword [ebp - 0x624], ecx
mov dword [ebp - 0x634], ecx
mov dword [ebp - 0x630], ecx
mov word [ebp - 0x20c], cx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x61c]
push ecx
mov ecx, dword [ebp - 0x628]
push eax
call fcn.01031d97
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov ebx, 0xffff
mov edi, 0x80070000
jne 0x10323ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1032396
and eax, ebx
or eax, edi
test eax, eax
mov dword [ebp - 0x620], eax
jge 0x10323ce
mov eax, dword [section..data]
cmp eax, section..data
je 0x10325e8
test byte [eax + 0x1c], 2
je 0x10325e8
push dword [ebp - 0x620]
push 0x1008b08
push 0x1008a14
push 0xb
jmp 0x103243e
call fcn.01031d86
test eax, eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x1008af4
push eax
lea eax, [ebp - 0x20c]
je 0x10323f7
push 0x1008ad4
jmp 0x10323fc
push 0x1008abc
push esi
push eax
call fcn.0101846b
xor esi, esi
add esp, 0x18
cmp eax, esi
mov dword [ebp - 0x620], eax
jge 0x103244e
mov eax, dword [section..data]
cmp eax, section..data
je 0x10325e8
test byte [eax + 0x1c], 2
je 0x10325e8
push dword [ebp - 0x620]
push 0x1002b20
push 0x1008a14
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
jmp 0x10325e8
push esi
push 0x8000000
push 3
push esi
push esi
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x62c], eax
jne 0x10324c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1032483
and eax, ebx
or eax, edi
mov dword [ebp - 0x620], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x10325e8
test byte [eax + 0x1c], 2
je 0x10325e8
push dword [ebp - 0x620]
push 0x1008a14
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e4a
jmp 0x10325e8
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x103250f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x10324dd
and eax, ebx
or eax, edi
mov dword [ebp - 0x620], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x10325dc
test byte [eax + 0x1c], 2
je 0x10325dc
push dword [ebp - 0x620]
push 0x1008a14
push 0xe
jmp 0x103259a
lea eax, [ebp - 0x630]
push eax
push dword [ebp - 0x62c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x630], esi
mov ecx, eax
mov dword [ebp - 0x634], ecx
jne 0x10325a7
cmp ecx, 0xa28
ja 0x10325a7
push ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push esi
lea ecx, [ebp - 0x638]
push ecx
push dword [ebp - 0x634]
mov dword [ebp - 0x624], eax
push eax
push dword [ebp - 0x62c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10325dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1032575
and eax, ebx
or eax, edi
mov dword [ebp - 0x620], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x10325dc
test byte [eax + 0x1c], 2
je 0x10325dc
push dword [ebp - 0x620]
push 0x1008a14
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e4a
jmp 0x10325dc
mov eax, dword [section..data]
cmp eax, section..data
je 0x10325d2
test byte [eax + 0x1c], 2
je 0x10325d2
push ecx
push dword [ebp - 0x630]
push 0x1008a14
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101ff1a
mov dword [ebp - 0x620], 0x80004005
push dword [ebp - 0x62c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x20c], 0
je 0x10325ff
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x628]
xor eax, eax
cmp dword [ebp - 0x620], eax
jl 0x103263d
mov edi, dword [ebp - 0x634]
push edi
push dword [ebp - 0x624]
lea eax, [esi + 0xe74]
push eax
mov dword [esi + 0xe70], 1
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esi + 0x22c4], edi
jmp 0x103265f
push 0x1450
push eax
mov dword [esi + 0xe70], eax
lea eax, [esi + 0xe74]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
and dword [esi + 0x22c4], 0
cmp dword [ebp - 0x624], 0
pop edi
pop esi
pop ebx
je 0x1032677
push dword [ebp - 0x624]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x63c]
xor ecx, ebp
call fcn.010356d1
leave
ret 4