Function at 0x1008b320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
call fcn.10129120
mov eax, dword [0x103c2f48]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x1037c9f0
push 0x1b5e
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x1008b354
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x103c2f48]
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call ebx
push 0x1037c9f8
push eax
call fcn.10129be0
push 0x1037ca10
mov dword [0x103c2f4c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x103c2f50], eax
mov eax, dword [0x103c2f48]
test eax, eax
je 0x1008b577
push 0x1037c9f0
push 0x1b5f
push eax
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x1008b420
mov edx, dword [0x103c2f48]
push esi
push edx
call edi
push eax
call ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x103c2f48]
push esi
push eax
call ebp
mov ecx, dword [0x103c2f4c]
push 0x1037ca28
push ecx
mov esi, eax
call fcn.101288a0
mov edx, dword [esp + 0x14]
push esi
push edx
call eax
mov dword [0x103b7960], eax
cmp eax, 0xffffffff
jne 0x1008b410
push 0
push 0
push 0x1037ca40
call sub.mfc90u.dll_AfxMessageBox
mov eax, dword [esp + 0x10]
mov dword [eax + 0x680], 0
jmp 0x1008b43c
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x680], 1
jmp 0x1008b43c
mov edx, dword [esp + 0x10]
push 0
push 0
push 0x1037ca90
mov dword [edx + 0x680], 0
call sub.mfc90u.dll_AfxMessageBox
mov eax, dword [0x103c2f48]
push 0x1037c9f0
push 0x1b68
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1008b4ca
mov ecx, dword [0x103c2f48]
push esi
push ecx
call edi
push eax
call ebx
mov edx, dword [0x103c2f48]
push esi
push edx
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
mov eax, dword [0x103c2f50]
push 0x1037ca28
push eax
call fcn.101288a0
mov ecx, dword [esp + 0x14]
push str.123456
push esi
push ecx
call eax
mov dword [0x103b7964], eax
cmp eax, 0xffffffff
jne 0x1008b4ba
push 0
push 0
push 0x1037caf8
call sub.mfc90u.dll_AfxMessageBox
mov edx, dword [esp + 0x10]
mov dword [edx + 0x680], 0
jmp 0x1008b4e6
mov eax, dword [esp + 0x10]
mov dword [eax + 0x680], 1
jmp 0x1008b4e6
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x1037ca90
mov dword [ecx + 0x680], 0
call sub.mfc90u.dll_AfxMessageBox
mov edx, dword [0x103c2f48]
push 0x1037c9f0
push 0x1b60
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1008b55c
mov eax, dword [0x103c2f48]
push esi
push eax
call edi
push eax
call ebx
mov ecx, dword [0x103c2f48]
push esi
push ecx
mov edi, eax
call ebp
mov edx, dword [0x103c2f4c]
push 0x1037ca28
push edx
mov esi, eax
call fcn.101288a0
push esi
push edi
call eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x688], eax
cmp eax, 0xffffffff
jne 0x1008b593
push 0
push 0
push str.ERROR102:
call sub.mfc90u.dll_AfxMessageBox
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
push 0
push 0
push str.ERROR101:
call sub.mfc90u.dll_AfxMessageBox
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
push 0
push 0
push str.ERROR100:
mov dword [edx + 0x680], 0
call sub.mfc90u.dll_AfxMessageBox
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret