Function at 0x10019248
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10019390
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1001929f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1001929a
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1001938b
mov dword [ebp - 0x24], 0x5e45
mov dword [ebp - 0x40], 0x10008228
cmp dword [ebp - 0x24], 0x617a
jle 0x1001932a
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
and dword [ebp - 8], 0
jmp 0x100192cf
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x6401
jge 0x1001932a
and dword [ebp - 0xc], 0
jmp 0x100192e5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2869
jge 0x10019328
and dword [ebp - 0x10], 0
jmp 0x100192fb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1bd6
jge 0x10019326
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x100192f4
jmp 0x100192de
jmp 0x100192c8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x24], 0x5e1f
jge 0x10019346
mov edx, dword [ebp - 0x40]
mov ecx, 0x10092b78
call fcn.10025597
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001936e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1001938b
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.10022bff
mov dword [eax], 0x1124
jmp 0x10019363
jmp 0x1001945b
mov dword [ebp - 0x28], 0x3ab1
mov dword [ebp - 0x54], 0x10008288
cmp dword [ebp - 0x28], 0x3b58
jle 0x10019431
and dword [ebp - 0x14], 0
jmp 0x100193b8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4623
jge 0x10019431
and dword [ebp - 0x18], 0
jmp 0x100193ce
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3df7
jge 0x1001942f
and dword [ebp - 0x1c], 0
jmp 0x100193e4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x701
jge 0x1001942d
and dword [ebp - 0x20], 0
jmp 0x100193fa
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5187
jge 0x1001942b
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x100193f3
jmp 0x100193dd
jmp 0x100193c7
jmp 0x100193b1
push 0x5e0c
push 0x2de9
push 1
call fcn.1001767f
add esp, 0xc
cmp dword [ebp - 0x28], 0x397c
jge 0x1001945b
mov edx, dword [ebp - 0x54]
mov ecx, 0x10092b78
call fcn.10025597
mov esp, ebp
pop ebp
ret