Function at 0x1000a4cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
push 0xf1
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
mov dword [ebp - 8], eax
push 0xf1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000a51f
mov dword [ebp - 8], 0
push 0xf1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000a52c
xor eax, eax
jmp 0x1000a6aa
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1000a54a
xor eax, eax
jmp 0x1000a6aa
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000a564
xor eax, eax
jmp 0x1000a6aa
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 6]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], 0
jmp 0x1000a594
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x18], ecx
jge 0x1000a5be
mov ecx, dword [ebp - 0x10]
call fcn.1000b660
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov cx, word [eax + edx*2]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4], ecx
jmp 0x1000a58b
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x48]
call sub.MFC42.DLL_CToolBar::SetButtons
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x1000a694
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
push ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 2]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000a980
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 4]
add edx, 7
push edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 2]
add ecx, 7
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000a980
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
call sub.MFC42.DLL_CToolBar::SetSizes
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 2]
mov eax, dword [ebp - 0x48]
mov dword [eax + 0xa0], edx
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 4]
mov eax, dword [ebp - 0x48]
mov dword [eax + 0xa4], edx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.1000a6b0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1000b650
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4