Function at 0x467062
Capabilities:
Clear file content
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push 3
lea ecx, [ebp - 0x3c]
call fcn.0042fb3f
mov dword [ebp - 0x10], 0xb64b5c6f
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], 0xed1e12aa
mov dword [ebp - 8], ebx
jmp 0x4670a1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov dword [eax + ecx*4], 0xfff9
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x467091
mov dword [ebp - 8], ebx
jmp 0x4670ba
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x20], 0x2c5b641b
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jl 0x4670ac
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], ebx
jne 0x4670df
mov eax, dword [ebp - 0x10]
push 4
pop ecx
sub ecx, eax
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x4670f7
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [ebp - 0x3c]
call fcn.0042fc11
push 1
lea ecx, [ebp - 0x48]
call fcn.0042fb3f
mov dword [ebp - 8], 0x18885c6f
mov dword [ebp - 0x1c], 0x7a98815c
mov dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0xc], 0xca968364
mov dword [ebp - 0x18], 0x51938d10
mov dword [ebp - 0x24], 1
mov dword [ebp - 0xc], ebx
jmp 0x467148
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x48]
mov dword [eax + ecx*4], 0x198a8f93
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 1
jl 0x467138
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
jl 0x467169
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x467164
call dword [sym.imp.USER32.dll_CreatePopupMenu]
dec dword [ebp - 8]
jns 0x467156
mov eax, dword [ebp - 0x48]
cmp dword [eax], ebx
je 0x467187
mov dword [ebp - 0x1c], 0x456e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], ebx
je 0x467187
xor edx, edx
inc edx
jmp 0x467189
mov edx, ebx
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, edx
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, 1
setg dl
xor ecx, ecx
cmp eax, edx
setne cl
inc ecx
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 8], ecx
je 0x4672c2
push 0xfffffffffffffffe
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 0x2a907865
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], 3
jg 0x4672f8
mov eax, 0x9820b275
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0x2ce6c1cc
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], 4
jl 0x4672ab
mov dword [ebp - 0x18], 0xacda2a4f
mov dword [ebp - 0x10], ebx
jmp 0x46721a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x30], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x46720c
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x10]
jne 0x467239
mov eax, dword [ebp - 0x28]
dec dword [ebp - 0x28]
test eax, eax
jne 0x467239
mov edx, ebx
jmp 0x46723c
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp edx, eax
setg cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setne dl
xor ebx, ebx
cmp eax, edx
mov eax, dword [ebp - 0x2c]
setge bl
sub eax, dword [ebp - 0x24]
xor ecx, ecx
cmp eax, ebx
setle cl
xor ebx, ebx
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], ebx
je 0x467283
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0xb0a94fe8
mov eax, dword [ebp - 0x50]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setle cl
mov dword [ebp - 0x18], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jge 0x467200
push 0xfffffffffffffffe
pop ecx
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0xc]
mov eax, 0x9820b275
cmp dword [ebp - 0xc], 3
jle 0x4671dd
jmp 0x4672f8
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x4672d5
push 0x247a
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x4672f8
push ebx
push 0x52d
push 0x1cbd
push 0x10b
push 0x1132
call dword [sym.imp.USER32.dll_SetScrollRange]
lea ecx, [ebp - 0x48]
call fcn.0042fc11
mov dword [esi], ebx
jmp 0x467311
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0xfff9
inc dword [esi]
cmp dword [esi], 3
jl 0x467304
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret