Function at 0x45dee0
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, 0x4bdab0
push 0
call fcn.004582a0
call fcn.0045dd00
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.0044e860
mov dword [ebp - 0x74], 0x4ac82c
mov dword [ebp - 0x54], 0x4ac844
mov dword [ebp - 0x50], 0x4ac868
mov dword [ebp - 0x4c], 0x4ac8a8
mov dword [ebp - 0x48], 0x4ac8c4
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 0x4bc008
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4bc020]
push 0x4bc008
mov dword [ebp - 0x64], ecx
mov dword [0x4bc020], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [0x4bdaf4]
mov dword [ebp - 0x10], ebx
call fcn.0045dd00
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 0x45e089
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 0x45e010
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 0x45e076
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45e076
push dword [ebp + 8]
push ebx
call fcn.0045c440
add esp, 8
mov edi, eax
push esi
push 0x452420
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 0x45e056
cmp eax, 0xffffffff
jne 0x45e05e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp edi, ebx
je 0x45e07e
test edi, edi
je 0x45e07e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x45e07e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x45e089
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x54]
call fcn.0044eaf0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x45e09e
push eax
call fcn.0045eeb0
mov edi, dword [0x4bda1c]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4bdae8]
test esi, esi
je 0x45e100
cmp dword [esi + 4], 0
jle 0x45e0ce
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x4bdae8]
test esi, esi
je 0x45e100
mov eax, dword [esi]
test eax, eax
je 0x45e0e7
push eax
call fcn.0046b751
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0045f062
add esp, 8
push edi
mov dword [0x4bdae8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4bdae4]
test esi, esi
je 0x45e159
mov eax, dword [esi]
test eax, eax
je 0x45e130
push eax
call fcn.0046b751
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45e147
push eax
call fcn.0046b751
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0045f062
add esp, 8
mov esi, dword [0x4bdadc]
test esi, esi
je 0x45e18b
cmp dword [esi], 0
je 0x45e18b
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x45e175
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 0x45e168
mov esi, dword [0x4bc03c]
mov ecx, dword [0x4bc040]
cmp esi, ecx
jae 0x45e1ba
nop dword [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x45e1b3
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x4bc040]
add esi, 4
cmp esi, ecx
jb 0x45e1a0
mov ecx, 0x4bdab0
call fcn.0045c8b0
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