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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10411968]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x80]
call fcn.10194580
mov ecx, dword [ebp - 0x80]
add ecx, 0x18
call fcn.10178bc0
push 0
lea ecx, [ebp + 8]
call fcn.10195f90
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x20]
push eax
push 0x10362a18
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.10191ee0
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1029bda0
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x80]
call fcn.10194690
lea ecx, [ebp - 0x34]
call fcn.10194610
lea ecx, [ebp - 0x4c]
call fcn.10194610
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x24], 0
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x89]
call fcn.1029bd60
mov ecx, eax
call fcn.1017c760
push eax
lea ecx, [ebp - 0x1c]
call fcn.1018afc0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.1029b980
add esp, 8
mov ecx, eax
call fcn.10195f90
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x80]
call fcn.10195f90
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.10194610
lea ecx, [ebp - 0x1c]
call fcn.10179000
lea ecx, [ebp - 0x7c]
call fcn.10179000
cmp dword [ebp - 0x84], 0
je 0x1029b49d
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.10184190
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.10171850
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.10171850
push eax
call fcn.1029bce0
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.10171850
cmp dword [eax], 0x43464700
jne 0x1029b47f
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.10184190
lea ecx, [ebp + 8]
call fcn.10194610
lea ecx, [ebp + 0x20]
call fcn.10194610
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102d9498
mov esp, ebp
pop ebp
ret 0x30