Function at 0x428d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x5bc
push ebx
mov ebx, dword [esp + 0x5c4]
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
push eax
xor esi, esi
push 1
push esi
push ebx
mov dword [esp + 0x30], 0x2c
mov dword [esp + 0x34], 6
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], esi
rep stosd dword es:[edi], eax
mov ecx, 0x1f
lea edi, [esp + 0x150]
mov dword [esp + 0x14c], esi
mov edx, dword [0x6e8b40]
rep stosd dword es:[edi], eax
mov ecx, 0x1f
lea edi, [esp + 0xd0]
mov dword [esp + 0xcc], ebx
push 4
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x5d8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
mov eax, dword [0x6e8b40]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x6e8b40]
push ebx
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor ebp, ebp
xor edx, edx
mov bp, word [edi]
mov dx, word [edi + 2]
add eax, edi
mov dword [esp + 0x18], ebp
test ebp, ebp
mov dword [esp + 0x1c], eax
lea ebx, [edi + edx + 4]
je 0x428e0a
add ebx, 4
cmp ebx, eax
jae 0x428f87
test ebp, ebp
je 0x428e25
mov eax, dword [ebx + 0xc]
add ebx, 0xc
mov dword [esp + 0x14], eax
add ebx, 6
jmp 0x428e3f
mov ax, word [ebx]
add ebx, 2
test al, 0x10
mov dword [esp + 0x10], eax
jne 0x428e3f
xor eax, eax
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x14], eax
push 0
push 0
lea ecx, [esp + 0x1d4]
push 0x400
push ecx
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp word [ebx], 0
je 0x428e6c
add ebx, 2
cmp word [ebx], 0
jne 0x428e63
add ebx, 2
test ebp, ebp
je 0x428e97
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5d0]
lea edx, [esp + 0x1cc]
push 0
push edx
push eax
push ecx
call fcn.00428b80
add esp, 0x10
jmp 0x428f7d
mov ecx, dword [esp + esi*4 + 0x4c]
mov al, byte [esp + 0x10]
inc ecx
test al, 0x10
mov dword [esp + esi*4 + 0x4c], ecx
mov ebp, ecx
je 0x428f35
mov edi, dword [esp + esi*4 + 0xcc]
mov eax, dword [esp + 0x5d0]
cmp eax, edi
jne 0x428ef3
cmp dword [esp + 0x5d4], 0x81
jne 0x428ef3
lea edx, [esp + 0x1cc]
push 1
push edx
push ebp
push edi
call fcn.00428b80
mov eax, dword [esp + 0x20]
add esp, 0x10
and eax, 0x80
mov dword [esp + esi*4 + 0x14c], eax
jmp 0x428f1b
lea ecx, [esp + 0x1cc]
push 1
lea edx, [ebp - 1]
push ecx
push edx
push edi
call fcn.00428b80
mov eax, dword [esp + 0x20]
add esp, 0x10
and eax, 0x80
dec ebp
mov dword [esp + esi*4 + 0x14c], eax
push ebp
push edi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [esp + esi*4 + 0xd0], eax
inc esi
mov dword [esp + esi*4 + 0x4c], 0
jmp 0x428f79
mov edx, dword [esp + 0x14]
mov eax, dword [esp + esi*4 + 0xcc]
lea ecx, [esp + 0x1cc]
push 0
push ecx
push edx
push eax
call fcn.00428b80
mov al, byte [esp + 0x20]
add esp, 0x10
test al, 0x80
je 0x428f79
dec esi
js 0x428f87
lea eax, [esp + esi*4 + 0x14c]
cmp dword [eax], 0
je 0x428f75
dec esi
sub eax, 4
test esi, esi
jl 0x428f87
jmp 0x428f66
test esi, esi
jl 0x428f87
mov ebp, dword [esp + 0x18]
cmp ebx, dword [esp + 0x1c]
jb 0x428e12
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5bc
ret