Function at 0x428890
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 [0x6ee058]
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 [0x6ee058]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x6ee058]
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 0x42895a
add ebx, 4
cmp ebx, eax
jae 0x428ad7
test ebp, ebp
je 0x428975
mov eax, dword [ebx + 0xc]
add ebx, 0xc
mov dword [esp + 0x14], eax
add ebx, 6
jmp 0x42898f
mov ax, word [ebx]
add ebx, 2
test al, 0x10
mov dword [esp + 0x10], eax
jne 0x42898f
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 0x4289bc
add ebx, 2
cmp word [ebx], 0
jne 0x4289b3
add ebx, 2
test ebp, ebp
je 0x4289e7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5d0]
lea edx, [esp + 0x1cc]
push 0
push edx
push eax
push ecx
call fcn.004286d0
add esp, 0x10
jmp 0x428acd
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 0x428a85
mov edi, dword [esp + esi*4 + 0xcc]
mov eax, dword [esp + 0x5d0]
cmp eax, edi
jne 0x428a43
cmp dword [esp + 0x5d4], 0x81
jne 0x428a43
lea edx, [esp + 0x1cc]
push 1
push edx
push ebp
push edi
call fcn.004286d0
mov eax, dword [esp + 0x20]
add esp, 0x10
and eax, 0x80
mov dword [esp + esi*4 + 0x14c], eax
jmp 0x428a6b
lea ecx, [esp + 0x1cc]
push 1
lea edx, [ebp - 1]
push ecx
push edx
push edi
call fcn.004286d0
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 0x428ac9
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.004286d0
mov al, byte [esp + 0x20]
add esp, 0x10
test al, 0x80
je 0x428ac9
dec esi
js 0x428ad7
lea eax, [esp + esi*4 + 0x14c]
cmp dword [eax], 0
je 0x428ac5
dec esi
sub eax, 4
test esi, esi
jl 0x428ad7
jmp 0x428ab6
test esi, esi
jl 0x428ad7
mov ebp, dword [esp + 0x18]
cmp ebx, dword [esp + 0x1c]
jb 0x428962
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5bc
ret