Function at 0x1000cc0c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072316
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push esi
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x1000cda7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1000cca0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x1000cc9b
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1000cda2
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x88]
cmp dword [eax], 0
jne 0x1000cd0b
mov dword [ebp - 0x30], 1
jmp 0x1000cd0f
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx]
jne 0x1000cd32
mov dword [ebp - 0xb0], 1
jmp 0x1000cd39
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1000cd4f
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x1000cd4f
and dword [ebp - 0x50], 0
jmp 0x1000cd56
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
imul eax, dword [ebp - 0x30]
cmp eax, 0xedb0
jg 0x1000cd74
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1000cd74
and dword [ebp - 0x3c], 0
jmp 0x1000cd7b
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
je 0x1000cd96
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x1000cd96
mov dword [ebp - 0x38], 1
jmp 0x1000cd9a
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x1000d051
mov dword [ebp - 0x5c], 0x1c45
cmp dword [ebp - 0x5c], 0xe46
jge 0x1000cee1
call fcn.100599f5
push 0x20
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
push 0x10007824
push 0x10007828
call fcn.10059eaf
add esp, 0xc
call fcn.100599f5
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
push 0x10007830
push 0x10007834
call fcn.10059eaf
add esp, 0xc
xor eax, eax
inc eax
je 0x1000cee1
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x1061b010
call fcn.10021266
and dword [ebp - 0x2c], 0
push 0xac
push 0
lea eax, [ebp - 0x1c0]
push eax
call fcn.10059d20
add esp, 0xc
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1000ce37
jmp 0x1000cee1
cmp dword [ebp - 0x10], 0
je 0x1000ce6c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x114], ecx
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x1c0], 1
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x1061b010
call fcn.10021266
jmp 0x1000ce37
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
jmp 0x1000ce7d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jge 0x1000cec3
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x114]
and eax, 0x80000001
jns 0x1000ce9b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x1000cec1
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x114]
cdq
sub eax, edx
sar eax, 1
movzx eax, byte [ebp + eax - 0x1c0]
test eax, eax
je 0x1000cec1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x1000ce76
push 0x10025f86
push dword [ebp - 0x10]
mov ecx, 0x1061af58
call fcn.10021431
mov ecx, eax
call fcn.10021425
jmp 0x1000cdfb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1000cf2b
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x1000d051
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
push 2
lea ecx, [ebp - 0xc8]
call fcn.10021783
and dword [ebp - 4], 0
mov dword [ebp - 0x28], 0x5c8094a
lea eax, [ebp - 0xbc]
push eax
push 0x6030
push 0x4ff0
push 0
xor dl, dl
lea ecx, [ebp - 0xc8]
call fcn.1000a609
add esp, 0x10
mov dword [ebp - 0x28], 0
jmp 0x1000cf94
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x1000d013
mov dword [ebp - 0x24], 0xafd94fe5
mov dword [ebp - 0x24], 1
jmp 0x1000cfb1
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1000d00e
mov dword [ebp - 0x20], 0
jmp 0x1000cfc7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1000cfdd
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xd8], 3
jmp 0x1000cfc0
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0xd8], 0xfffffffb
mov byte [ebp - 0x11], 0
push 0
push 0x150d
lea eax, [ebp - 0x11]
push eax
push 0
push 0x2e9
call fcn.1000f5e8
add esp, 0x14
jmp 0x1000cfaa
jmp 0x1000cf8d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.10021805
mov ecx, dword [ebp - 0x94]
call fcn.1000a4eb
mov ecx, eax
mov eax, dword [ebp - 0x48]
cdq
mov esi, 0x3e8
idiv esi
add ecx, edx
mov eax, dword [ebp - 0x48]
cdq
mov esi, 0x3e8
idiv esi
add ecx, eax
mov eax, dword [ebp - 0x9c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret