Function at 0x10001f80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f4eb
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x1002a080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xf8], edi
push str.TEMP
mov dword [ebp - 0xfc], edi
call fcn.1000c7d8
mov edx, eax
mov dword [ebp - 0x34], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x44], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001fe8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.10005d30
mov dword [ebp - 4], 0
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 1
jb 0x1000269f
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push 1
cmova eax, dword [ebp - 0x44]
push 0x10026f54
push ecx
push eax
push ecx
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x114]
call fcn.100060d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x100]
mov eax, edx
mov ecx, dword [ebp - 0x104]
sub eax, ecx
push 0xd
push str.TerraMoba.dll
cmp eax, 0xd
jb 0x1000208b
cmp edx, 0xf
lea esi, [ebp - 0x114]
lea eax, [ecx + 0xd]
cmova esi, dword [ebp - 0x114]
add esi, ecx
mov dword [ebp - 0x104], eax
push esi
call fcn.10008bb0
add esp, 0xc
mov byte [esi + 0xd], 0
lea eax, [ebp - 0x114]
jmp 0x100020a5
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x114]
push dword [ebp - 0xf8]
push 0xd
call fcn.10005f60
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x100]
cmp ecx, 0xf
jbe 0x1000211a
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100026a4
push ecx
push edx
call fcn.100076d2
add esp, 8
push 0xb0
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x104], 0
push 0
push eax
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
call fcn.10009140
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xf4]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.10005150
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe8], 6
jne 0x10002525
xor esi, esi
mov edx, 0x101a0f16
nop dword [eax + eax]
movzx eax, byte [edx + 1]
lea esi, [esi + 6]
mov cl, byte [esi + 0x1002ab12]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab12], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx + 1], al
movzx eax, byte [edx]
mov cl, byte [esi + 0x1002ab13]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab13], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx], al
movzx eax, byte [edx - 1]
mov cl, byte [esi + 0x1002ab14]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab14], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 1], al
movzx eax, byte [edx - 2]
mov cl, byte [esi + 0x1002ab15]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab15], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 2], al
movzx eax, byte [edx - 3]
mov cl, byte [esi + 0x1002ab16]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab16], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 3], al
movzx eax, byte [edx - 4]
mov cl, byte [esi + 0x1002ab17]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab17], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 4], al
sub edx, 6
cmp edx, 0x100e5d16
jg 0x100021b0
xor esi, esi
nop word [eax + eax]
cmp esi, 0x176400
jae 0x100022bc
mov dl, byte [esi + 0x1002ab18]
lea ecx, [ebp - 0xf4]
call fcn.100061d0
inc esi
jmp 0x100022a0
xor esi, esi
mov edx, 0x101a0f16
movzx eax, byte [edx + 1]
lea esi, [esi + 6]
mov cl, byte [esi + 0x1002ab12]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab12], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx + 1], al
movzx eax, byte [edx]
mov cl, byte [esi + 0x1002ab13]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab13], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx], al
movzx eax, byte [edx - 1]
mov cl, byte [esi + 0x1002ab14]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab14], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 1], al
movzx eax, byte [edx - 2]
mov cl, byte [esi + 0x1002ab15]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab15], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 2], al
movzx eax, byte [edx - 3]
mov cl, byte [esi + 0x1002ab16]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab16], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 3], al
movzx eax, byte [edx - 4]
mov cl, byte [esi + 0x1002ab17]
movzx eax, byte [eax + 0x10027028]
mov byte [esi + 0x1002ab17], al
movzx eax, cl
movzx eax, byte [eax + 0x10027028]
mov byte [edx - 4], al
sub edx, 6
cmp edx, 0x100e5d16
jg 0x100022c3
lea ecx, [ebp - 0xf0]
call fcn.10005030
test eax, eax
jne 0x100023e3
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001bf0
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 7
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0xf4]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x2c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xf0]
call fcn.10004570
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xf8], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.1000729f
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0xf
jbe 0x100024d8
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100024ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100026a9
push ecx
push edx
call fcn.100076d2
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x1000251e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002514
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100026a9
push ecx
push edx
call fcn.100076d2
add esp, 8
mov eax, edi
jmp 0x10002683
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x10026eec
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10005d30
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xf0]
call fcn.10004570
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xf8], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.1000729f
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0xf
jbe 0x100025f1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100025e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100026a9
push ecx
push edx
call fcn.100076d2
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x1000251e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002514
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100026a9
jmp 0x10002514
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100076c4
mov esp, ebp
pop ebp
ret
call fcn.10001220
call fcn.1000c24a
call fcn.1000c24a
int3