Function at 0x140001500
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x840
mov rax, qword [0x14008b040]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov ebx, dword [0x14008bc80]
xor ebp, ebp
test ebx, ebx
jne 0x14000153f
mov dword [0x14008bc80], ebp
call fcn.140002aa0
mov rcx, rax
test rax, rax
je 0x140001927
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140001df0
mov edx, ebp
mov rax, qword [0x14008fa08]
mov r8, qword [0x14008fa18]
cmp dword [rax], edx
je 0x140001599
mov rcx, r8
cmp qword [rcx], 0
je 0x140001599
cmp dword [rax], ebx
je 0x1400015ad
inc edx
add rcx, 8
add rax, 4
cmp dword [rax], 0
jne 0x140001580
mov rdx, qword [r8]
mov rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x1400015dd
mov r8d, ebp
jmp 0x1400015eb
movsxd rax, edx
mov rdx, qword [r8 + rax*8]
mov rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x1400015c5
mov r8d, ebp
jmp 0x1400015eb
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400015d0
jmp 0x1400015eb
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400015e0
lea rcx, [rsp + 0x20]
call fcn.140001ca0
call fcn.140002aa0
mov rcx, rax
test rax, rax
je 0x14000191c
mov rax, qword [rax]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x28], rdi
mov rbx, qword [rsp + 0x20]
lea r15, [rbx - 0x18]
mov r14, qword [0x14008f908]
add r14, 0xffffffffffffffe8
cmp r15, r14
je 0x14000168c
cmp dword [r14 + 0x10], 0
jl 0x140001679
mov rax, qword [r14]
cmp qword [r15], rax
jne 0x140001679
mov rcx, r15
call fcn.140001bb0
mov rbx, rax
mov ecx, esi
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x140001662
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rVariantCopy + 8]
lea rax, [rbx + 0x18]
mov qword [0x14008f908], rax
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
jmp 0x14000168c
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x14008f908]
call fcn.140001ca0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14006cda0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x3ff
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400016fb
lea rcx, [rsp + 0x30]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400016c6
dec eax
movsxd rcx, eax
test eax, eax
jle 0x1400016fb
nop dword [rax]
cmp word [rsp + rcx*2 + 0x30], 0x5c
je 0x1400016f4
dec eax
dec rcx
test rcx, rcx
jg 0x1400016e0
jmp 0x1400016fb
cdqe
mov word [rsp + rax*2 + 0x30], bp
cmp dword [0x14008bc80], 0
jne 0x140001737
mov rdx, qword [str.pl_rsrc_english.dll]
test rdx, rdx
jne 0x140001715
mov r8d, ebp
jmp 0x14000172b
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001720
lea rcx, [0x14008f908]
call fcn.140001ca0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14008f0e0], rax
test rax, rax
jne 0x140001882
mov rdx, qword [str.pl_rsrc_english.dll]
test rdx, rdx
jne 0x140001761
mov r8d, ebp
jmp 0x14000176f
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001764
lea rcx, [0x14008f908]
call fcn.140001ca0
mov word [rsp + 0x30], bp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x3ff
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001810
lea rcx, [rsp + 0x30]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400017b0
dec eax
movsxd rcx, eax
test eax, eax
jle 0x1400017de
cmp word [rsp + rcx*2 + 0x30], 0x5c
je 0x1400017d7
dec eax
dec rcx
test rcx, rcx
jg 0x1400017c3
jmp 0x1400017de
cdqe
mov word [rsp + rax*2 + 0x30], bp
mov r9, rsi
lea r8, [0x14007c064]
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14004c7b0
mov r9, rsi
mov r8, qword [0x14008f908]
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14004c7b0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14008f0e0], rax
test rax, rax
jne 0x1400018be
mov rdx, qword [str.pl_rsrc_english.dll]
lea rcx, [0x14008f908]
call fcn.1400019a0
lea rcx, [0x14008f908]
call fcn.140001a20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14008f0e0], rax
mov r9d, 0x10
lea r8, [0x14007bd58]
lea rdx, str.There_was_an_error_loading_the_resource_DLL_pl_rsrc_english.dll_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x800
call fcn.1400459cc
mov rbp, rax
mov r8, rbx
mov edx, 0x400
mov rcx, rax
call fcn.14004c8b4
mov r8, rsi
inc r8
cmp word [rbp + r8*2], 0
jne 0x1400018a2
mov rdx, rbp
lea rcx, [0x14008f908]
call fcn.140001ca0
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400018d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lock xadd dword [r15 + 0x10], esi
sub esi, 1
jg 0x1400018ef
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + VariantCopy]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1400454d0
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002830
nop
mov ecx, 0x80004005
call fcn.140002830
int3