Function at 0x100231d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10115770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1001a430
lea eax, [ebp - 0x28]
push eax
call fcn.10029cd0
test eax, eax
je 0x100232a6
cmp dword [ebp - 0x14], 0x10
jb 0x10023259
push dword [ebp - 0x28]
call fcn.1006269c
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
jb 0x1002327c
push dword [ebp + 8]
call fcn.1006269c
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1002329f
push dword [ebp + 0x20]
call fcn.1006269c
add esp, 4
xor eax, eax
jmp 0x10023476
mov eax, dword [ebp - 0x18]
add eax, 8
push eax
call fcn.10061f01
mov ecx, dword [ebp - 0x18]
add esp, 4
add ecx, 8
mov edi, eax
push ecx
push 0
push edi
call fcn.10068f30
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
push dword [ebp - 0x18]
push ecx
push edi
call fcn.10068fc0
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
add esp, 0xc
call fcn.1002a160
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.10061f01
mov ecx, dword [ebp - 0x30]
add esp, 4
inc ecx
mov esi, eax
push ecx
push 0
push esi
call fcn.10068f30
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
add esp, 0xc
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
inc eax
push ecx
push eax
push esi
call fcn.1006571c
movzx eax, byte [esi]
add esp, 0xc
xor al, 2
mov byte [ebx + edi], al
movzx eax, byte [esi + 1]
xor al, 2
mov byte [ebx + edi + 1], al
movzx eax, byte [esi + 2]
xor al, 2
mov byte [ebx + edi + 2], al
movzx eax, byte [esi + 3]
xor al, 2
mov byte [ebx + edi + 3], al
movzx eax, byte [esi + 4]
xor al, 2
mov byte [ebx + edi + 4], al
movzx eax, byte [esi + 5]
xor al, 2
mov byte [ebx + edi + 5], al
movzx eax, byte [esi + 6]
xor al, 2
mov byte [ebx + edi + 6], al
movzx eax, byte [esi + 7]
xor al, 2
push esi
mov byte [ebx + edi + 7], al
call fcn.10063170
add esp, 4
mov dword [ebp - 0x44], 0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0x101080f8
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10063d5c
add esp, 0xc
test eax, eax
je 0x100233d0
cmp dword [ebp - 0x2c], 0x10
jb 0x100233b9
push dword [ebp - 0x40]
call fcn.1006269c
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jmp 0x10023248
push dword [ebp - 0x44]
lea eax, [ebx + 8]
push 1
push eax
push edi
call fcn.100658ca
push dword [ebp - 0x44]
call fcn.10063e0d
add esp, 0x14
test edi, edi
je 0x100233f7
push edi
call fcn.10063170
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x10023408
push dword [ebp - 0x40]
call fcn.1006269c
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x1002342b
push dword [ebp - 0x28]
call fcn.1006269c
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x1002344e
push dword [ebp + 8]
call fcn.1006269c
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x10023471
push dword [ebp + 0x20]
call fcn.1006269c
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100626a1
mov esp, ebp
pop ebp
ret