Function at 0x1031a070
Capabilities:
Create directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x104d5404]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x80]
call fcn.10194f20
mov ecx, dword [ebp - 0x80]
add ecx, 0x18
call fcn.10179ea0
push 0
lea ecx, [ebp + 8]
call fcn.10195fb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x20]
push eax
push 0x103e5780
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.10192e10
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1031ab80
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x80]
call fcn.10195060
lea ecx, [ebp - 0x34]
call fcn.10195000
lea ecx, [ebp - 0x4c]
call fcn.10195000
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x24], 0
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x89]
call fcn.1031ab40
mov ecx, eax
call fcn.1017aed0
push eax
lea ecx, [ebp - 0x1c]
call fcn.1018e0a0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.1031a780
add esp, 8
mov ecx, eax
call fcn.10195fb0
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x80]
call fcn.10195fb0
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x64]
call fcn.10195000
lea ecx, [ebp - 0x1c]
call fcn.1017a170
lea ecx, [ebp - 0x7c]
call fcn.1017a170
cmp dword [ebp - 0x84], 0
je 0x1031a29d
push 2
push 0
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
add eax, 0x18
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.10183c30
push 0
push 0
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov eax, dword [ebp - 0x80]
add eax, 0x18
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
push edx
push 1
push 0
mov ecx, dword [ebp - 0x9c]
call fcn.10182720
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov eax, dword [ebp - 0x80]
add eax, 0x18
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x88]
push ecx
push 0
mov ecx, dword [ebp - 0xa0]
call fcn.10182720
push eax
call fcn.1031aac0
add esp, 8
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [ebp - 0x80]
add eax, 0x18
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x88]
sub ecx, 4
push ecx
mov ecx, dword [ebp - 0xa4]
call fcn.10182720
cmp dword [eax], 0x43464700
jne 0x1031a27f
mov edx, dword [ebp - 0x88]
sub edx, 4
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 0x80]
add ecx, 0x18
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.10183c30
lea ecx, [ebp + 8]
call fcn.10195000
lea ecx, [ebp + 0x20]
call fcn.10195000
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10353876
mov esp, ebp
pop ebp
ret 0x30