Function at 0x10022ff5
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002323c
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x34], 0x762c
mov dword [ebp - 0x40], 0x100094e0
cmp dword [ebp - 0x34], 0x770d
jle 0x100230d8
and dword [ebp - 0x28], 0
jmp 0x10023038
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x63b
jge 0x100230d8
and dword [ebp - 0x2c], 0
jmp 0x10023052
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xdd4
jge 0x100230d3
and dword [ebp - 0x10], 0
jmp 0x10023068
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x384b
jge 0x100230ce
and dword [ebp - 0x18], 0
jmp 0x1002307e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x270c
jge 0x100230cc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0xa4]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.1002640c
jmp 0x10023077
jmp 0x10023061
jmp 0x1002304b
jmp 0x10023031
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x34], 0x7440
jge 0x100230f0
push dword [ebp - 0x40]
call fcn.10079103
pop ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10023129
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10023124
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x10023237
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 0x4a03
mov dword [ebp - 0x8c], 0x10009540
cmp dword [ebp - 0x38], 0x4c8d
jle 0x100231d9
and dword [ebp - 0x30], 0
jmp 0x1002315a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2960
jge 0x100231d9
and dword [ebp - 0x20], 0
jmp 0x10023170
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x682a
jge 0x100231d4
and dword [ebp - 8], 0
jmp 0x10023186
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x599
jge 0x100231d2
and dword [ebp - 0xc], 0
jmp 0x1002319c
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3353
jge 0x100231d0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sar edx, cl
or eax, edx
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x10023195
jmp 0x1002317f
jmp 0x10023169
jmp 0x10023153
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x38], 0x47a4
jge 0x100231f8
mov edx, dword [ebp - 0x8c]
mov ecx, 0x10094c18
call fcn.10029186
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002321a
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], 4
jge 0x10023237
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.100267ee
mov dword [eax], 0x1ee67b38
jmp 0x1002320f
jmp 0x10023314
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x3c], 0x603f
mov dword [ebp - 0x64], 0x10009594
cmp dword [ebp - 0x3c], 0x62ab
jle 0x100232e2
and dword [ebp - 0x14], 0
jmp 0x1002326a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x74f0
jge 0x100232d4
and dword [ebp - 0x1c], 0
jmp 0x10023280
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x572d
jge 0x100232d2
and dword [ebp - 0x24], 0
jmp 0x10023296
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x10b
jge 0x100232d0
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x1c]
xor edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1002328f
jmp 0x10023279
jmp 0x10023263
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x1e87
push 0x7f5d
push 0
push 0xa45
push dword [ebp - 0x5c]
call fcn.10025c8f
add esp, 0x14
cmp dword [ebp - 0x3c], 0x5cd2
jge 0x10023314
mov edx, dword [ebp - 0x64]
mov ecx, 0x10094c18
call fcn.10029186
mov esp, ebp
pop ebp
ret