Function at 0x425030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ec2a
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
push ebx
push esi
push edi
mov eax, dword [0x46500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x13c], ebx
call fcn.004024c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.004024c0
mov byte [ebp - 4], 1
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x13c]
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push esi
call fcn.00423e70
mov edi, eax
cmp edi, 0xffffffff
je 0x4252c1
test byte [ebp - 0x138], 1
jne 0x4252c1
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, dword [ebp - 0x138]
mov ecx, eax
mov eax, dword [ebp - 0x120]
and esi, 4
or esi, 0x40
mov dword [ebp + 8], ecx
shr esi, 2
test eax, eax
jne 0x425122
cmp dword [ebp - 0x108], 0
mov eax, 0x456184
cmovne eax, dword [ebp - 0x110]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x42514e
push dword [ebp - 0x130]
mov eax, dword [ebp + 8]
or esi, 0x100
push eax
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov ecx, 0x70
call fcn.0041ea00
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x425175
lea ecx, [ebp - 0x13c]
push ecx
mov ecx, eax
call fcn.00423cd0
mov ebx, eax
jmp 0x425177
xor ebx, ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, esi
cmp eax, 4
jl 0x42519a
mov eax, dword [ecx + 0xc]
mov dword [esi + eax], ebx
add dword [ecx + 0x14], 4
jmp 0x4251a6
lea eax, [esi + 4]
push eax
call fcn.00423310
mov dword [eax + esi], ebx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
shr eax, 2
mov dword [ebp - 0x20], eax
cmp edi, eax
jge 0x4252c4
nop word [eax + eax]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
call fcn.004024c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.004024c0
mov byte [ebp - 4], 5
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xffffffff
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xcc]
push edi
push esi
call fcn.00423e70
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, 0xffffffff
je 0x4252a3
mov edx, dword [ebp - 0xc4]
cmp edx, dword [ebp - 0x134]
jle 0x4255f0
mov esi, dword [esi + 0x18]
mov ecx, esi
shr ecx, 2
cmp ebx, ecx
jl 0x425254
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
jmp 0x42527e
test esi, esi
mov esi, dword [ebp + 0xc]
jne 0x42525f
xor eax, eax
jmp 0x425262
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
mov ecx, 0x456184
test eax, eax
cmovne ecx, eax
push ecx
call fcn.0043a1db
mov edx, dword [ebp - 0xc4]
add esp, 4
cmp eax, edx
jle 0x4252fe
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push esi
push dword [ebp + 8]
call fcn.00425030
mov esi, eax
cmp esi, 0xffffffff
jne 0x4255bf
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call fcn.004019f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004019f0
or edi, 0xffffffff
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x100]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.004019f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [0x467f48], 0x70
mov ebx, dword [ebp - 0xc0]
jl 0x425339
push 0x467f4c
call fcn.00423ab0
mov ecx, dword [0x467f44]
add esp, 4
test ecx, ecx
je 0x42532b
mov eax, dword [ecx]
mov dword [0x467f44], eax
mov dword [0x467f4c], 1
test ecx, ecx
jne 0x425354
push 0x70
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x425613
mov dword [ebp + 0x10], ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xcc]
push eax
call fcn.00423cd0
mov esi, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x54]
mov edi, dword [edx + 0x58]
sub ecx, edi
cmp ecx, 4
jl 0x425389
mov eax, dword [edx + 0x50]
mov dword [edi + eax], esi
add dword [edx + 0x58], 4
jmp 0x425398
lea eax, [edi + 4]
push eax
lea ecx, [edx + 0x44]
call fcn.00423310
mov dword [eax + edi], esi
mov ecx, dword [esi + 4]
test cl, 1
je 0x42540f
push dword [ebp + 8]
mov dword [ebp - 0x5c], esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov ecx, dword [edx + 0x10]
mov edi, dword [edx + 0x14]
sub ecx, edi
cmp ecx, 8
jl 0x4253cf
mov ecx, dword [edx + 0xc]
mov dword [edi + ecx], esi
mov dword [edi + ecx + 4], eax
add dword [edx + 0x14], 8
jmp 0x4253e4
lea eax, [edi + 8]
mov ecx, edx
push eax
call fcn.00423310
mov ecx, dword [ebp - 0x58]
mov dword [eax + edi], esi
mov dword [eax + edi + 4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
xor eax, eax
test ecx, ecx
mov ecx, 0x900
cmovne eax, ebx
push eax
push ebx
mov eax, 0x800
cmovne eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_AppendMenuW]
jmp 0x4255bc
mov eax, ecx
and eax, 2
shl eax, 2
mov edi, eax
or edi, 1
and cl, 4
lea ecx, [ebp - 0x54]
cmove edi, eax
mov dword [ebp + 0x10], edi
call fcn.004024c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x44]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], vtable.CWString.0
call dword [eax + 0x44]
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402010
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x68]
cmp dword [ecx], 0
mov dword [ebp - 0x1c], ecx
je 0x425575
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 4]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4254e4
mov ecx, dword [ebp + 0x18]
lea esi, [eax*4]
mov edi, dword [ecx + 0x14]
cmp esi, edi
jl 0x4254ba
mov eax, dword [ecx + 0x10]
sub eax, edi
cmp eax, 4
jl 0x4254ac
mov eax, dword [ecx + 0xc]
mov dword [edi + eax], ebx
add dword [ecx + 0x14], 4
jmp 0x4254e1
lea eax, [edi + 4]
push eax
call fcn.00423310
mov dword [eax + edi], ebx
jmp 0x4254e1
lea eax, [edi + 4]
push eax
call fcn.00423310
mov ecx, dword [ebp - 0x18]
add esi, eax
lea eax, [ecx*4]
sub edi, eax
lea eax, [esi + 4]
push edi
push esi
push eax
call fcn.004337e0
add esp, 0xc
mov dword [esi], ebx
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x54]
call fcn.00426610
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x425509
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x425509
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
sub eax, esi
mov dword [ebp - 0x28], 9
cmp eax, 4
jl 0x42552c
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ecx + esi], eax
add dword [ebp - 0x30], 4
jmp 0x42553e
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x44]
call fcn.00423310
mov edx, dword [ebp - 0x28]
mov dword [eax + esi], edx
lea ecx, [ebp - 0x168]
call fcn.004024c0
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x168]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
call fcn.004227e0
push eax
lea ecx, [ebp - 0x54]
call fcn.00426a20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x168]
call fcn.004019f0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x425589
cmp dword [ebp - 0x30], 0
mov eax, 0x456184
cmovne eax, dword [ebp - 0x38]
mov esi, dword [ebp + 8]
push eax
push ebx
push edi
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x4255b0
push ebx
push ebx
or edi, 0x100
push edi
push ebx
push esi
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.004019f0
mov esi, dword [ebp - 0x14]
mov edi, esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x90]
call fcn.004019f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004019f0
cmp esi, dword [ebp - 0x20]
jge 0x4252c4
mov esi, dword [ebp + 0xc]
jmp 0x4251c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.004019f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.004019f0
jmp 0x4252c4
push 0xffffffffffffffff
call fcn.0043a4b9
int3