Function at 0x1001c1a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c5e5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100d2070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x1001c1ea
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3e]
test edx, edx
jne 0x1001c1f6
mov al, 1
jmp 0x1001c46a
mov dword [ebp - 0x7c], 8
call fcn.10001750
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10045f10
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x4c]
mov word [ebp - 0x42], ax
call fcn.10001750
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x42]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.10001730
add esp, 8
movzx eax, al
test eax, eax
je 0x1001c24a
xor al, al
jmp 0x1001c46a
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.10014d20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1001cac0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
call fcn.1001bef0
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.1001aaf0
add esi, eax
push esi
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1001cac0
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
call fcn.1001bef0
push eax
mov eax, dword [ebp - 0x30]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x38]
call fcn.1001e220
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.10023db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.10023db0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
je 0x1001c30b
cmp dword [ebp - 0x48], 1
je 0x1001c312
cmp dword [ebp - 0x48], 3
je 0x1001c426
jmp 0x1001c43e
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3e], 0
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1001cac0
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6c]
call fcn.1001bef0
mov ecx, dword [ebp - 0x70]
sub ecx, eax
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.10023db0
cmp dword [ebp - 0x40], 0
jbe 0x1001c3a4
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push 1
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1001cac0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x78]
call fcn.1001bef0
push eax
call fcn.1005db10
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x1001c3a4
mov dword [ebp - 0x50], 1
jmp 0x1001c3ab
mov dword [ebp - 0x50], 0
mov dl, byte [ebp - 0x50]
mov byte [ebp - 0x31], dl
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
and eax, 1
je 0x1001c3cf
and dword [ebp - 0x3c], 0xfffffffe
lea ecx, [ebp - 0xac]
call fcn.10023db0
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
je 0x1001c3ef
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10011e70
mov al, byte [ebp - 0x32]
jmp 0x1001c46a
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x3e]
test eax, eax
jne 0x1001c412
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10011e70
mov al, byte [ebp - 0x33]
jmp 0x1001c46a
cmp dword [ebp - 0x40], 0
jne 0x1001c424
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.10018990
jmp 0x1001c456
mov byte [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10011e70
mov al, byte [ebp - 0x34]
jmp 0x1001c46a
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10011e70
mov al, byte [ebp - 0x35]
jmp 0x1001c46a
jmp 0x1001c25d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10044f60
mov esp, ebp
pop ebp
ret