Function at 0x473043
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x34
mov eax, 0x501164
call fcn.004da051
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 [0x54eec8]
call fcn.00454824
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.00454a90
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x473099
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 [0x54eec8]
call fcn.00454824
or dword [ebp - 4], 0xffffffff
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402476
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x47313b
cmp word [eax], 0x3c
je 0x47313b
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_2
push 3
push dword [0x54eec8]
call fcn.00454824
add esp, 0x10
push dword [ebp + 8]
call fcn.004143f6
mov ecx, eax
call fcn.00442a66
push dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
push eax
call esi
push eax
push edi
push 3
push dword [0x54eec8]
call fcn.00454824
mov edi, dword [ebp - 0x30]
add esp, 0x18
test edi, edi
je 0x47313b
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_3
push 3
push dword [0x54eec8]
call fcn.00454824
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 [0x54eec8]
call fcn.00454824
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x10
add esp, 0x10
test cx, cx
je 0x4731d5
cmp word [eax], 0x3c
jne 0x473194
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_5
push edi
push dword [0x54eec8]
call fcn.00454824
add esp, 0x10
push dword [ebp + 8]
mov ecx, ebx
call fcn.00471ba7
test al, al
jne 0x4731b9
xor eax, eax
jmp 0x47329b
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_6
push edi
push dword [0x54eec8]
call fcn.00454824
add esp, 0x10
push 0
push dword [ebp + 8]
mov ecx, ebx
call fcn.00471d45
jmp 0x473189
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_7
push edi
push dword [0x54eec8]
call fcn.00454824
add esp, 0x10
jmp 0x473273
call esi
push eax
push str._INFO___d___CDialogBuilder::Create_8
push edi
push dword [0x54eec8]
call fcn.00454824
mov eax, dword [ebx + 0x148]
add esp, 0x10
test eax, eax
jne 0x4731fb
call fcn.0043b916
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 0x47318d
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x473232
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x47318d
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.00471bf2
test al, al
je 0x47318d
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 [0x54eec8]
call fcn.00454824
add esp, 0x10
push dword [ebp - 0x3c]
mov ecx, ebx
push dword [ebp - 0x40]
sar bh, 0x75
adc al, ch
or ch, dh
invalid
invalid
call fcn.004da0d4
ret 0x14