Function at 0x4255d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6b58
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.004c1eab
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x54], 0
je 0x42564d
call fcn.004c1eab
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 0x425660
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 0x42566e
or eax, 0xffffffff
jmp 0x4257f2
mov ecx, dword [ebp - 0x3c]
call fcn.004b5acd
mov dword [ebp - 0x1c], eax
call fcn.004b79a0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x4256b7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x1c], eax
je 0x4256b7
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4256b7
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.004ba95d
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004b8c7f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004b78f8
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.004b5d80
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x425766
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
and eax, 0x10
je 0x425746
mov dword [ebp - 0x34], 4
cmp dword [ebp + 8], 0
jne 0x42571b
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x3c]
call fcn.004b9944
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x100
je 0x42573a
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.004b739c
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x1c], 0
je 0x425766
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.004b9bb5
jmp 0x42578a
mov dword [ebp - 4], 0xffffffff
call fcn.004ba973
cmp dword [ebp - 0x14], 0
je 0x4257a8
push 1
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x1c], 0
je 0x4257c6
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x3c]
cmp eax, dword [ecx + 0x1c]
jne 0x4257c6
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.004b5b07
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x54], 0
je 0x4257ec
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