Function at 0x4715d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x61fe4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [0x6925b8]
push ebx
push ebp
push esi
mov ebx, ecx
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x160]
xor esi, esi
mov dword [esp + 0x158], esi
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp eax, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], esi
jbe 0x4718e7
push edi
jmp 0x47162d
mov ebp, dword [esp + 0x164]
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x54]
rep stosd dword es:[edi], eax
mov edi, 0x100
mov dword [esp + 0x18], 0x2c
test ebp, ebp
mov dword [esp + 0x1c], 0x36
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edi
je 0x471662
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [esp + 0x38]
test eax, eax
mov ebp, eax
je 0x471687
cmp dword [eax], 0x454d4a43
jne 0x4718d5
mov ecx, dword [esp + 0x16c]
test ecx, ecx
je 0x4716a0
cmp dword [esp + 0x28], 0xf000
jae 0x4718d5
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x1c], 0
test ecx, ecx
mov ecx, dword [esp + 0x20]
je 0x471813
test edi, ecx
jne 0x4717a0
mov edx, ecx
mov dword [esp + 0x1c], 0x10
or edx, edi
test eax, eax
mov dword [esp + 0x20], edx
jne 0x471793
push 0x10
call fcn.005e6f29
add esp, 4
test eax, eax
je 0x4716fc
mov edx, dword [0x6925b8]
mov esi, eax
mov dword [eax + 4], edx
mov dword [eax], 0x454d4a43
jmp 0x4716fe
xor esi, esi
mov eax, dword [ebx + 0x9c]
lea ecx, [ebx + 0x94]
push esi
push eax
mov ebp, esi
call fcn.005e5e65
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x60]
test eax, eax
jle 0x47173d
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push ecx
push edx
lea ecx, [ebx + 0x54]
call fcn.005e6e9c
test eax, eax
je 0x47177f
mov eax, dword [esp + 0x4c]
jmp 0x471782
mov eax, dword [ebx + 0x84]
test eax, eax
jle 0x471763
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x44]
push eax
push ecx
lea ecx, [ebx + 0x78]
call fcn.005e6e9c
test eax, eax
je 0x47177f
mov eax, dword [esp + 0x44]
jmp 0x471782
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x50]
push edx
push eax
lea ecx, [ebx + 0x30]
call fcn.005e6e9c
test eax, eax
je 0x47177f
mov eax, dword [esp + 0x50]
jmp 0x471782
or eax, 0xffffffff
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
or al, 0x20
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [ebp + 4]
call fcn.005eb10f
mov eax, dword [esp + 0x164]
test eax, eax
jne 0x4717af
xor edi, edi
jmp 0x4717b2
mov edi, dword [eax + 4]
lea esi, [ebx + 0xcc]
push 0
push edi
mov ecx, esi
call fcn.005e63d8
test eax, eax
jne 0x4717ce
push edi
mov ecx, esi
call fcn.005e638a
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4717ef
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4717ef
mov edx, dword [esp + 0x28]
add ebp, 4
push edx
push ebp
mov ecx, ebx
call fcn.00471cb0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4718d5
mov eax, dword [esp + 0x164]
test eax, eax
jne 0x4718c3
jmp 0x4718c6
test edi, ecx
je 0x471839
mov edx, dword [esp + 0x20]
add eax, 4
and dh, 0xfe
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], 0x10
call fcn.005eb0bf
jmp 0x471847
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
call fcn.005eb10f
test ebp, ebp
je 0x47185d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], 0
or al, 0x20
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x47188d
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x47188d
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebx
call fcn.00471cb0
test eax, eax
je 0x47188d
mov eax, dword [esp + 0x1c]
or al, 0x10
mov dword [esp + 0x1c], eax
test byte [esp + 0x1c], 0x10
je 0x4717f3
mov eax, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.00461f8d
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x60]
mov dword [esp + 0x48], edx
add esp, 0xc
mov eax, dword [eax - 8]
mov dword [esp + 0x40], eax
jmp 0x4717f3
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jb 0x471626
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x158], 0xffffffff
call fcn.005eaf86
mov ecx, dword [esp + 0x150]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0x10