Function at 0x180006fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x480], rbx
mov qword [rbp + 0x490], rsi
mov rax, qword [0x1801d72c0]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov r12, r9
mov r14, rdx
xor esi, esi
mov ebx, esi
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rsi
xor edx, edx
mov r8d, 0x408
lea rcx, [rbp + 0x30]
call fcn.180183cb0
mov qword [rbp + 0x30], rsi
test r14, r14
je 0x180007298
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], 0
jne 0x180007040
inc eax
cdqe
lea r15, [rax + rax]
mov eax, 0x80000000
add rax, r15
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x180007298
movsxd rdi, r15d
cmp r15d, 0x400
jg 0x1800070a7
mov rcx, rdi
call fcn.180006370
test al, al
je 0x1800070a7
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x180007094
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1801533d0
sub rsp, rax
lea rdi, [rsp + 0x40]
jmp 0x1800070d8
mov rax, rdi
not rax
cmp rax, 0x10
jb 0x1800072f2
lea rcx, [rdi + 0x10]
call fcn.180169f60
test rax, rax
jne 0x1800070ca
mov rdi, rsi
jmp 0x1800070d8
mov qword [rax], rsi
mov rbx, rax
mov qword [rbp + 0x18], rax
lea rdi, [rax + 0x10]
test rdi, rdi
je 0x180007294
mov byte [rdi], 0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9d, 0xffffffff
mov r8, r14
xor edx, edx
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x180007294
xor edx, edx
mov r8d, 0x60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rsi, rax
mov qword [rbp + 8], rax
test rax, rax
jne 0x18000715c
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rsi, rax
mov qword [rbp + 8], rax
test rax, rax
jne 0x18000715c
call fcn.180006460
mov edi, eax
jmp 0x18000725e
mov r8, r12
mov edx, 0x65
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x18000717f
call fcn.180006460
jmp 0x18000724d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800071a1
call fcn.180006460
jmp 0x18000724d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rbp], edi
lea eax, [rdi + 1]
cmp eax, edi
jae 0x1800071c3
mov edi, 0x8007000e
jmp 0x18000724f
mov ecx, eax
test eax, eax
je 0x1800071f6
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jb 0x1800072fd
cmp rcx, 0x400
jbe 0x1800071f6
mov rdx, rcx
lea rcx, [rbp + 0x30]
call fcn.1800337e0
jmp 0x1800071fe
lea rax, [rbp + 0x38]
mov qword [rbp + 0x30], rax
jmp 0x18000720f
cmp qword [rbp + 0x30], 0
jne 0x18000721d
mov edi, 0x8007000e
jmp 0x18000724f
test rdi, rdi
je 0x180007231
mov r8, rdi
mov rdx, r14
mov rcx, qword [rbp + 0x30]
call fcn.180183610
mov rax, qword [rbp + 0x30]
mov byte [rdi + rax], 0
mov r8d, dword [rbp + 0x4a0]
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x20]
call fcn.1800080c0
mov edi, eax
test rsi, rsi
je 0x18000725e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rbp + 0x38]
cmp qword [rbp + 0x30], rax
je 0x180007272
lea rcx, [rbp + 0x30]
call fcn.180031340
nop
test rbx, rbx
je 0x180007290
nop word [rax + rax]
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.18015f318
test rbx, rbx
jne 0x180007280
mov eax, edi
jmp 0x1800072c5
mov rsi, qword [rbp + 0x30]
lea rax, [rbp + 0x38]
cmp rsi, rax
je 0x1800072ab
lea rcx, [rbp + 0x30]
call fcn.180031340
nop
test rbx, rbx
je 0x1800072c0
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.18015f318
test rbx, rbx
jne 0x1800072b0
mov eax, 0x8007000e
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1801525e0
mov rbx, qword [rbp + 0x480]
mov rsi, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80070216
call fcn.180001860
nop
mov ecx, 0x80070216
call fcn.180001860
int3