Function at 0x1008bf90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015c058
mov eax, dword fs:[0]
push eax
sub esp, 0x54c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x504], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4fc]
push 0x3e8
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
lea ecx, [ebp - 0x558]
call fcn.10106050
push 0x1018f940
push str.MENUDATA
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1008c237
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 ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea esi, [edi + 1]
push esi
call fcn.10050e10
push esi
push 0
push eax
mov dword [ebp - 0x500], eax
call fcn.1012b3b0
push edi
mov edi, dword [ebp - 0x500]
push ebx
push edi
call fcn.101406b0
add esp, 0x1c
lea ecx, [ebp - 0x558]
push 0
push 0
push edi
call fcn.10108da0
push str.TheAppMenu
lea ecx, [ebp - 0x558]
call fcn.10106c90
mov esi, eax
test esi, esi
je 0x1008c237
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
mov ecx, esi
call fcn.10106d30
mov ebx, eax
test ebx, ebx
je 0x1008c223
nop
push 0x1c
call fcn.10109ed3
mov esi, eax
add esp, 4
mov dword [ebp - 0x50c], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1008c0d8
mov eax, dword [esi]
jmp 0x1008c0da
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 2
mov dword [esi + 0x18], ecx
mov ecx, esi
push 0x1018344c
call fcn.10041f70
mov byte [ebp - 4], 0
push 0xc
mov dword [ebp - 0x508], esi
call fcn.10109ed3
mov edi, eax
push 0xc
mov dword [ebp - 0x510], edi
mov dword [edi], vtable.CMultiMenu.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10109ed3
add esp, 8
mov ecx, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov edx, dword [edi]
push eax
call dword [edx + 4]
mov dword [esi + 0x18], edi
mov ecx, dword [ebx + 0x20]
add ecx, 8
je 0x1008c21d
lea edx, [ebp - 0x114]
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1008c160
lea eax, [ebp - 0x114]
push eax
call fcn.101432ef
add esp, 4
lea eax, [ebp - 0x114]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x4fc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov edi, dword [ebp - 0x504]
mov ecx, edi
push ebx
call fcn.1008c290
cmp word [ebp - 0x4fc], 0
jne 0x1008c1d1
xor eax, eax
jmp 0x1008c1ef
lea eax, [ebp - 0x4fc]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008c1e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x4fc]
mov ecx, esi
push eax
call fcn.10041f70
mov ecx, ebx
call fcn.101070c0
mov ecx, dword [edi]
mov ebx, eax
lea eax, [ebp - 0x508]
push eax
call fcn.1008c700
test ebx, ebx
jne 0x1008c0a0
mov edi, dword [ebp - 0x500]
test edi, edi
je 0x1008c230
push edi
call fcn.10050e00
add esp, 4
mov esi, 1
jmp 0x1008c239
xor esi, esi
mov eax, dword [ebp - 0x524]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x101c44c0
je 0x1008c259
push eax
call fcn.10050e00
add esp, 4
lea ecx, [ebp - 0x558]
call fcn.10106400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 4