Function at 0xfe81c0
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 [0xd5000c]
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.00efd1a0
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.00fe7e20
add esp, 0x18
mov eax, dword [0xd57070]
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 0xfe8306
mov dword [ebp - 0x874], 1
lea ecx, [ebp - 0x870]
call fcn.00efe020
mov eax, dword [ebp - 0x874]
jmp 0xfe8656
mov dword [ebp - 0x824], 0x80000000
movzx edx, byte [ebx + 0x14]
test edx, edx
je 0xfe834d
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 [0xd57078]
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 0xfe8394
mov dword [ebp - 0x858], 2
jmp 0xfe85f6
mov ecx, dword [0xd5705c]
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 0xfe8466
mov edx, dword [ebp - 0x83c]
add edx, dword [ebp - 0x82c]
mov dword [ebp - 0x83c], edx
cmp dword [ebp - 0x82c], 0
jne 0xfe83ef
mov eax, dword [ebp - 0x83c]
mov dword [ebp - 0x840], eax
cmp dword [ebp - 0x82c], 0
jne 0xfe83fa
jmp 0xfe8466
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 0xfe8438
mov edx, dword [ebp - 0x838]
add edx, 1
mov dword [ebp - 0x838], edx
mov eax, dword [ebp - 0x838]
cmp eax, dword [ebp - 0x82c]
jae 0xfe8461
mov ecx, dword [ebp - 0x838]
lea edx, [ebp + ecx - 0x808]
push edx
lea ecx, [ebp - 0x870]
call fcn.00fc9a80
jmp 0xfe8429
jmp 0xfe8394
cmp dword [ebp - 0x840], 0
jle 0xfe8487
mov eax, dword [ebp - 0x83c]
cmp eax, dword [ebp - 0x840]
je 0xfe8487
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.010c6c9a
add esp, 8
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], 0
je 0xfe85f6
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.010c72bd
add esp, 0x10
mov eax, dword [ebp - 0x854]
push eax
call fcn.010c6d28
add esp, 4
cmp dword [ebp - 0x830], 0
je 0xfe8618
mov ecx, dword [0xd57058]
mov dword [ebp - 0x88c], ecx
mov edx, dword [ebp - 0x830]
push edx
call dword [ebp - 0x88c]
cmp dword [ebp - 0x834], 0
je 0xfe8639
mov eax, dword [0xd57058]
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.00efe020
mov eax, dword [ebp - 0x894]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010b7b7b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret