Function at 0x467c60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x562096
mov eax, dword fs:[0]
push eax
sub esp, 0x70c
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x708], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x720]
mov dword fs:[0], eax
mov edi, dword [esp + 0x734]
mov ebp, dword [esp + 0x730]
push edi
lea eax, [esp + 0x310]
push 0x208
xor esi, esi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], esi
call fcn.0053fe1c
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x467cd0
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
je 0x467d01
push 0x57c2e0
lea ecx, [esp + 0x310]
push 0x208
push ecx
call fcn.0053fd9f
add esp, 0xc
push 0x5752d4
lea edx, [esp + 0x310]
push 0x208
push edx
call fcn.0053fd9f
add esp, 0xc
call fcn.005089db
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x467d35
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x310]
push edx
mov dword [esp + 0x730], esi
mov dword [esp + 0x94], 0x30
mov dword [esp + 0x98], 0x20
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
je 0x4682aa
jmp 0x467d90
test byte [esp + 0xbc], 0x10
lea eax, [esp + 0xe8]
je 0x468093
mov ecx, 0x57713c
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x467dd6
test dx, dx
je 0x467dd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x467dd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x467db0
xor eax, eax
jmp 0x467ddb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x468281
mov ecx, 0x5780fc
lea eax, [esp + 0xe8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x467e16
test dx, dx
je 0x467e12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x467e16
add eax, 4
add ecx, 4
test dx, dx
jne 0x467df0
xor eax, eax
jmp 0x467e1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x468281
mov dword [esp + 0x1c], vtable.CMenu.0
mov dword [esp + 0x20], 0
mov byte [esp + 0x728], 1
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x20]
call fcn.00515b77
test eax, eax
je 0x468075
push 1
lea eax, [esp + 0xec]
push 0
push eax
call fcn.00467a90
mov ecx, dword [ebp + 4]
add esp, 0xc
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, dword [esp + 0x738]
mov edi, eax
cmp esi, edi
jge 0x467ed7
mov edi, edi
mov edx, dword [ebp + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, 0xffffffff
jne 0x467ed7
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x8c]
push eax
push 1
push esi
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esp + 0xac]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x5b406c]
mov eax, dword [eax + edx*4]
push eax
lea ecx, [esp + 0xec]
push ecx
call fcn.0054022e
add esp, 8
test eax, eax
jl 0x467ed7
inc esi
cmp esi, edi
jl 0x467e80
cmp dword [0x5ecf4c], 0
mov eax, dword [0x5ed0a4]
je 0x467f93
mov ecx, dword [esp + 0x20]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x5b406c]
mov eax, dword [eax + edx*4 - 0x1c]
mov edx, dword [ebp + 4]
push eax
push ecx
push 0x410
push esi
push edx
call dword [sym.imp.USER32.dll_InsertMenuW]
push 0x2c
lea eax, [esp + 0x64]
push 0
push eax
mov dword [esp + 0x68], 0x30
call fcn.0053ff80
mov eax, dword [0x5ed0a4]
mov edx, dword [0x5b406c]
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea edi, [edx + ecx*4]
add esp, 0xc
mov dword [esp + 0x60], 0x80
cmp dword [edi + 0x10], 0
jne 0x467f75
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.0045a9d0
mov ecx, dword [esp + 0x18]
push ecx
push eax
call fcn.00456f40
add esp, 8
mov dword [edi + 0x10], eax
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x5c]
push eax
push 1
push esi
push ecx
mov dword [esp + 0x98], edx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
jmp 0x467faa
mov edx, dword [esp + 0x20]
dec eax
push eax
mov eax, dword [ebp + 4]
push edx
push 0x510
push esi
push eax
call dword [sym.imp.USER32.dll_InsertMenuW]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], 1
test esi, esi
jne 0x467fbe
xor eax, eax
jmp 0x467fd2
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467fc3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00401e40
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x468006
push esi
lea ecx, [esp + 0x18]
call fcn.00401bd0
mov ecx, dword [esp + 0x14]
mov edx, 0x5c
mov word [ecx + edi*2], dx
test esi, esi
jl 0x468329
cmp esi, dword [ecx - 8]
jg 0x468329
xor eax, eax
mov dword [ecx - 0xc], esi
mov word [ecx + esi*2], ax
lea eax, [esp + 0xe8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468033
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401fb0
mov ebx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.00467c60
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00515ba3
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x728], 0
mov dword [esp + 0x1c], vtable.CMenu.0
call fcn.00515bcf
jmp 0x468281
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468096
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 4
jle 0x468281
lea eax, [esp + esi*2 + 0xe2]
push 0x57c2d8
push eax
call fcn.0054022e
add esp, 8
test eax, eax
jne 0x468281
test edi, edi
je 0x4680e5
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4680d6
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00401e40
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00405c40
lea eax, [esp + 0xe8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468105
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401fb0
mov ebx, dword [esp + 0x14]
xor edx, edx
push edx
lea eax, [esp + 0xec]
push ebx
push eax
mov word [esp + esi*2 + 0xec], dx
call fcn.00467a90
mov ecx, dword [ebp + 4]
add esp, 0xc
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, dword [esp + 0x738]
mov edi, eax
cmp esi, edi
jge 0x4681a1
lea ecx, [ecx]
mov edx, dword [ebp + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, 0xffffffff
je 0x46819c
mov edx, dword [0x5b406c]
sub eax, 0x3e8
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*4]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.0054022e
add esp, 8
test eax, eax
jl 0x4681a1
inc esi
cmp esi, edi
jl 0x468160
cmp dword [0x5ecf4c], 0
mov eax, dword [0x5ed0a4]
je 0x46825b
mov edx, dword [0x5b406c]
lea ecx, [eax*8]
sub ecx, eax
mov ecx, dword [edx + ecx*4 - 0x1c]
push ecx
add eax, 0x3e7
push eax
mov eax, dword [ebp + 4]
push 0x400
push esi
push eax
call dword [sym.imp.USER32.dll_InsertMenuW]
push 0x2c
lea ecx, [esp + 0x34]
push 0
push ecx
mov dword [esp + 0x38], 0x30
call fcn.0053ff80
mov eax, dword [0x5ed0a4]
dec eax
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x5b406c]
lea edi, [eax + edx*4]
add esp, 0xc
mov dword [esp + 0x30], 0x80
cmp dword [edi + 0x10], 0
jne 0x468240
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.0045a9d0
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.00456f40
add esp, 8
mov dword [edi + 0x10], eax
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push 1
push esi
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
jmp 0x468275
lea ecx, [eax - 1]
push ecx
add eax, 0x3e7
push eax
mov eax, dword [ebp + 4]
push 0x500
push esi
push eax
call dword [sym.imp.USER32.dll_InsertMenuW]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], 1
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xbc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x467d90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
jne 0x4682da
push 0x5f7e
call fcn.00508953
test eax, eax
je 0x4682cb
push 0x5f7e
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d70
mov ebx, dword [esp + 0x14]
mov edx, dword [ebp + 4]
push ebx
push 0
push 1
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
lea eax, [ebx - 0x10]
mov dword [esp + 0x728], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468301
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x720]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x708]
xor ecx, esp
call fcn.0053f73f
add esp, 0x718
ret
push 0x80070057
call fcn.00401340
int3