Function at 0x10006416
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
lea eax, [ebp - 0x124]
push eax
call fcn.10015a95
or eax, eax
jne 0x10006a1a
mov bl, byte [0x100525df]
mov byte [0x100525df], 0
lea eax, [ebp - 0x124]
push eax
call fcn.1002fd52
mov byte [0x100525df], bl
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10050fba
jmp 0x1000646c
push 0x10006463
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x124]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10006a1a
mov dword [ebp - 4], eax
jmp 0x100064ac
lea ebx, [ebp - 0x124]
jmp 0x100064bf
push 0x100064b4
push ebx
call fcn.1002f616
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x100064e5
push 0x100064db
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x100064f7
push dword [0x1006275a]
push 0x100064f4
push ebx
call fcn.10050e22
add esp, 0xc
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x10006526
push 0x1000651c
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x10006538
push dword [0x1006275e]
push 0x10006535
push ebx
call fcn.10050e22
add esp, 0xc
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x10006567
push 0x1000655d
push ebx
call fcn.1002f616
add ebx, eax
push 0xb
push ebx
push 0x795
push dword [0x100523fa]
call fcn.100153db
or eax, eax
jne 0x10006591
mov byte [ebx], 0x30
inc ebx
jmp 0x10006593
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x100065ac
push 0x100065a2
push ebx
call fcn.1002f616
add ebx, eax
push 0xb
push ebx
push 0x796
push dword [0x100523fa]
call fcn.100153db
or eax, eax
jne 0x100065d6
mov byte [ebx], 0x30
inc ebx
jmp 0x100065d8
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x100065f1
push 0x100065e7
push ebx
call fcn.1002f616
add ebx, eax
push 0xb
push ebx
push 0x797
push dword [0x100523fa]
call fcn.100153db
or eax, eax
jne 0x1000661b
mov byte [ebx], 0x30
inc ebx
jmp 0x1000661d
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x10006636
push 0x1000662c
push ebx
call fcn.1002f616
add ebx, eax
push 0xb
push ebx
push 0x798
push dword [0x100523fa]
call fcn.100153db
or eax, eax
jne 0x10006660
mov byte [ebx], 0x30
inc ebx
jmp 0x10006662
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x1000667b
push 0x10006671
push ebx
call fcn.1002f616
add ebx, eax
push 0xb
push ebx
push 0x799
push dword [0x100523fa]
call fcn.100153db
or eax, eax
jne 0x100066a5
mov byte [ebx], 0x30
inc ebx
jmp 0x100066a7
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x100066ce
push 0x100066c3
push ebx
call fcn.1002f616
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
lea eax, [ebp - 0x124]
sub ebx, eax
push 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
call fcn.100510ec
push 0x79a
push dword [0x100523fa]
call fcn.1001517d
or eax, eax
je 0x100067e7
mov dword [ebp - 0x10], eax
push 0
push 0
push 0x1004
push dword [ebp - 0x10]
call fcn.10050f6c
or eax, eax
je 0x100067e7
mov dword [ebp - 0xc], eax
xor ebx, ebx
jmp 0x100067de
mov byte [ebp - 0x124], 0
mov byte [ebp - 0xc0], 0
push 0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.1003056b
cmp byte [ebp - 0x124], 0
je 0x100067dd
cmp byte [ebp - 0xc0], 0
je 0x100067dd
jmp 0x10006781
push 0x1000677f
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
push 0x100064a9
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
lea eax, [ebp - 0x124]
push eax
call fcn.10051116
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
call fcn.100510ec
inc ebx
cmp ebx, dword [ebp - 0xc]
jb 0x10006744
lea ebx, [ebp - 0x124]
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x10006807
push 0x100067fc
push ebx
call fcn.1002f616
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
lea eax, [ebp - 0x124]
sub ebx, eax
push 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
call fcn.100510ec
push 0x79b
push dword [0x100523fa]
call fcn.1001517d
or eax, eax
je 0x10006920
mov dword [ebp - 0x10], eax
push 0
push 0
push 0x1004
push dword [ebp - 0x10]
call fcn.10050f6c
or eax, eax
je 0x10006920
mov dword [ebp - 0xc], eax
xor ebx, ebx
jmp 0x10006917
mov byte [ebp - 0x124], 0
mov byte [ebp - 0xc0], 0
push 0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.1003056b
cmp byte [ebp - 0x124], 0
je 0x10006916
cmp byte [ebp - 0xc0], 0
je 0x10006916
jmp 0x100068ba
push 0x100068b8
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
push 0x100064a9
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
lea eax, [ebp - 0x124]
push eax
call fcn.10051116
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
call fcn.100510ec
inc ebx
cmp ebx, dword [ebp - 0xc]
jb 0x1000687d
lea ebx, [ebp - 0x124]
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
jmp 0x10006940
push 0x10006935
push ebx
call fcn.1002f616
add ebx, eax
push 0x100064a9
push ebx
call fcn.1002f616
add ebx, eax
lea eax, [ebp - 0x124]
sub ebx, eax
push 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
call fcn.100510ec
push 0x79c
push dword [0x100523fa]
call fcn.1001517d
or eax, eax
je 0x10006a12
mov dword [ebp - 0x10], eax
push 0
push 0
push 0x18b
push dword [ebp - 0x10]
call fcn.10050f6c
or eax, eax
je 0x10006a12
mov dword [ebp - 0xc], eax
xor ebx, ebx
jmp 0x10006a0d
mov byte [ebp - 0x124], 0
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x189
push dword [ebp - 0x10]
call fcn.10050f6c
cmp byte [ebp - 0x124], 0
je 0x10006a0c
push 0x100064a9
lea eax, [ebp - 0x124]
push eax
call fcn.100510f8
lea eax, [ebp - 0x124]
push eax
call fcn.10051116
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
call fcn.100510ec
inc ebx
cmp ebx, dword [ebp - 0xc]
jb 0x100069af
push dword [ebp - 4]
call fcn.10050fb4
pop ebx
leave
ret