Function at 0x4c8b2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x30
mov eax, 0x5369f7
call fcn.00507124
mov edi, ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], eax
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_1
push 3
push dword [0x593c04]
call fcn.004c6a0f
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.004c6af9
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x4c8b85
mov eax, dword [eax]
push ebx
push eax
call esi
push eax
push str._INFO___d___CDialogBuilder::Create:_s___s
push 3
push dword [0x593c04]
call fcn.004c6a0f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
add esp, 0x18
push 0
push 1
call fcn.0044ea00
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
push 0x3c
pop ebx
test cx, cx
je 0x4c8c2b
cmp word [eax], bx
je 0x4c8c2b
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_2
push 3
push dword [0x593c04]
call fcn.004c6a0f
add esp, 0x10
push dword [ebp + 8]
call fcn.004670b9
mov ecx, eax
call fcn.004b8a41
push dword [ebp - 0x2c]
mov ebx, eax
push ebx
call esi
push eax
push str._INFO___d___CDialogBuilder::Create:_s___s
push 3
push dword [0x593c04]
call fcn.004c6a0f
add esp, 0x18
test ebx, ebx
je 0x4c8c28
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_3
push 3
push dword [0x593c04]
call fcn.004c6a0f
add esp, 0x10
mov dword [ebp + 8], ebx
push 0x3c
pop ebx
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_4
push 3
push dword [0x593c04]
call fcn.004c6a0f
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x4c8cc5
cmp word [eax], bx
jne 0x4c8c82
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_5
push 3
push dword [0x593c04]
call fcn.004c6a0f
add esp, 0x10
mov ecx, edi
push dword [ebp + 8]
call fcn.004c6e57
test al, al
jne 0x4c8ca8
xor eax, eax
jmp 0x4c8d8b
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_6
push 3
push dword [0x593c04]
call fcn.004c6a0f
add esp, 0x10
mov ecx, edi
push 0
push dword [ebp + 8]
call fcn.004c6ea2
jmp 0x4c8c77
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_7
push 3
push dword [0x593c04]
call fcn.004c6a0f
add esp, 0x10
jmp 0x4c8d63
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_8
push 3
push dword [0x593c04]
call fcn.004c6a0f
mov ebx, dword [edi + 0x148]
add esp, 0x10
test ebx, ebx
jne 0x4c8cee
call fcn.0049a4cf
mov ebx, eax
push dword [ebp - 0x2c]
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4c8c7b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4c8d23
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c8c7b
mov eax, dword [ebp + 0x10]
push 0
push dword [ebp - 0x30]
mov dword [edi + 0x140], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call fcn.004c719d
test al, al
je 0x4c8c7b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x144], eax
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_9
push 3
push dword [0x593c04]
call fcn.004c6a0f
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp + 0x10]
call fcn.004c7b2c
call fcn.005070d3
ret 0x14