Function at 0x1005fe76
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10060001
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1005fff4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0x3566
mov dword [ebp - 0x38], 0x1000e5b8
cmp dword [ebp - 0x20], 0x3739
jle 0x1005ff4a
and dword [ebp - 0x14], 0
jmp 0x1005fed3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4b17
jge 0x1005ff4a
and dword [ebp - 0xc], 0
jmp 0x1005fee9
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x7dc6
jge 0x1005ff48
and dword [ebp - 0x10], 0
jmp 0x1005feff
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2d55
jge 0x1005ff46
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
shl eax, cl
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0x80]
call fcn.100208ae
jmp 0x1005fef8
jmp 0x1005fee2
jmp 0x1005fecc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x20], 0x32c4
jge 0x1005ff62
push dword [ebp - 0x38]
call fcn.1006abb3
pop ecx
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1005fff2
mov dword [ebp - 0x24], 0x5b7
mov dword [ebp - 0x40], 0x1000e5d8
cmp dword [ebp - 0x24], 0x8d8
jle 0x1005ffd4
and dword [ebp - 0x18], 0
jmp 0x1005ff94
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x21ab
jge 0x1005ffd4
and dword [ebp - 0x1c], 0
jmp 0x1005ffaa
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x183a
jge 0x1005ffd2
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x1005ffa3
jmp 0x1005ff8d
push 0
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
cmp dword [ebp - 0x24], 0x28e
jge 0x1005fff2
mov edx, dword [ebp - 0x40]
mov ecx, 0x10085b58
call fcn.10023628
jmp 0x1005fffc
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x10060081
lea eax, [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10060036
mov byte [ebp - 1], 0
push 0x44b7
lea eax, [ebp - 1]
push eax
push 0
call fcn.1005817e
add esp, 0xc
jmp 0x10060081
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10060064
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x10060081
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.10020c90
mov dword [eax], 0xdd484073
jmp 0x10060059
mov esp, ebp
pop ebp
ret