Function at 0x421390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0xb0], 0
jne 0x4213f6
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0xb8], 0
jne 0x4213f6
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0xc0], 0
jne 0x4213f6
mov edx, 0x1e7
lea rcx, [0x005a79c8]
call fcn.00422700
test eax, eax
je 0x4213f6
int3
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0xb8]
mov qword [rsp + 0x70], rax
call fcn.00459300
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0xb0], 0
je 0x42147e
call fcn.00459300
mov qword [rsp + 0x50], rax
mov r8d, 5
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0xb0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x421496
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x4214aa
mov rax, 0xffffffffffffffff
jmp 0x42176f
mov rcx, qword [rsp + 0xc0]
call fcn.00421260
mov qword [rsp + 0x60], rax
call fcn.00439370
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x60], 0
je 0x42155e
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp qword [rsp + 0x60], rax
je 0x42155e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42155e
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_EnableWindow]
mov dword [rsp + 0x40], 1
call fcn.00459410
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x42155e
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x250]
test eax, eax
je 0x42155e
mov rcx, qword [rsp + 0x48]
call fcn.00415080
test eax, eax
je 0x42155e
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.00415120
mov dword [rsp + 0x58], 1
mov rcx, qword [rsp + 0xc0]
call fcn.00439250
mov rcx, qword [rsp + 0x60]
call fcn.004385e0
mov qword [rsp + 0x98], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xc0]
call fcn.00420850
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x42169b
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x78]
and eax, 0x10
test eax, eax
je 0x42165e
mov dword [rsp + 0x80], 4
mov rcx, qword [rsp + 0xc0]
call fcn.004146c0
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
and eax, 0x100
test eax, eax
je 0x421607
mov eax, dword [rsp + 0x80]
or eax, 1
mov dword [rsp + 0x80], eax
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.00443440
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x88]
cmp dword [rsp + 0xa8], eax
je 0x42165e
mov edx, 0x220
lea rcx, [0x005a7a00]
call fcn.00422700
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
je 0x42165e
int3
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x40], 0
je 0x42169b
mov dword [rsp + 0x30], 0x97
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.00414ee0
nop
cmp dword [rsp + 0x58], 0
je 0x4216b1
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.00415120
cmp dword [rsp + 0x40], 0
je 0x4216c8
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_EnableWindow]
cmp qword [rsp + 0x60], 0
je 0x4216ef
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [rsp + 0xc0]
cmp rax, qword [rcx + 0x40]
jne 0x4216ef
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + 0xd0]
mov rcx, qword [rsp + 0xc0]
call fcn.00421300
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0xb0], 0
jne 0x421739
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0xb8], 0
je 0x421743
mov rcx, qword [rsp + 0x70]
call fcn.0040f370
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0xb0], 0
je 0x421760
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rsp + 0xc0]
movsxd rax, dword [rax + 0x88]
add rsp, 0xb8
ret