Function at 0x1002f285
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f1e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x28], eax
call fcn.10024159
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x84], 0
je 0x1002f30a
call fcn.10024159
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
push 5
mov eax, dword [ebp - 0x14]
push dword [eax + 0x84]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1002f31c
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1002f32a
or eax, 0xffffffff
jmp 0x1002f4a9
mov ecx, dword [ebp - 0x14]
call fcn.1002f1bf
mov dword [ebp - 0x18], eax
call fcn.100101e3
and dword [ebp - 0x30], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x18], 0
je 0x1002f3b3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x18], eax
je 0x1002f3b3
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1002f3b3
push 0
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.1000afe6
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1002f3b3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [eax + 0x150]
test eax, eax
je 0x1002f3b3
mov ecx, dword [ebp - 0x1c]
call fcn.1002e704
test eax, eax
je 0x1002f3b3
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.1002e73a
mov dword [ebp - 0x2c], 1
and dword [ebp - 4], 0
push dword [ebp - 0x14]
call fcn.10010185
push dword [ebp - 0x18]
call fcn.1000fa96
mov dword [ebp - 0x38], eax
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
call fcn.1002f0a1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1002f41d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x9c], 0
jne 0x1002f41d
call fcn.10024159
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x18]
call fcn.1000fa96
mov dword [ebp - 0x48], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
call fcn.1002f0a1
mov eax, dword [ebp - 0x14]
and dword [eax + 0x9c], 0
jmp 0x1002f448
or dword [ebp - 4], 0xffffffff
jmp 0x1002f452
cmp dword [ebp - 0x2c], 0
je 0x1002f462
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.1002e73a
cmp dword [ebp - 0x30], 0
je 0x1002f473
push 1
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x18], 0
je 0x1002f490
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x20]
jne 0x1002f490
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [eax + 0x60]
mov ecx, dword [ebp - 0x14]
call fcn.1002f225
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret