Function at 0x180072ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1802ec4c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov edi, ecx
mov rbx, rdx
mov rcx, qword [0x180343f70]
mov rsi, r9
mov qword [rbp - 0x68], r8
lea r8, [rsp + 0x48]
mov qword [rbp - 0x70], rdx
lea rdx, [0x1802a0260]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [0x180343f78]
mov r8, rsi
movzx edx, di
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [0x180343f78]
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [0x180343f78]
xor r12d, r12d
mov rdx, rsi
mov dword [rsp + 0x40], r12d
mov rdi, rax
mov dword [rsp + 0x58], r12d
mov qword [rbp + 0xe0], r12
mov dword [rbp + 0x100], r12d
mov dword [rbp + 0x188], r12d
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x190], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
cdqe
xor r9d, r9d
add rax, rdi
lea r8, [rsp + 0x58]
mov qword [rbp + 0x1a8], rax
lea rdx, [rsp + 0x40]
mov qword [rbp + 0x198], rax
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rax
call fcn.180062610
mov r14, rax
test rax, rax
je 0x180073486
cmp dword [rbp + 0xb8], 8
mov r15d, dword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
je 0x180073022
mov r9d, 4
mov r8d, r15d
mov edx, edi
mov rcx, rax
call fcn.180062cf0
mov r14, rax
mov ecx, dword [0x180342d00]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
mov ecx, 0x10
cmp dword [rcx + rax], r12d
je 0x18007304a
mov ecx, 0x14
mov eax, dword [rcx + rax]
jmp 0x180073050
mov eax, dword [0x180343f88]
test eax, eax
je 0x180073067
mov r9d, 4
mov r8d, r15d
mov edx, edi
mov rcx, r14
call fcn.180062ea0
test r14, r14
je 0x180073486
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x38], rdx
lea rsi, [0x18029ff00]
movsxd rax, edi
lea r9, [rbp + 0x48]
mov qword [rbp + 0x8c], r12
lea rdx, [rbp + 0x80]
mov qword [rbp + 0x80], 1
xor r8d, r8d
mov dword [rbp + 0x88], r12d
mov qword [rbp + 0x48], 3
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], r15d
mov dword [rbp + 0x64], 0x10001
mov dword [rbp + 0x68], 0x1c
mov qword [rbp + 0x6c], 1
mov dword [rbp + 0x74], r12d
mov qword [rsp + 0x78], r12
mov rax, qword [rcx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x2c8], r13
mov dword [rsp + 0x20], 0x400
call qword [rax + 0xd8]
xor ecx, ecx
mov qword [rbp + 0x64], 0x10001
mov edx, 1
mov qword [rbp + 0x50], rcx
mov dword [rbp + 0x48], edx
lea r13d, [rdi*4]
mov dword [rbp + 0x60], edx
lea r12d, [r13 + 0xff]
mov qword [rbp + 0x6c], rdx
lea r9, [rbp + 0x48]
mov qword [rbp + 0x74], rdx
and r12d, 0xffffff00
mov dword [rbp + 0x88], ecx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x38], rdx
mov edi, r12d
mov qword [rsp + 0x60], rcx
lea rdx, [rbp + 0x80]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rbp + 0x80], 2
imul edi, r15d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0xac3
mov qword [rbp + 0x58], rdi
mov rax, qword [rcx]
call qword [rax + 0xd8]
mov rcx, qword [rsp + 0x60]
lea r9, [rbp - 0x78]
mov qword [rbp - 0x78], rsi
lea r8, [rbp + 0xa8]
mov qword [rbp + 0xa8], rsi
xor edx, edx
mov qword [rbp + 0xb0], rdi
mov rax, qword [rcx]
call qword [rax + 0x40]
mov edi, esi
test r15d, r15d
jle 0x1800731f8
movsxd rbx, r13d
mov ecx, edi
movsxd rdx, esi
imul ecx, r12d
add rdx, r14
mov r8, rbx
add rcx, qword [rbp - 0x78]
call fcn.180244e70
inc edi
add esi, r13d
cmp edi, r15d
jl 0x1800731d0
mov rbx, qword [rbp - 0x70]
xor esi, esi
mov rcx, qword [rsp + 0x60]
lea r8, [rbp + 0xa8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
lea r9, [0x18029fef0]
mov qword [rbp - 0x40], rax
mov r13d, 1
mov eax, dword [rsp + 0x40]
xorps xmm0, xmm0
mov dword [rbp - 0x24], eax
xor r8d, r8d
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x18], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x34], rsi
mov dword [rbp - 0x2c], esi
mov dword [rbp - 0x14], esi
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x28], 0x1c
mov dword [rbp - 0x20], r15d
mov dword [rbp - 0x1c], r13d
mov dword [rbp - 0x18], r12d
mov qword [rbp + 0x20], 0
movdqu xmmword [rbp + 0x2c], xmm0
mov qword [rbp + 0x3c], rsi
mov dword [rbp + 0x44], esi
mov dword [rbp + 0x28], esi
mov qword [rbp - 0x48], 0x80
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x50], 0xffffffff
mov dword [rbp - 0x4c], 0x400
mov qword [rsp + 0x70], rsi
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [rax + 0x120]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x68]
mov qword [rbp + 0x98], 0
lea r8, [0x18029fee0]
mov dword [rbp + 0xa0], esi
lea rdx, [rbp + 0x98]
mov dword [rbp + 0xa4], r13d
mov rdi, rax
mov qword [rsp + 0x68], rsi
mov r10, qword [rcx]
call qword [r10 + 0x40]
mov rcx, qword [rsp + 0x48]
lea r9, [rbp - 0x80]
mov qword [rbp - 0x80], rsi
lea r8, [0x18029fed0]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov r9, qword [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x30], rdx
lea rdx, [0x18029fec0]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
xor r9d, r9d
lea rdx, [rbp + 0x18]
xor r8d, r8d
call qword [rax + 0x80]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp - 0x60]
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0xd0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x50]
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x68]
mov r8d, r13d
mov rdx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov rcx, qword [rsp + 0x70]
mov r8, rdi
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
movzx eax, word [rbp + 0x66]
lea r8, [rbp - 0x10]
mov rcx, qword [rsp + 0x48]
xorps xmm0, xmm0
mov rdx, qword [rsp + 0x78]
mov r9, rbx
mov qword [rbp - 4], 0
movdqu xmmword [rbp + 8], xmm0
mov dword [rbp - 0x10], 0x1c
mov dword [rbp - 0xc], 4
mov dword [rbp + 4], eax
mov dword [rbp - 8], 0x1688
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rbp - 0x68]
mov rax, qword [rsp + 0x78]
mov qword [rcx], rax
mov rcx, r14
call fcn.180215358
movzx eax, r13b
mov r13, qword [rsp + 0x2c8]
jmp 0x180073488
xor al, al
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18020e120
add rsp, 0x2d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret