Function at 0x4f2b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 8
push eax
mov dword [ebp - 0x10], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x552ab0
push 0
call fcn.004ecef0
call fcn.004f2950
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.004e34d0
mov dword [ebp - 0x74], 0x54182c
mov dword [ebp - 0x54], 0x541844
mov dword [ebp - 0x50], 0x541868
mov dword [ebp - 0x4c], 0x5418a8
mov dword [ebp - 0x48], 0x5418c4
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0xc], eax
lea esi, [ebp - 0x6c]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x551008
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x551020]
push 0x551008
mov dword [ebp - 0x64], ecx
mov dword [0x551020], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [0x552af4]
mov dword [ebp - 0x10], ebx
call fcn.004f2950
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push 0x81
push ebx
mov dword [ebp - 4], 0xffffffff
call esi
mov dword [ebp - 8], eax
test eax, eax
je 0x4f2cd9
push 0xf0
push 0x81
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 8], 0
test eax, eax
je 0x4f2c60
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
push dword [ebp - 8]
xor esi, esi
push ebx
call edi
test eax, eax
je 0x4f2cc6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4f2cc6
push dword [ebp + 8]
push ebx
call fcn.004f1090
add esp, 8
mov edi, eax
push esi
push 0x4e7070
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov dword [ebp - 4], eax
test eax, eax
je 0x4f2ca6
cmp eax, 0xffffffff
jne 0x4f2cae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp edi, ebx
je 0x4f2cce
test edi, edi
je 0x4f2cce
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4f2cce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4f2cd9
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x54]
call fcn.004e3760
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4f2cee
push eax
call fcn.004f3b00
mov edi, dword [0x552a1c]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x552ae8]
test esi, esi
je 0x4f2d50
cmp dword [esi + 4], 0
jle 0x4f2d1e
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x552ae8]
test esi, esi
je 0x4f2d50
mov eax, dword [esi]
test eax, eax
je 0x4f2d37
push eax
call fcn.005003a1
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004f3cb2
add esp, 8
push edi
mov dword [0x552ae8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x552ae4]
test esi, esi
je 0x4f2da9
mov eax, dword [esi]
test eax, eax
je 0x4f2d80
push eax
call fcn.005003a1
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4f2d97
push eax
call fcn.005003a1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.004f3cb2
add esp, 8
mov esi, dword [0x552adc]
test esi, esi
je 0x4f2ddb
cmp dword [esi], 0
je 0x4f2ddb
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4f2dc5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x4f2db8
mov esi, dword [0x55103c]
mov ecx, dword [0x551040]
cmp esi, ecx
jae 0x4f2e0a
nop dword [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x4f2e03
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x551040]
add esi, 4
cmp esi, ecx
jb 0x4f2df0
mov ecx, 0x552ab0
call fcn.004f1500
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10