Function at 0x10047bc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x4ec
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x4ec], eax
push 0x60
mov eax, 0x1016e5dc
call fcn.10075e22
mov esi, dword [ebp + 0x4f8]
xor ebx, ebx
push 0x3e6
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], ecx
mov word [ebp], bx
call fcn.10076580
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.1004f200
push 0x1017439c
push str.MENUDATA
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x10047c60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10004e0a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4ec]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x4f0
leave
ret 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea edi, [esi + 1]
push edi
call fcn.10052b12
push edi
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.10076580
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.10076cd0
add esp, 0x1c
push ebx
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.10051700
push str.TheAppMenu
lea ecx, [ebp - 0x68]
call fcn.1004e720
mov esi, eax
cmp esi, ebx
jne 0x10047cd2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10004e0a
mov eax, ebx
jmp 0x10047c3b
push 0x103
lea eax, [ebp + 0x3e9]
push ebx
push eax
mov byte [ebp + 0x3e8], bl
call fcn.10076580
add esp, 0xc
mov ecx, esi
call fcn.1004e7c0
mov edi, eax
jmp 0x10047dd6
push 0x20
call fcn.10052ae7
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x10047d1a
mov ecx, eax
call fcn.1004842f
mov dword [ebp - 0x10], eax
jmp 0x10047d1d
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
push 0xc
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], eax
call fcn.10052ae7
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x10047d44
mov ecx, eax
call fcn.100485fa
mov esi, eax
jmp 0x10047d46
xor esi, esi
push 0x10
mov byte [ebp - 4], bl
call fcn.10052ae7
pop ecx
cmp eax, ebx
je 0x10047d60
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x10047d62
xor eax, eax
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call dword [edx + 4]
mov ecx, dword [ebp - 0x10]
push esi
call fcn.100483d4
mov eax, dword [edi + 0x20]
add eax, 8
je 0x10047dde
push eax
lea eax, [ebp + 0x3e8]
push eax
call fcn.10076ae0
lea eax, [ebp + 0x3e8]
push eax
call fcn.1007c969
lea eax, [ebp]
push eax
lea eax, [ebp + 0x3e8]
push eax
call fcn.1001db01
add esp, 0x14
push esi
mov esi, dword [ebp - 0x1c]
push edi
mov ecx, esi
call fcn.100479ed
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.10048461
mov ecx, edi
call fcn.1004e830
mov ecx, dword [esi]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
call fcn.1004de53
cmp edi, ebx
jne 0x10047cfb
cmp dword [ebp - 0x14], ebx
je 0x10047dec
push dword [ebp - 0x14]
call fcn.10052b17
pop ecx
xor ebx, ebx
inc ebx
jmp 0x10047cbf