Function at 0x46d0a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x34
mov eax, 0x5007db
call fcn.004d9a2f
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.0044e7b7
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0044ea23
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x46d0fb
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.0044e7b7
or dword [ebp - 4], 0xffffffff
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040248a
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x46d19d
cmp word [eax], 0x3c
je 0x46d19d
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_2
push 3
push dword [0x54ec68]
call fcn.0044e7b7
add esp, 0x10
push dword [ebp + 8]
call fcn.00413b25
mov ecx, eax
call fcn.0044238e
push dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
push eax
call esi
push eax
push edi
push 3
push dword [0x54ec68]
call fcn.0044e7b7
mov edi, dword [ebp - 0x30]
add esp, 0x18
test edi, edi
je 0x46d19d
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_3
push 3
push dword [0x54ec68]
call fcn.0044e7b7
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.0044e7b7
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
add esp, 0x10
test cx, cx
je 0x46d237
cmp word [eax], 0x3c
jne 0x46d1f6
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_5
push edi
push dword [0x54ec68]
call fcn.0044e7b7
add esp, 0x10
push dword [ebp + 8]
mov ecx, ebx
call fcn.0046bc09
test al, al
jne 0x46d21b
xor eax, eax
jmp 0x46d2fd
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_6
push edi
push dword [0x54ec68]
call fcn.0044e7b7
add esp, 0x10
push 0
push dword [ebp + 8]
mov ecx, ebx
call fcn.0046bda7
jmp 0x46d1eb
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_7
push edi
push dword [0x54ec68]
call fcn.0044e7b7
add esp, 0x10
jmp 0x46d2d5
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_8
push edi
push dword [0x54ec68]
call fcn.0044e7b7
mov eax, dword [ebx + 0x148]
add esp, 0x10
test eax, eax
jne 0x46d25d
call fcn.0043b2b6
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 0x46d1ef
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x46d294
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46d1ef
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.0046bc54
test al, al
je 0x46d1ef
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.0044e7b7
add esp, 0x10
push dword [ebp - 0x3c]
mov ecx, ebx
push dword [ebp - 0x40]
push dword [ebp + 0x10]
call fcn.0046c107
call fcn.004d9ab2
ret 0x14