Function at 0x103c8b18
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x104dac50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x105e0c00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.103c5c20
lea ecx, [ebx + 8]
call fcn.103cb950
mov ecx, dword [eax]
mov dword [ebp - 0x94], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x90], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x8c], eax
lea ecx, [ebx + 8]
call fcn.103b9ef0
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x84], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0x78], str.sprites_gradient_material.vmt
xorps xmm0, xmm0
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [0x104e6474]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [0x105217b0]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [0x105217b0]
movss dword [ebp - 0x60], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x5c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x58], xmm0
movzx ecx, byte [ebx + 0x17]
cvtsi2ss xmm0, ecx
movss dword [ebp - 0x54], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x50], xmm0
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movss dword [ebp - 0x48], xmm0
movzx edx, byte [ebx + 0x14]
cvtsi2ss xmm0, edx
movss dword [ebp - 0x44], xmm0
movzx eax, byte [ebx + 0x15]
cvtsi2ss xmm0, eax
movss dword [ebp - 0x40], xmm0
movzx ecx, byte [ebx + 0x16]
cvtsi2ss xmm0, ecx
movss dword [ebp - 0x3c], xmm0
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x38], 1
mov dword [ebp - 0x30], 0x8300
mov eax, dword [0x105f32f4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xb0], edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [0x105f32f4]
call dword [ebp - 0xb0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x103c8c47
lea ecx, [ebx + 8]
call fcn.103896a0
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xb4]
mov dword [ecx + 0x38], edx
mov dword [ebp - 0xac], 0
jmp 0x103c8b79
mov eax, dword [ebp - 0xac]
add eax, 1
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xac]
cmp edx, dword [ecx + 0x38]
jge 0x103c8c05
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + eax*4 + 0x100], 0
mov edx, dword [ebp - 0xac]
push edx
lea ecx, [ebx + 8]
call fcn.103b65c0
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xcc], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xc8], eax
imul ecx, dword [ebp - 0xac], 0xc
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx + 0x3c]
mov ecx, dword [ebp - 0xd0]
mov dword [eax], ecx
mov edx, dword [ebp - 0xcc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x18]
mov dword [eax + edx*4 + 0x128], 0
jmp 0x103c8b6a
mov ecx, dword [0x105f32f4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [0x105f32f4]
call dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
add edx, 0xb8
mov dword [ebp - 0xc0], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.103b2db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 8]
call fcn.10300ad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.104b547f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14