Function at 0x1400018c0
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 [0x140077040]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov ebx, dword [0x140077c50]
xor ebp, ebp
test ebx, ebx
jne 0x1400018ff
mov dword [0x140077c50], ebp
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x140001ce7
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140002ba0
mov edx, ebp
mov rax, qword [0x14007ddb8]
mov r8, qword [0x14007ddc8]
cmp dword [rax], edx
je 0x140001959
mov rcx, r8
cmp qword [rcx], 0
je 0x140001959
cmp dword [rax], ebx
je 0x14000196d
inc edx
add rcx, 8
add rax, 4
cmp dword [rax], 0
jne 0x140001940
mov rdx, qword [r8]
mov rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x14000199d
mov r8d, ebp
jmp 0x1400019ab
movsxd rax, edx
mov rdx, qword [r8 + rax*8]
mov rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x140001985
mov r8d, ebp
jmp 0x1400019ab
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001990
jmp 0x1400019ab
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400019a0
lea rcx, [rsp + 0x20]
call fcn.140002210
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x140001cdc
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 [0x14007ddd0]
add r14, 0xffffffffffffffe8
cmp r15, r14
je 0x140001a4c
cmp dword [r14 + 0x10], 0
jl 0x140001a39
mov rax, qword [r14]
cmp qword [r15], rax
jne 0x140001a39
mov rcx, r15
call fcn.140002120
mov rbx, rax
mov ecx, esi
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x140001a22
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rVariantCopy + 8]
lea rax, [rbx + 0x18]
mov qword [0x14007ddd0], rax
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
jmp 0x140001a4c
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x14007ddd0]
call fcn.140002210
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14005af20
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 0x140001abb
lea rcx, [rsp + 0x30]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001a86
dec eax
movsxd rcx, eax
test eax, eax
jle 0x140001abb
nop dword [rax]
cmp word [rsp + rcx*2 + 0x30], 0x5c
je 0x140001ab4
dec eax
dec rcx
test rcx, rcx
jg 0x140001aa0
jmp 0x140001abb
cdqe
mov word [rsp + rax*2 + 0x30], bp
cmp dword [0x140077c50], 0
jne 0x140001af7
mov rdx, qword [str.pl_rsrc_english.dll]
test rdx, rdx
jne 0x140001ad5
mov r8d, ebp
jmp 0x140001aeb
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001ae0
lea rcx, [0x14007ddd0]
call fcn.140002210
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14007cd10], rax
test rax, rax
jne 0x140001c42
mov rdx, qword [str.pl_rsrc_english.dll]
test rdx, rdx
jne 0x140001b21
mov r8d, ebp
jmp 0x140001b2f
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001b24
lea rcx, [0x14007ddd0]
call fcn.140002210
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 0x140001bd0
lea rcx, [rsp + 0x30]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001b70
dec eax
movsxd rcx, eax
test eax, eax
jle 0x140001b9e
cmp word [rsp + rcx*2 + 0x30], 0x5c
je 0x140001b97
dec eax
dec rcx
test rcx, rcx
jg 0x140001b83
jmp 0x140001b9e
cdqe
mov word [rsp + rax*2 + 0x30], bp
mov r9, rsi
lea r8, [0x140068280]
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.140040de0
mov r9, rsi
mov r8, qword [0x14007ddd0]
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.140040de0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14007cd10], rax
test rax, rax
jne 0x140001c7e
mov rdx, qword [str.pl_rsrc_english.dll]
lea rcx, [0x14007ddd0]
call fcn.140001e00
lea rcx, [0x14007ddd0]
call fcn.140001f50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14007cd10], rax
mov r9d, InitCommonControls
lea r8, [0x140068168]
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.140039d3c
mov rbp, rax
mov r8, rbx
mov edx, 0x400
mov rcx, rax
call fcn.140040ee4
mov r8, rsi
inc r8
cmp word [rbp + r8*2], 0
jne 0x140001c62
mov rdx, rbp
lea rcx, [0x14007ddd0]
call fcn.140002210
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140001c98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lock xadd dword [r15 + 0x10], esi
sub esi, 1
jg 0x140001caf
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.1400398f0
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.140002c40
nop
mov ecx, 0x80004005
call fcn.140002c40
int3