Function at 0xed71d0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x900
mov eax, dword [0xa7000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x8bc], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x8c4], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x8c0], 0
mov dword [ebp - 0x8b4], 0
lea ecx, [ebp - 0x870]
call fcn.00dec1a0
lea eax, [ebp - 0x870]
mov dword [ebp - 0x85c], eax
mov ecx, dword [ebp - 0x85c]
mov dword [ebp - 0x898], ecx
mov edx, dword [ebp - 0x85c]
add edx, 4
mov dword [ebp - 0x89c], edx
mov eax, dword [ebp - 0x89c]
mov ecx, dword [ebp - 0x898]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x858], 0
lea eax, [ebp - 0x840]
push eax
mov ecx, dword [ebx + 0x20]
push ecx
mov edx, dword [ebx + 0x1c]
push edx
movzx eax, byte [ebx + 0x14]
push eax
mov ecx, dword [ebx + 0x10]
push ecx
mov edx, dword [ebx + 0xc]
push edx
call fcn.00ed6e30
add esp, 0x18
mov eax, dword [0xa77070]
mov dword [ebp - 0x8a0], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [ebp - 0x8a0]
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
jne 0xed7316
mov dword [ebp - 0x874], 1
lea ecx, [ebp - 0x870]
call fcn.00ded020
mov eax, dword [ebp - 0x874]
jmp 0xed7666
mov dword [ebp - 0x824], 0x80000000
movzx edx, byte [ebx + 0x14]
test edx, edx
je 0xed735d
mov eax, dword [ebp - 0x824]
or eax, 0x800000
mov dword [ebp - 0x824], eax
mov ecx, dword [ebp - 0x824]
or ecx, 0x2000
mov dword [ebp - 0x824], ecx
mov edx, dword [ebp - 0x824]
or edx, 0x1000
mov dword [ebp - 0x824], edx
mov eax, dword [0xa77078]
mov dword [ebp - 0x878], eax
push 0
mov ecx, dword [ebp - 0x824]
push ecx
push 0
push 0
mov edx, dword [ebx + 8]
push edx
mov eax, dword [ebp - 0x834]
push eax
call dword [ebp - 0x878]
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0xed73a4
mov dword [ebp - 0x858], 2
jmp 0xed7606
mov ecx, dword [0xa7705c]
mov dword [ebp - 0x87c], ecx
lea edx, [ebp - 0x82c]
push edx
push 0x800
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp - 0x830]
push ecx
call dword [ebp - 0x87c]
test eax, eax
je 0xed7476
mov edx, dword [ebp - 0x83c]
add edx, dword [ebp - 0x82c]
mov dword [ebp - 0x83c], edx
cmp dword [ebp - 0x82c], 0
jne 0xed73ff
mov eax, dword [ebp - 0x83c]
mov dword [ebp - 0x840], eax
cmp dword [ebp - 0x82c], 0
jne 0xed740a
jmp 0xed7476
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x860], ecx
mov edx, dword [ebp - 0x860]
mov eax, dword [ebp - 0x860]
mov ecx, dword [edx + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x8b8], ecx
mov dword [ebp - 0x838], 0
jmp 0xed7448
mov edx, dword [ebp - 0x838]
add edx, 1
mov dword [ebp - 0x838], edx
mov eax, dword [ebp - 0x838]
cmp eax, dword [ebp - 0x82c]
jae 0xed7471
mov ecx, dword [ebp - 0x838]
lea edx, [ebp + ecx - 0x808]
push edx
lea ecx, [ebp - 0x870]
call fcn.00eb8a60
jmp 0xed7439
jmp 0xed73a4
cmp dword [ebp - 0x840], 0
jle 0xed7497
mov eax, dword [ebp - 0x83c]
cmp eax, dword [ebp - 0x840]
je 0xed7497
mov dword [ebp - 0x858], 5
xor ecx, ecx
mov byte [ebp - 0x825], cl
xor edx, edx
mov byte [ebp - 0x826], dl
xor eax, eax
mov byte [ebp - 0x827], al
mov cl, byte [ebp - 0x825]
mov byte [ebp - 0x844], cl
mov dl, byte [ebp - 0x826]
mov byte [ebp - 0x850], dl
mov al, byte [ebp - 0x827]
mov byte [ebp - 0x848], al
mov ecx, 0x1d0c8b84
mov dword [ebp - 0x820], 0x8f4a2158
mov dword [ebp - 0x81c], ecx
mov edx, 0x3af0dbed
mov dword [ebp - 0x818], 0x2e26c2fc
mov dword [ebp - 0x814], edx
mov eax, 0x1d0c8b84
mov dword [ebp - 0x8b0], 0x8f4a432f
mov dword [ebp - 0x8ac], eax
mov ecx, 0x3af0dbed
mov dword [ebp - 0x8a8], 0x2e26c2fc
mov dword [ebp - 0x8a4], ecx
xor edx, edx
mov byte [ebp - 0x828], dl
mov al, byte [ebp - 0x828]
mov byte [ebp - 0x84c], al
movaps xmm0, xmmword [ebp - 0x8b0]
movaps xmmword [ebp - 0x8f0], xmm0
movaps xmm0, xmmword [ebp - 0x820]
movaps xmmword [ebp - 0x8e0], xmm0
movaps xmm0, xmmword [ebp - 0x8e0]
pxor xmm0, xmmword [ebp - 0x8f0]
movaps xmmword [ebp - 0x900], xmm0
movaps xmm0, xmmword [ebp - 0x900]
movaps xmmword [ebp - 0x820], xmm0
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebx + 0x18]
push edx
call fcn.00fb5c9a
add esp, 8
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], 0
je 0xed7606
lea eax, [ebp - 0x870]
mov dword [ebp - 0x864], eax
mov ecx, dword [ebp - 0x864]
mov edx, dword [ebp - 0x864]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
mov dword [ebp - 0x884], eax
mov ecx, dword [ebp - 0x870]
mov dword [ebp - 0x880], ecx
mov edx, dword [ebp - 0x880]
mov dword [ebp - 0x888], edx
mov eax, dword [ebp - 0x854]
push eax
mov ecx, dword [ebp - 0x884]
push ecx
push 1
mov edx, dword [ebp - 0x888]
push edx
call fcn.00fb62bd
add esp, 0x10
mov eax, dword [ebp - 0x854]
push eax
call fcn.00fb5d28
add esp, 4
cmp dword [ebp - 0x830], 0
je 0xed7628
mov ecx, dword [0xa77058]
mov dword [ebp - 0x88c], ecx
mov edx, dword [ebp - 0x830]
push edx
call dword [ebp - 0x88c]
cmp dword [ebp - 0x834], 0
je 0xed7649
mov eax, dword [0xa77058]
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x834]
push ecx
call dword [ebp - 0x890]
mov edx, dword [ebp - 0x858]
mov dword [ebp - 0x894], edx
lea ecx, [ebp - 0x870]
call fcn.00ded020
mov eax, dword [ebp - 0x894]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fa6b7b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret