Function at 0x424fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c22d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x24], eax
call fcn.004bd601
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x54], 0
je 0x42504d
call fcn.004bd601
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
push 5
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x425060
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42506e
or eax, 0xffffffff
jmp 0x4251f2
mov ecx, dword [ebp - 0x3c]
call fcn.004b1223
mov dword [ebp - 0x1c], eax
call fcn.004b30f6
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x4250b7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x1c], eax
je 0x4250b7
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4250b7
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x30]
call fcn.004b60b3
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004b43d5
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004b304e
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.004b14d6
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x425166
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
and eax, 0x10
je 0x425146
mov dword [ebp - 0x34], 4
cmp dword [ebp + 8], 0
jne 0x42511b
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x3c]
call fcn.004b509a
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x100
je 0x42513a
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004b2af2
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x1c], 0
je 0x425166
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.004b530b
jmp 0x42518a
mov dword [ebp - 4], 0xffffffff
call fcn.004b60c9
cmp dword [ebp - 0x14], 0
je 0x4251a8
push 1
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x1c], 0
je 0x4251c6
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x3c]
cmp eax, dword [ecx + 0x1c]
jne 0x4251c6
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
call dword [edx + 0x60]
mov ecx, dword [ebp - 0x3c]
call fcn.004b125d
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x54], 0
je 0x4251ec
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4