Function at 0x46d0b1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x34
mov eax, 0x5007b4
call fcn.004d998f
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov ebx, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], eax
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_1
push 3
push dword [0x54ec68]
call fcn.0044e7b6
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0044ea22
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x46d107
mov eax, dword [eax]
push edi
push eax
call esi
push eax
mov edi, str._INFO___d___CDialogBuilder::Create:_s___s
push edi
push 3
push dword [0x54ec68]
call fcn.0044e7b6
or dword [ebp - 4], 0xffffffff
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040241d
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x46d1a9
cmp word [eax], 0x3c
je 0x46d1a9
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_2
push 3
push dword [0x54ec68]
call fcn.0044e7b6
add esp, 0x10
push dword [ebp + 8]
call fcn.00413b8a
mov ecx, eax
call fcn.00442320
push dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
push eax
call esi
push eax
push edi
push 3
push dword [0x54ec68]
call fcn.0044e7b6
mov edi, dword [ebp - 0x30]
add esp, 0x18
test edi, edi
je 0x46d1a9
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_3
push 3
push dword [0x54ec68]
call fcn.0044e7b6
add esp, 0x10
mov dword [ebp + 8], edi
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_4
push 3
pop edi
push edi
push dword [0x54ec68]
call fcn.0044e7b6
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
add esp, 0x10
test cx, cx
je 0x46d243
cmp word [eax], 0x3c
jne 0x46d202
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_5
push edi
push dword [0x54ec68]
call fcn.0044e7b6
add esp, 0x10
push dword [ebp + 8]
mov ecx, ebx
call fcn.0046bc15
test al, al
jne 0x46d227
xor eax, eax
jmp 0x46d309
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_6
push edi
push dword [0x54ec68]
call fcn.0044e7b6
add esp, 0x10
push 0
push dword [ebp + 8]
mov ecx, ebx
call fcn.0046bdb3
jmp 0x46d1f7
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_7
push edi
push dword [0x54ec68]
call fcn.0044e7b6
add esp, 0x10
jmp 0x46d2e1
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_8
push edi
push dword [0x54ec68]
call fcn.0044e7b6
mov eax, dword [ebx + 0x148]
add esp, 0x10
test eax, eax
jne 0x46d269
call fcn.0043b248
push dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x46d1fb
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x46d2a0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46d1fb
mov eax, dword [ebp + 0x10]
push 0
push edi
push dword [ebp - 0x34]
mov dword [ebx + 0x140], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, ebx
call fcn.0046bc60
test al, al
je 0x46d1fb
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x144], eax
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_9
push 3
push dword [0x54ec68]
call fcn.0044e7b6
add esp, 0x10
push dword [ebp - 0x3c]
mov ecx, ebx
push dword [ebp - 0x40]
push dword [ebp + 0x10]
call fcn.0046c113
call fcn.004d9a12
ret 0x14