Function at 0x492360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5f47
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4de880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0x2c], eax
call fcn.00401560
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x58], 0
je 0x4923e1
call fcn.00401560
mov dword [ebp - 0x1c], eax
push 5
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4923f4
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x492402
or eax, 0xffffffff
jmp 0x492612
mov ecx, dword [ebp - 0x44]
call fcn.0042b062
mov dword [ebp - 0x24], eax
call fcn.004258bc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x24], 0
je 0x492498
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x24], eax
je 0x492498
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x492498
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00406c60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x492498
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x120]
call eax
test eax, eax
je 0x492498
mov ecx, dword [ebp - 0x18]
call fcn.00429b74
test eax, eax
je 0x492498
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00429b8f
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x38]
call fcn.0042cfbb
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00427329
mov edx, dword [ebp - 0x24]
push edx
call fcn.00425814
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.0042b318
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x49254f
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x3c]
and ecx, 0x10
je 0x49252f
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 0x2028]
test eax, eax
jne 0x492504
mov dword [ebp - 0x3c], 4
mov ecx, dword [ebp - 0x44]
call fcn.00429a31
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
and ecx, 0x100
je 0x492523
mov edx, dword [ebp - 0x3c]
or edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004253dc
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x20], 0
je 0x49254f
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00429d62
jmp 0x492573
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406c50
cmp dword [ebp - 0x20], 0
je 0x492599
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00429b8f
cmp dword [ebp - 0x14], 0
je 0x4925ab
push 1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x24], 0
je 0x4925c9
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx + 0x20]
jne 0x4925c9
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [ebp - 0x44]
call fcn.0042b09c
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x58], 0
jne 0x4925f0
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x5c], 0
je 0x4925f9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406c40
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x58], 0
je 0x49260c
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4