Function at 0x14002d9a4
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Enumerate processes
Query or enumerate registry value
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x328]
sub rsp, 0x400
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
xor edi, edi
mov qword [0x14021c5d0], rcx
mov esi, edi
mov qword [0x1402279c0], rcx
mov r12d, r9d
mov r14, r8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14002da0a
lea rcx, [0x140029a78]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ebx, 0x114
lea rcx, [rbp - 0x50]
mov r8d, ebx
xor edx, edx
call fcn.14013b230
mov r8d, 2
lea rcx, [0x14021c610]
mov rdx, rcx
lea rax, [rbp - 0x50]
lea r15d, [r8 + 0x7e]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r15
movups xmmword [rdx + 0x60], xmm0
add rdx, r15
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x14002da35
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], eax
mov dword [0x14021c610], ebx
call fcn.1401229cc
movzx ecx, word [0x14021c618]
mov eax, 0xff
and cx, ax
movzx eax, word [0x14021c614]
shl ax, 8
or cx, ax
mov word [0x1401e30e4], cx
call fcn.140120014
lea rax, [fcn.14002b0f8]
mov qword [0x140230240], rax
lea rax, [0x14005e140]
mov qword [0x140230248], rax
call fcn.14011fec8
lea rax, [fcn.140131f84]
mov qword [0x140227970], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rax + rbx]
call fcn.1401469a0
call fcn.140123140
test al, al
je 0x14002db12
call fcn.140048bd0
lea rcx, [rsp + 0x70]
call fcn.140120d54
or r13, 0xffffffffffffffff
test r14, r14
je 0x14002db5c
cmp byte [r14], dil
je 0x14002db5c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdx, eax
lea rcx, [rsp + 0x70]
lea ebx, [rax + 1]
call fcn.140121228
mov r9d, r13d
mov dword [rsp + 0x28], ebx
mov r8, r14
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x50]
call fcn.140120d54
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8, r13
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.140121718
lea rcx, [rsp + 0x50]
call fcn.14012148c
test al, al
je 0x14002db9e
mov r8, r13
lea rdx, [0x14015a140]
lea rcx, [rsp + 0x50]
call fcn.140121718
lea rcx, [rsp + 0x50]
call fcn.140058574
mov rcx, rax
call fcn.140028c54
call fcn.1400292bc
mov ecx, 0x600
mov qword [0x14021c5a0], rax
cmp word [0x1401e30e4], cx
jb 0x14002dbd2
mov rcx, rax
call fcn.140048c94
call fcn.140123528
mov byte [0x14021c5bd], al
mov r14d, 6
test al, al
je 0x14002dbf7
lea rdx, str.Liberation_Mono
lea rcx, [0x1401e30f0]
jmp 0x14002dc44
cmp dword [0x14021c614], r14d
jb 0x14002dc49
xor r9d, r9d
mov dword [rsp + 0x34], edi
lea r8, [rsp + 0x34]
xor edx, edx
mov ecx, 0x1048
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14002dc36
cmp dword [rsp + 0x34], edi
je 0x14002dc36
lea rdx, str.Consolas
lea rcx, [0x1401e30f0]
call fcn.14000128c
lea rdx, str.Segoe_UI
lea rcx, str.Tahoma
call fcn.14000128c
call fcn.140123210
mov byte [0x14021c5be], al
test al, al
je 0x14002dd56
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_GetOEMCP]
mov ebx, eax
test eax, eax
je 0x14002dd56
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionConsoleTrueTypeFont
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002dd56
mov r8d, ebx
lea rdx, [0x140167f50]
lea rcx, [rbp + 0x270]
call fcn.14000d060
mov r8, r15
lea rcx, [rbp + 0x1f0]
xor edx, edx
call fcn.14013b230
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x270]
lea rax, [rbp + 0x1f0]
mov dword [rsp + 0x34], 0x7e
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002dd4b
cmp word [rbp + 0x1f0], di
je 0x14002dd4b
lea edx, [rax + 0x3f]
lea rcx, [rbp + 0x1f0]
call fcn.14013a9b0
test rax, rax
jne 0x14002dd4b
cmp word [rbp + 0x1f0], 0x2a
lea rax, [rbp + 0x1f0]
lea rdx, [rbp + 0x1f2]
mov r8d, 0x20
cmovne rdx, rax
lea rcx, [0x1401e3170]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14002b8f0
mov ecx, 0x18
call fcn.14011ff78
mov rbx, rax
test rax, rax
je 0x14002dd7f
call fcn.140120014
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
jmp 0x14002dd82
mov rbx, rdi
mov ecx, 0x148
mov qword [0x14021c5c0], rbx
call fcn.14011ff78
test rax, rax
je 0x14002dda2
mov rcx, rax
call fcn.140052a44
jmp 0x14002dda5
mov rax, rdi
mov ecx, 0x12ff0
mov qword [0x14021c5c8], rax
call fcn.14011ff78
test rax, rax
je 0x14002ddc5
mov rcx, rax
call fcn.140087ea8
jmp 0x14002ddc8
mov rax, rdi
mov ecx, 0x7df8
mov qword [0x14021c748], rax
call fcn.14011ff78
test rax, rax
je 0x14002dde8
mov rcx, rax
call fcn.14000d48c
jmp 0x14002ddeb
mov rax, rdi
mov qword [0x14021c5d8], rax
call fcn.140067c18
mov ebx, 0x1e
lea rcx, [0x14021c788]
mov edx, ebx
mov r8b, 1
call fcn.14002a1d4
mov r8b, 1
lea rcx, [0x14021c768]
mov edx, ebx
call fcn.14002a1d4
call fcn.140123b88
mov qword [0x1402279b8], rax
call fcn.140003df4
call fcn.14012f370
mov rcx, qword [0x14021c5a0]
mov qword [rcx + 0x70], rax
lea rcx, [rsp + 0x60]
mov rax, qword [0x14021c748]
mov dword [rax + 0x11b44], edi
mov rax, qword [0x14021c748]
mov dword [rax + 0x11b48], edi
call fcn.140120d54
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x30], dil
mov r15b, dil
mov dword [rsp + 0x38], edi
call fcn.140058574
mov rcx, qword [0x14021c5d8]
lea r8, [rsp + 0x38]
add rcx, 0x4e8
mov rdx, rax
call fcn.14003f184
test al, al
jne 0x14002dea1
mov edi, dword [rsp + 0x38]
jmp 0x14002ea9c
mov rcx, qword [0x14021c5d8]
add rcx, 0xa00
call fcn.14003e93c
mov cl, al
call fcn.140028e38
test eax, eax
jns 0x14002dec9
mov edi, ILGetSize
jmp 0x14002ea9c
mov rcx, qword [0x14021c5d8]
add rcx, 0xa00
call fcn.14003e93c
test al, al
je 0x14002defb
mov rcx, qword [0x14021c5d8]
add rcx, 0xa10
call fcn.14003e93c
test al, al
jne 0x14002ea9c
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x8a4], dil
je 0x14002df2d
add rcx, 0x898
call fcn.14003f160
mov rcx, qword [0x14021c748]
mov rdx, rax
call fcn.14008f550
mov rcx, qword [0x14021c5d8]
add rcx, 0x8c8
call fcn.14003e93c
mov rcx, qword [0x14021c5d8]
test al, al
je 0x14002df4b
call fcn.140022874
jmp 0x14002df75
cmp byte [rcx + 0x8e4], dil
je 0x14002df75
add rcx, 0x8d8
call fcn.14003f160
mov rcx, qword [0x14021c5d8]
mov rdx, rax
mov r9b, 1
xor r8d, r8d
call fcn.140022568
call fcn.14002c200
mov rcx, qword [0x14021c5d8]
xor edx, edx
call fcn.1400277e8
mov rcx, qword [0x14021c5d8]
add rcx, 0xa40
mov byte [rsp + 0x31], dil
call fcn.14003e93c
test al, al
je 0x14002dfc0
mov rax, qword [0x14021c748]
mov byte [rax + 0x11b3c], 1
mov rcx, qword [0x14021c740]
call fcn.14007ead8
jmp 0x14002dfd4
mov rcx, qword [0x14021c740]
lea rdx, [rsp + 0x31]
xor r8d, r8d
call fcn.1400804bc
mov rcx, qword [0x14021c5d8]
add rcx, 0x810
call fcn.14012148c
test al, al
jne 0x14002e083
mov rax, qword [0x14021c5d8]
cmp dword [rax + 0x824], r13d
jne 0x14002e083
lea rcx, [rbp - 0x80]
call fcn.1401286a8
mov rcx, qword [0x14021c5d8]
add rcx, 0x810
call fcn.140058574
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14012571c
test rax, rax
je 0x14002e07a
lea rcx, [rbp - 0x80]
call fcn.140058574
mov rcx, rax
call fcn.1401051ec
test al, al
je 0x14002e07a
mov rcx, qword [0x14021c5d8]
add rcx, 0x800
call fcn.1401211c4
lea rcx, [rbp - 0x80]
call fcn.140058574
mov rcx, rax
call fcn.140105838
lea rcx, [rbp - 0x80]
call fcn.1401286cc
jmp 0x14002e9f1
lea rcx, [rbp - 0x80]
call fcn.1401286cc
mov rcx, qword [0x14021c5d8]
add rcx, 0x810
call fcn.140120ef0
test al, al
je 0x14002e0ee
mov rcx, qword [0x14021c5d8]
cmp dword [rcx + 0x824], r13d
sete bl
add rcx, 0x810
call fcn.140058574
mov rcx, rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x30]
mov r8b, bl
mov qword [rsp + 0x20], rax
mov rax, qword [0x14021c5d8]
mov dl, byte [rax + 0x820]
call fcn.14002b418
test eax, eax
je 0x14002e0e9
mov edi, eax
jmp 0x14002ea9c
mov r15b, byte [rsp + 0x30]
mov rcx, qword [0x14021c5d8]
add rcx, 0xa40
call fcn.14003e93c
mov rcx, qword [0x14021c748]
test al, al
jne 0x14002e115
cmp byte [rcx + 0x11b3c], dil
je 0x14002e11b
mov r14d, 0x16
mov al, byte [rcx + 0x11b3d]
mov rcx, qword [0x14021c5d8]
neg al
mov eax, edi
sbb ebx, ebx
and ebx, 0x40
cmp byte [rsp + 0x31], dil
setne al
add rcx, 0x810
or ebx, eax
or ebx, r14d
call fcn.140058574
mov rcx, qword [0x14021c748]
mov r8, rax
mov edx, ebx
call fcn.14008f928
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x8b4], dil
je 0x14002e18d
add rcx, 0x8a8
call fcn.14003f160
mov rcx, qword [0x14021c740]
mov rdx, rax
call fcn.140083898
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x934], dil
je 0x14002e1bf
add rcx, 0x928
call fcn.14003f160
mov rcx, qword [0x14021c740]
mov rdx, rax
add rcx, 0x116a8
call fcn.140108748
mov rcx, qword [0x14021c5d8]
add rcx, 0x938
call fcn.14003f160
test rax, rax
je 0x14002e259
mov rax, qword [0x14021c740]
mov byte [rax + 0x11470], 1
mov rax, qword [0x14021c740]
mov byte [rax + 0x11471], 1
mov rax, qword [0x14021c740]
mov rcx, qword [rax + 0x11478]
test rcx, rcx
je 0x14002e216
call fcn.14012008c
mov rax, qword [0x14021c740]
mov qword [rax + 0x11478], rdi
mov rcx, qword [0x14021c5d8]
add rcx, 0x938
call fcn.14003f160
mov rdx, rax
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.140128120
mov rcx, rax
call fcn.140121210
mov rcx, qword [0x14021c740]
mov qword [rcx + 0x11478], rax
lea rcx, [rsp + 0x40]
call fcn.140120ddc
mov rcx, qword [0x14021c5d8]
test rcx, rcx
je 0x14002e27e
mov r9b, 1
lea rdx, str.SettingsLoaded
mov r8b, r9b
call fcn.140016cd0
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x15d0], dil
je 0x14002e2c7
add rcx, 0xa10
call fcn.14003e93c
test al, al
je 0x14002e2c0
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.14007b430
mov dl, 1
mov cl, dl
call fcn.14002c5d0
test al, al
mov ecx, 0xa
cmove esi, ecx
lea rcx, [rsp + 0x40]
call fcn.14007b460
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x8f4], dil
je 0x14002e326
add rcx, 0x8e8
call fcn.14003f160
mov rcx, qword [0x14021c5d8]
mov r9b, 1
mov r8b, r9b
mov rdx, rax
call fcn.140022568
test al, al
jne 0x14002e300
test esi, esi
jne 0x14002e31f
mov esi, 0xb
jmp 0x14002e31f
mov rcx, qword [0x14021c740]
xor r8d, r8d
xor edx, edx
call fcn.140084ee4
test eax, eax
jne 0x14002e31f
test esi, esi
mov eax, 0xc
cmove esi, eax
mov rcx, qword [0x14021c5d8]
add rcx, 0x9f0
call fcn.14003e93c
test al, al
je 0x14002e3ae
mov rax, qword [0x14021c740]
mov byte [rax + 0xa60], 1
mov rax, qword [0x14021c740]
mov byte [rax + 0xa61], 1
mov rcx, qword [0x14021c5d8]
add rcx, 0xa10
call fcn.14003e93c
test al, al
je 0x14002e3ae
mov rax, qword [0x14021c5d8]
mov rcx, qword [rax + 0x3fd8]
test rcx, rcx
je 0x14002e3a0
mov r8b, 1
mov dl, r8b
call fcn.140045a24
mov rcx, qword [0x14021c5d8]
mov r8b, 1
mov dl, r8b
mov rcx, qword [rcx + 0x3fd8]
call fcn.140046b28
mov rax, qword [0x14021c748]
mov byte [rax + 0x11b41], 1
mov rcx, qword [0x14021c5d8]
add rcx, 0xa10
call fcn.14003e93c
test al, al
jne 0x14002ea7b
mov rcx, qword [0x14021c5d8]
add rcx, 0x948
call fcn.14003f160
test rax, rax
je 0x14002e403
mov rcx, qword [0x14021c5d8]
add rcx, 0x948
call fcn.14003f160
mov rcx, qword [0x14021c5d8]
mov rdx, rax
call fcn.140022a4c
mov rcx, qword [0x14021c5d8]
mov rax, qword [rcx + 0x3fc0]
test rax, rax
je 0x14002e42e
mov rcx, rax
call fcn.1400661a0
cmp rax, r13
je 0x14002e977
mov rcx, qword [0x14021c5d8]
call fcn.140010840
test al, al
je 0x14002e977
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x894], dil
je 0x14002e46c
add rcx, 0x888
call fcn.14003f150
mov rcx, qword [0x14021c748]
mov edx, eax
call fcn.14008f318
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x8c4], dil
jne 0x14002e4a3
cmp r12d, 3
jne 0x14002e48e
mov rax, qword [0x14021c740]
mov dword [rax + 0x111f8], 0x520
jmp 0x14002e4bc
cmp r12d, 2
je 0x14002e49a
cmp r12d, 7
jne 0x14002e4c3
mov byte [rcx + 0x3ff8], 1
jmp 0x14002e4bc
add rcx, 0x8b8
call fcn.14003f150
mov rcx, qword [0x14021c740]
mov dword [rcx + 0x111f8], eax
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0xa2c], dil
je 0x14002e4ec
add rcx, 0xa20
call fcn.14003e93c
mov rcx, qword [0x14021c740]
mov byte [rcx + 0x1121e], al
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0xa3c], dil
je 0x14002e50e
add rcx, 0xa30
call fcn.14003e93c
mov rcx, qword [0x14021c740]
mov byte [rcx + 0x11488], al
mov rcx, qword [0x14021c748]
call fcn.14008c3e8
test al, al
jne 0x14002e54b
mov rcx, qword [0x14021c5d8]
xor r8d, r8d
add rcx, 0x4e8
xor edx, edx
call fcn.14003ec7c
mov rcx, rax
lea rdx, str.conman.exe
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14002e55e
mov rcx, qword [0x14021c5d8]
add rcx, 0x4e8
call fcn.140041bc8
test r15b, r15b
je 0x14002e598
lea rcx, [rsp + 0x60]
call fcn.14012148c
test al, al
jne 0x14002e598
lea rcx, [rsp + 0x60]
call fcn.140058574
mov ecx, 0x3f
cmp word [rax], cx
jne 0x14002e589
add rax, 2
mov rcx, qword [0x14021c740]
mov rdx, rax
call fcn.14007dcd0
mov rcx, qword [0x14021c5d8]
add rcx, 0x260
call fcn.14003a924
mov rax, qword [0x14021c5a0]
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x14002e5ce
mov rcx, qword [0x14021c5d8]
add rcx, 0x260
call fcn.14003b934
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x988], dil
je 0x14002e6be
cmp byte [rcx + 0x99c], dil
je 0x14002e619
add rcx, 0x990
call fcn.14003f160
mov rcx, qword [0x14021c5d8]
mov r8, rax
add rcx, 0x260
mov edx, 0x58
call fcn.14003ceb0
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x9ac], dil
je 0x14002e650
add rcx, 0x9a0
call fcn.14003f160
mov rcx, qword [0x14021c5d8]
mov r8, rax
add rcx, 0x260
mov edx, 0x59
call fcn.14003ceb0
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x9bc], dil
je 0x14002e687
add rcx, 0x9b0
call fcn.14003f160
mov rcx, qword [0x14021c5d8]
mov r8, rax
add rcx, 0x260
mov edx, 0x57
call fcn.14003ceb0
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x9cc], dil
je 0x14002e6be
add rcx, 0x9c0
call fcn.14003f160
mov rcx, qword [0x14021c5d8]
mov r8, rax
add rcx, 0x260
mov edx, 0x48
call fcn.14003ceb0
mov rcx, qword [0x14021c5d8]
cmp byte [rcx + 0x964], dil
je 0x14002e703
add rcx, 0x958
call fcn.14003f150
mov rcx, qword [0x14021c5d8]
mov edx, eax
add rcx, 0x260
xor r9d, r9d
mov r8d, r13d
call fcn.14003b5fc
mov rax, qword [0x14021c740]
mov byte [rax + 0x10ff4], 1
mov rcx, qword [0x14021c5d8]
mov rax, qword [0x14021c740]
cmp byte [rax + 0x111fc], dil
je 0x14002e71f
add rcx, 0x260
call fcn.1400330c8
mov rcx, qword [0x14021c748]
call fcn.14008c40c
test al, al
je 0x14002e912
mov rcx, qword [0x14021c5d8]
xor edx, edx
call fcn.1400277e8
test al, al
jne 0x14002e912
mov rcx, qword [0x14021c5d8]
test rcx, rcx
je 0x14002e767
mov r9b, 1
lea rdx, str.Checking_for_existing_instance
mov r8b, r9b
call fcn.140016cd0
xor r9d, r9d
lea r8, str.VirtualConsoleClass
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x14002e868
mov rax, qword [0x14021c748]
cmp dword [rax + 0x11b48], edi
jne 0x14002e868
mov rcx, qword [0x14021c5d8]
lea rdx, str.TH32CS_SNAPPROCESS
mov r9b, 1
mov r14b, dil
mov r8b, r9b
call fcn.140016cd0
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14002e868
xor edx, edx
mov dword [rbp - 0x50], 0x238
mov r8d, 0x234
lea rcx, [rbp - 0x4c]
call fcn.14013b230
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rbp - 0x50]
mov rcx, rbx
mov r15d, eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14002e84f
cmp dword [rbp - 0x48], r15d
je 0x14002e83e
lea rcx, [rbp - 0x24]
call fcn.140125c18
mov rsi, rax
test rax, rax
je 0x14002e83e
lea rdx, str.ConEmu.exe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002e84c
lea rdx, [0x140172e28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002e84c
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
jmp 0x14002e7fb
mov r14b, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14b, r14b
je 0x14002e868
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14021c5d8]
lea rdx, str.isFirstInstance
mov r9b, 1
mov r8b, r9b
call fcn.140016cd0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
jmp 0x14002e8e2
mov rcx, qword [0x14021c5d8]
test rcx, rcx
je 0x14002e8b0
mov r9b, 1
lea rdx, str.Waiting_for_RunSingleInstance
mov r8b, r9b
call fcn.140016cd0
mov rcx, qword [0x14021c5d8]
xor r8d, r8d
xor edx, edx
call fcn.140021a70
test eax, eax
jg 0x14002e99f
js 0x14002e981
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x2710
ja 0x14002e8f4
mov rcx, qword [0x14021c5d8]
xor edx, edx
call fcn.1400277e8
test al, al
je 0x14002e88b
mov rcx, qword [0x14021c5d8]
test rcx, rcx
je 0x14002e937
mov r9b, 1
lea rdx, str.Existing_instance_was_terminated__continue_as_first_instance
mov r8b, r9b
call fcn.140016cd0
mov rcx, qword [0x14021c5d8]
test rcx, rcx
je 0x14002e937
mov r9b, 1
lea rdx, str.gpConEmu__Init
mov r8b, r9b
call fcn.140016cd0
mov rcx, qword [0x14021c5d8]
call fcn.140014384
test eax, eax
je 0x14002e977
call fcn.140028a54
test eax, eax
je 0x14002e977
mov rcx, qword [0x14021c5d8]
test rcx, rcx
je 0x14002e96e
mov r9b, 1
lea rdx, str.gpConEmu__CreateMainWindow
mov r8b, r9b
call fcn.140016cd0
mov rcx, qword [0x14021c5d8]
call fcn.1400120f4
test eax, eax
jne 0x14002e9bd
mov edi, 0x64
jmp 0x14002ea9c
mov rcx, qword [0x14021c5d8]
lea rdx, str.Reusing_running_instance_is_not_allowed_here
mov r9b, 1
mov r8b, r9b
call fcn.140016cd0
jmp 0x14002e8f4
mov rcx, qword [0x14021c5d8]
lea rdx, str.Passed_to_first_instance__exiting
mov r9b, 1
mov r8b, r9b
call fcn.140016cd0
jmp 0x14002ea9c
mov rcx, qword [0x14021c5d8]
xor edx, edx
call fcn.14001ec38
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.14002b01c
mov rax, qword [0x14021c5d8]
mov esi, dword [rax + 0x7d0]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rcx, str.MessageLoop_terminated
xor edx, edx
call fcn.14002bdd4
mov rcx, qword [0x14021c5c8]
call fcn.140057f3c
call qword [sym.imp.ole32.dll_OleUninitialize]
lea rcx, [0x14021c5d8]
call fcn.140027f74
lea rcx, [0x14021c748]
call fcn.140004868
lea rcx, [0x14021c5c8]
call fcn.140027ff4
lea rcx, [0x14021c5c0]
call fcn.140028084
lea rcx, [0x14021fa10]
call fcn.140027fac
lea rcx, [0x14021cd28]
call fcn.14002803c
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rcx, str.Gui_terminated
xor edx, edx
call fcn.14002bdd4
call fcn.14011ffb0
call fcn.140127518
test al, al
je 0x14002ea9a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, esi
lea rcx, [rsp + 0x60]
call fcn.140120ddc
lea rcx, [rsp + 0x50]
call fcn.140120ddc
lea rcx, [rsp + 0x70]
call fcn.140120ddc
mov eax, edi
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret