Function at 0x10478d28
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 0x100d8ba1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c8
mov eax, dword [0x1013f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1018e954], 0
mov dword [ebp - 0x254], ecx
jne 0x10478b3b
call dword [0x100da034]
mov edi, eax
call dword [0x100da070]
push eax
call dword [0x100da09c]
push 0
mov dword [ebp - 0x260], eax
call fcn.1049707b
add esp, 4
mov esi, eax
push 0
call fcn.1049707b
add esp, 4
push esi
push 0x10134a30
push 0x10134a38
push eax
call fcn.104a1cd9
push 1
call fcn.1049707b
add esp, 0x14
mov esi, eax
push 1
call fcn.1049707b
add esp, 4
push esi
push 0x10134a34
push 0x10134a4c
push eax
call fcn.104a1cd9
add esp, 0x10
push 0x10134a40
call dword [0x100da0a0]
test edi, edi
je 0x10478b34
cmp dword [ebp - 0x260], 0
je 0x10478b34
mov al, 1
jmp 0x10478b36
xor al, al
mov byte [0x1018e954], al
push 0
call fcn.104a1b99
add esp, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], edx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.104a1781
add esp, 8
test eax, eax
je 0x10478b91
push 0x10134a14
lea ecx, [ebp - 0x274]
call fcn.103e7ad8
push eax
mov dword [ebp - 4], 0
call fcn.103f0638
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.103e63d8
movups xmm0, xmmword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x2a0]
movups xmmword [ebp - 0x2d4], xmm0
push 0x10134a54
movups xmm0, xmmword [ebp - 0x30]
push eax
movups xmmword [ebp - 0x2c4], xmm0
call fcn.1041a4a8
mov ecx, dword [eax]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x280]
mov dword [ebp - 0x260], ecx
push eax
mov dword [ebp - 0x284], 0x100958f0
call fcn.104202b8
add esp, 0x10
mov dword [ebp - 0x298], 0xad
lea eax, [ebp - 0x288]
mov dword [ebp - 0x294], 0
lea ecx, [ebp - 0x298]
push eax
call fcn.103f43a8
push 1
call fcn.1049707b
movups xmm0, xmmword [ebp - 0x298]
add esp, 4
mov edi, eax
lea eax, [ebp - 0x250]
movups xmmword [ebp - 0x278], xmm0
push 0x204
push 0
push eax
call fcn.10493b48
add esp, 0xc
lea ecx, [ebp - 0x261]
call fcn.103e79a8
push eax
lea ecx, [ebp - 0x250]
call fcn.103eaed8
sub esp, 0x10
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x278]
mov eax, esp
push esi
push dword [ebp - 0x260]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.103f0978
add esp, 0x20
lea ecx, [ebp - 0x250]
call fcn.103e7c58
lea ecx, [ebp - 0x250]
mov esi, eax
call fcn.103e6068
push edi
push esi
push 1
push eax
call fcn.10499489
add esp, 0x10
cmp eax, esi
jae 0x10478cfb
call fcn.10499567
sub esp, 8
mov ecx, esp
mov esi, dword [eax]
push 0x101349fc
call fcn.103eb068
push esi
lea ecx, [ebp - 0x2b0]
call fcn.103f06f8
push eax
mov byte [ebp - 4], 2
call fcn.103f0798
add esp, 4
lea ecx, [ebp - 0x2b0]
call fcn.103e63d8
lea ecx, [ebp - 0x250]
call fcn.103eae88
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1047bb88
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.103eb308
mov ecx, eax
jmp 0x10478a58