Function at 0x1000b910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x17f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov byte [ebp - 7], al
mov ecx, dword [ebp + 8]
sub ecx, 0x12
mov dword [ebp - 0x1f8], ecx
mov edx, dword [0x1803ac]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0xc], ecx
mov dx, word [edx + 0x10]
mov word [ebp - 8], dx
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + ecx - 0x18]
mov byte [0x1802d4], dl
mov eax, 1
shl eax, 0
mov cl, byte [ebp + eax - 0x18]
mov byte [0x1802d5], cl
lea edx, [ebp - 0x16]
mov eax, dword [edx]
mov dword [0x1802d6], eax
mov ecx, dword [edx + 4]
mov dword [0x1802da], ecx
mov eax, dword [edx + 8]
mov dword [0x1802de], eax
mov ecx, dword [edx + 0xc]
mov dword [0x1802e2], ecx
mov edx, dword [ebp - 0x1f8]
push edx
mov eax, dword [0x1803ac]
add eax, 0x12
push eax
mov ecx, dword [0x1803ac]
push ecx
call fcn.100236d0
add esp, 0xc
mov dword [ebp - 0x200], 0
jmp 0x1000b9eb
mov edx, dword [ebp - 0x200]
add edx, 1
mov dword [ebp - 0x200], edx
mov eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 0x1f8]
jge 0x1000ba40
mov ecx, dword [0x1803ac]
add ecx, dword [ebp - 0x200]
mov dl, byte [ecx]
mov byte [ebp - 0x1f9], dl
movzx eax, byte [ebp - 0x1f9]
mov ecx, dword [ebp - 0x200]
and ecx, 0x8000000f
jns 0x1000ba27
dec ecx
or ecx, 0xfffffff0
inc ecx
movzx edx, byte [ecx + 0x1802d6]
xor eax, edx
mov ecx, dword [0x1803ac]
add ecx, dword [ebp - 0x200]
mov byte [ecx], al
jmp 0x1000b9dc
mov dword [ebp - 0x210], 0
mov byte [ebp - 0x98], 0
push 0x7f
push 0
lea edx, [ebp - 0x97]
push edx
call fcn.10012360
add esp, 0xc
mov dword [ebp - 0x1e0], 0
mov byte [ebp - 0x1f1], 0
mov dword [ebp - 0x20c], 0
push 0x44
push 0
lea eax, [ebp - 0x1dc]
push eax
call fcn.10012360
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1dc], 0x44
mov dword [ebp - 0x1b0], 1
xor edx, edx
mov word [ebp - 0x1ac], dx
mov eax, dword [ebp - 0x1b0]
or eax, 0x100
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0x198], 0
push 0xff
push 0
lea ecx, [ebp - 0x197]
push ecx
call fcn.10012360
add esp, 0xc
movzx edx, byte [0x1802d5]
mov dword [ebp - 0x208], edx
cmp dword [ebp - 0x208], 5
ja 0x1000bc31
mov eax, dword [ebp - 0x208]
jmp dword [eax*4 + 0x15b14c]
movzx edx, byte [ebp - 0x1f1]
test edx, edx
je 0x1000bd02
push 0x1e
call fcn.1000bf40
add esp, 4
push 0x17bda8
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
call fcn.10016466
add esp, 0xc
mov edx, dword [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x1f8]
push eax
push 1
mov ecx, dword [0x1803ac]
push ecx
call fcn.10017732
add esp, 0x10
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.10016523
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x98]
push ecx
push 0x17bdac
call fcn.1000f0c0
add esp, 4
push eax
lea edx, [ebp - 0x198]
push edx
call fcn.10009530
add esp, 0x10
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea edx, [ebp - 0x198]
push edx
push 0
call dword [0x17505c]
mov dword [ebp - 0x214], eax
push 0xea60
mov eax, dword [ebp - 0x1f0]
push eax
call dword [0x175060]
mov ecx, dword [0x1803ac]
push ecx
push 0
call dword [0x175068]
push eax
call dword [0x175064]
lea edx, [ebp - 0x98]
push edx
call dword [0x175024]
lea eax, [ebp - 0x98]
push eax
push 0x181ce6
call fcn.10004da0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f989
mov esp, ebp
pop ebp
ret