Function at 0x1008c280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015c9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x54c
mov eax, dword [0x101ba0ec]
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.1012bd00
add esp, 0xc
lea ecx, [ebp - 0x558]
call fcn.101069c0
push 0x10190998
push str.MENUDATA
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1008c527
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.10050ec0
push esi
push 0
push eax
mov dword [ebp - 0x500], eax
call fcn.1012bd00
push edi
mov edi, dword [ebp - 0x500]
push ebx
push edi
call fcn.10140f70
add esp, 0x1c
lea ecx, [ebp - 0x558]
push 0
push 0
push edi
call fcn.10109710
push str.TheAppMenu
lea ecx, [ebp - 0x558]
call fcn.10107640
mov esi, eax
test esi, esi
je 0x1008c527
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.1012bd00
add esp, 0xc
mov ecx, esi
call fcn.101076e0
mov ebx, eax
test ebx, ebx
je 0x1008c513
nop
push 0x1c
call fcn.1010a843
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 0x1008c3c8
mov eax, dword [esi]
jmp 0x1008c3ca
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 0x1018444c
call fcn.10041f80
mov byte [ebp - 4], 0
push 0xc
mov dword [ebp - 0x508], esi
call fcn.1010a843
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.1010a843
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 0x1008c50d
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 0x1008c450
lea eax, [ebp - 0x114]
push eax
call fcn.10143c30
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.1008c580
cmp word [ebp - 0x4fc], 0
jne 0x1008c4c1
xor eax, eax
jmp 0x1008c4df
lea eax, [ebp - 0x4fc]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008c4d0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x4fc]
mov ecx, esi
push eax
call fcn.10041f80
mov ecx, ebx
call fcn.10107a70
mov ecx, dword [edi]
mov ebx, eax
lea eax, [ebp - 0x508]
push eax
call fcn.1008c9f0
test ebx, ebx
jne 0x1008c390
mov edi, dword [ebp - 0x500]
test edi, edi
je 0x1008c520
push edi
call fcn.10050eb0
add esp, 4
mov esi, 1
jmp 0x1008c529
xor esi, esi
mov eax, dword [ebp - 0x524]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x101c5520
je 0x1008c549
push eax
call fcn.10050eb0
add esp, 4
lea ecx, [ebp - 0x558]
call fcn.10106db0
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.1010a832
mov esp, ebp
pop ebp
ret 4