Function at 0x140348470
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
mov eax, 0x2390
call fcn.14016c964
sub rsp, rax
mov rax, qword [0x1404ff3c0]
xor rax, rsp
mov qword [rsp + 0x2380], rax
cmp qword [rsp + 0x23c8], 0
jne 0x1403484b8
mov eax, 1
jmp 0x140348b3c
mov qword [rsp + 0xc0], 0
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x23a8]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1403484ef
mov qword [rsp + 0xc0], 0
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rsp + 0xb0], 0x105
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xc0]
call fcn.14016ed18
test eax, eax
jne 0x140348594
xor ecx, ecx
call fcn.140349e40
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0x105
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x170]
call fcn.140174452
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x160
lea r9, [0x14049aad0]
lea r8, str.common_message_window
lea rdx, str.traits::tcscpy_s_program_name___sizeof___countof_helper_program_name____0___get_program_name_unknown_text_Character____
mov ecx, eax
call fcn.14016e64c
lea rcx, [rsp + 0x170]
call fcn.14016fe0c
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xc8], 0x40
jbe 0x14034862f
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc8]
lea rax, [rax + rcx*2 - 0x80]
mov qword [rsp + 0x98], rax
mov eax, 2
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov rdx, qword [rsp + 0x98]
mov word [rdx + rax], cx
mov eax, 2
imul rax, rax, 1
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov rdx, qword [rsp + 0x98]
mov word [rdx + rax], cx
mov eax, 2
imul rax, rax, 2
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov rdx, qword [rsp + 0x98]
mov word [rdx + rax], cx
cmp qword [rsp + 0x23c0], 0
je 0x140348651
lea rcx, [rsp + 0x23c0]
call fcn.14016ff88
mov qword [rsp + 0xd0], rax
jmp 0x14034865d
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0x23c0], 0
je 0x1403486ac
cmp qword [rsp + 0xd8], 0x40
jbe 0x1403486ac
mov rax, qword [rsp + 0x23c0]
mov rcx, qword [rsp + 0xd8]
lea rax, [rax + rcx*2 - 0x7a]
mov qword [rsp + 0xa8], rax
cmp dword [rsp + 0x23a0], 2
jne 0x1403486c7
mov rax, qword [str._n_nFor_information_on_how_your_program_can_cause_an_assertion_nfailure__see_the_Visual_C_documentation_on_asserts.]
mov qword [rsp + 0xe8], rax
jmp 0x1403486d6
lea rax, [0x140472ebc]
mov qword [rsp + 0xe8], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x23c8]
movzx eax, word [rcx + rax]
test eax, eax
je 0x140348701
mov rax, qword [rsp + 0x23c8]
mov qword [rsp + 0xf0], rax
jmp 0x140348710
lea rax, [0x14049aff8]
mov qword [rsp + 0xf0], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x23c8]
movzx eax, word [rcx + rax]
test eax, eax
je 0x140348744
cmp dword [rsp + 0x23a0], 2
jne 0x140348744
lea rax, [0x14049ade8]
mov qword [rsp + 0xf8], rax
jmp 0x140348753
lea rax, [0x140472ebc]
mov qword [rsp + 0xf8], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x23c8]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14034877d
lea rax, [0x14049ae08]
mov qword [rsp + 0x100], rax
jmp 0x14034878c
lea rax, [0x140472ebc]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x23b8], 0
je 0x1403487a9
mov rax, qword [rsp + 0x23b8]
mov qword [rsp + 0x108], rax
jmp 0x1403487b8
lea rax, [0x14049aff8]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x23b8], 0
je 0x1403487d4
lea rax, str._nLine:
mov qword [rsp + 0x110], rax
jmp 0x1403487e3
lea rax, [0x140472ebc]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x23b0], 0
je 0x140348800
mov rax, qword [rsp + 0x23b0]
mov qword [rsp + 0x118], rax
jmp 0x14034880f
lea rax, [0x14049aff8]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x23b0], 0
je 0x14034882b
lea rax, str._nFile:
mov qword [rsp + 0x120], rax
jmp 0x14034883a
lea rax, [0x140472ebc]
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0xa8], 0
je 0x140348857
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x128], rax
jmp 0x140348893
cmp qword [rsp + 0x23c0], 0
je 0x140348874
mov rax, qword [rsp + 0x23c0]
mov qword [rsp + 0xe0], rax
jmp 0x140348883
lea rax, [0x14049aff8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0xa8], 0
je 0x1403488af
lea rax, [0x14049ae40]
mov qword [rsp + 0x130], rax
jmp 0x1403488be
lea rax, [0x140472ebc]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x23c0], 0
je 0x1403488da
lea rax, str._nModule:
mov qword [rsp + 0x138], rax
jmp 0x1403488e9
lea rax, [0x140472ebc]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x23a0]
lea rcx, str.Warning
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x150], rax
xor ecx, ecx
call fcn.140349e20
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x158]
mov r8d, 0xfff
mov edx, 0x1000
lea rcx, [rsp + 0x380]
call fcn.140173700
mov dword [rsp + 0xa0], eax
call fcn.14016e2c3
mov eax, dword [rax]
mov dword [rsp + 0xb4], eax
call fcn.14016e2c3
mov dword [rax], 0
cmp dword [rsp + 0xa0], 0
jge 0x140348a50
call fcn.14016e2c3
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x192
lea rcx, [0x14049aad0]
mov qword [rsp + 0x28], rcx
lea rcx, str.common_message_window
mov qword [rsp + 0x20], rcx
lea r9, str.__errno___
mov r8d, Ordinal_35
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov ecx, dword [rax]
call fcn.14016ed54
call fcn.14016e2c3
mov ecx, dword [rsp + 0xb4]
mov dword [rax], ecx
cmp dword [rsp + 0xa0], 0
jge 0x140348aae
lea r8, [0x14049af30]
mov edx, 0x1000
lea rcx, [rsp + 0x380]
call fcn.14016f0ce
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x196
lea r9, [0x14049aad0]
lea r8, str.common_message_window
lea rdx, str.wcscpy_s_message_buffer__4096__L__CrtDbgReport:_String_too_long_or_IO_Error__
mov ecx, eax
call fcn.14016e64c
mov r8d, 0x12012
lea rdx, [0x14049afa0]
lea rcx, [rsp + 0x380]
call fcn.14016c527
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 3
je 0x140348afd
cmp dword [rsp + 0x90], 4
je 0x140348b33
cmp dword [rsp + 0x90], 5
je 0x140348b3a
jmp 0x140348b3a
call fcn.140170d39
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
je 0x140348b1f
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.14017141e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
jmp 0x140348b3c
xor eax, eax
mov rcx, qword [rsp + 0x2380]
xor rcx, rsp
call fcn.14016f3bc
add rsp, 0x2390
pop rdi
ret