Function at 0x1402d9630
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, 0x2380
call fcn.14013f189
sub rsp, rax
mov rax, qword [0x1404746f8]
xor rax, rsp
mov qword [rsp + 0x2370], rax
cmp qword [rsp + 0x23b8], 0
jne 0x1402d9678
mov eax, 1
jmp 0x1402d9cf2
mov qword [rsp + 0xb8], 0
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x2398]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1402d96af
mov qword [rsp + 0xb8], 0
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rsp + 0xa8], 0x105
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xb8]
call fcn.140142334
test eax, eax
jne 0x1402d9754
xor ecx, ecx
call fcn.1402db000
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], 0x105
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x160]
call fcn.140149945
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x160
lea r9, [0x14040fa20]
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.1401419b1
lea rcx, [rsp + 0x160]
call fcn.140143ad1
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0xc0], 0x40
jbe 0x1402d97ef
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xc0]
lea rax, [rax + rcx*2 - 0x80]
mov qword [rsp + 0x90], rax
mov eax, 2
imul rax, rax, 0
mov ecx, 0x2e
mov rdx, qword [rsp + 0x90]
mov word [rdx + rax], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x2e
mov rdx, qword [rsp + 0x90]
mov word [rdx + rax], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x2e
mov rdx, qword [rsp + 0x90]
mov word [rdx + rax], cx
cmp qword [rsp + 0x23b0], 0
je 0x1402d9811
lea rcx, [rsp + 0x23b0]
call fcn.140143cb6
mov qword [rsp + 0xc8], rax
jmp 0x1402d981d
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xa0], 0
cmp qword [rsp + 0x23b0], 0
je 0x1402d986c
cmp qword [rsp + 0xd0], 0x40
jbe 0x1402d986c
mov rax, qword [rsp + 0x23b0]
mov rcx, qword [rsp + 0xd0]
lea rax, [rax + rcx*2 - 0x7a]
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x2390], 2
jne 0x1402d9887
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 + 0xe0], rax
jmp 0x1402d9896
lea rax, [0x1403e379c]
mov qword [rsp + 0xe0], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x23b8]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1402d98c1
mov rax, qword [rsp + 0x23b8]
mov qword [rsp + 0xe8], rax
jmp 0x1402d98d0
lea rax, [0x14040ff68]
mov qword [rsp + 0xe8], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x23b8]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1402d9904
cmp dword [rsp + 0x2390], 2
jne 0x1402d9904
lea rax, [0x14040fd38]
mov qword [rsp + 0xf0], rax
jmp 0x1402d9913
lea rax, [0x1403e379c]
mov qword [rsp + 0xf0], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x23b8]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1402d993d
lea rax, [0x14040fd58]
mov qword [rsp + 0xf8], rax
jmp 0x1402d994c
lea rax, [0x1403e379c]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0x23a8], 0
je 0x1402d9969
mov rax, qword [rsp + 0x23a8]
mov qword [rsp + 0x100], rax
jmp 0x1402d9978
lea rax, [0x14040ff68]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x23a8], 0
je 0x1402d9994
lea rax, str._nLine:
mov qword [rsp + 0x108], rax
jmp 0x1402d99a3
lea rax, [0x1403e379c]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x23a0], 0
je 0x1402d99c0
mov rax, qword [rsp + 0x23a0]
mov qword [rsp + 0x110], rax
jmp 0x1402d99cf
lea rax, [0x14040ff68]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x23a0], 0
je 0x1402d99eb
lea rax, str._nFile:
mov qword [rsp + 0x118], rax
jmp 0x1402d99fa
lea rax, [0x1403e379c]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0xa0], 0
je 0x1402d9a17
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x120], rax
jmp 0x1402d9a53
cmp qword [rsp + 0x23b0], 0
je 0x1402d9a34
mov rax, qword [rsp + 0x23b0]
mov qword [rsp + 0xd8], rax
jmp 0x1402d9a43
lea rax, [0x14040ff68]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0xa0], 0
je 0x1402d9a6f
lea rax, [0x14040fd90]
mov qword [rsp + 0x128], rax
jmp 0x1402d9a7e
lea rax, [0x1403e379c]
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0x23b0], 0
je 0x1402d9a9a
lea rax, str._nModule:
mov qword [rsp + 0x130], rax
jmp 0x1402d9aa9
lea rax, [0x1403e379c]
mov qword [rsp + 0x130], rax
movsxd rax, dword [rsp + 0x2390]
lea rcx, str.Warning
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x148], rax
xor ecx, ecx
call fcn.1402dafe0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x150]
mov r8d, 0xfff
mov edx, 0x1000
lea rcx, [rsp + 0x370]
call fcn.14014862b
mov dword [rsp + 0x98], eax
call fcn.1401414bb
mov eax, dword [rax]
mov dword [rsp + 0xac], eax
call fcn.1401414bb
mov dword [rax], 0
cmp dword [rsp + 0x98], 0
jge 0x1402d9c10
call fcn.1401414bb
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x192
lea rcx, [0x14040fa20]
mov qword [rsp + 0x28], rcx
lea rcx, str.common_message_window
mov qword [rsp + 0x20], rcx
lea r9, str.__errno___
mov r8d, SQLGetDiagRec
mov edx, reloc.WS2_32.dll_shutdown
mov ecx, dword [rax]
call fcn.140142366
call fcn.1401414bb
mov ecx, dword [rsp + 0xac]
mov dword [rax], ecx
cmp dword [rsp + 0x98], 0
jge 0x1402d9c6e
lea r8, [0x14040fea0]
mov edx, 0x1000
lea rcx, [rsp + 0x370]
call fcn.140142820
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x196
lea r9, [0x14040fa20]
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.1401419b1
mov r8d, 0x12012
lea rdx, [0x14040ff10]
lea rcx, [rsp + 0x370]
call fcn.14013ec43
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 3
je 0x1402d9cb3
cmp dword [rsp + 0x9c], 4
je 0x1402d9ce9
jmp 0x1402d9cf0
call fcn.140144e54
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 0
je 0x1402d9cd5
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14014576e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
jmp 0x1402d9cf2
xor eax, eax
mov rcx, qword [rsp + 0x2370]
xor rcx, rsp
call fcn.140142c7b
add rsp, 0x2380
pop rdi
ret