Function at 0x180037b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.180078db0
sub rsp, rax
mov rax, qword [0x180133090]
xor rax, rsp
mov qword [rbp + 0x1050], rax
mov rdi, rcx
cmp byte [rcx + 0x1b8], 0
je 0x180038293
xor edx, edx
mov cl, 0x13
call fcn.1800333e0
mov r15d, 4
xor r14d, r14d
mov esi, dword [0x180137b54]
test al, al
je 0x180037ca1
mov rax, qword [0x180139120]
test rax, rax
jne 0x180037b8a
mov cl, 1
jmp 0x180037b90
cmp byte [rax], 1
setne cl
cmp byte [rdi + 0x1b8], r14b
je 0x180037ba0
test rax, rax
je 0x180037ba0
mov byte [rax], cl
lea rax, str.Game_paused
lea rdx, str.Game_unpaused
test cl, cl
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x180037bd0
lea rcx, [rbp - 0x80]
call fcn.1800171d0
nop
mov rax, qword gs:[0x58]
mov rax, qword [rax + rsi*8]
mov ecx, dword [r15 + rax]
cmp dword [0x180139580], ecx
jle 0x180037c52
lea rcx, [0x180139580]
call fcn.180077e94
cmp dword [0x180139580], 0xffffffff
jne 0x180037c52
xorps xmm0, xmm0
movdqa xmmword [0x180139590], xmm0
mov qword [0x1801395a0], r14
mov word [0x1801395a8], 0
mov qword [0x1801395e8], r14
mov qword [0x180139628], r14
lea rcx, [0x1800ff010]
call fcn.1800783f0
lea rcx, [0x180139580]
call fcn.180077e34
mov r8b, 3
lea rdx, [rbp - 0x80]
lea rcx, [0x180139590]
call fcn.180036380
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x180037ca1
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037c9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800382bf
call fcn.180077bd0
xor edx, edx
mov cl, 0x14
call fcn.1800333e0
test al, al
je 0x180037d7e
mov rax, qword [0x180139120]
test rax, rax
je 0x180037d7e
cmp byte [rax], 1
jne 0x180037d7e
cmp byte [rdi + 0x1b8], 0
je 0x180037cd7
mov byte [rax], 0
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_void___cdecl_IGCS::GameSpecific::PauseFeature::stepGameInPause_void____ptr64::_5::_lambda_1___void___.0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
call fcn.1800298d0
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
sub rcx, qword [rbx + 0x140]
imul rcx, rcx, 0x3e8
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbx + 0x138]
divsd xmm1, xmm0
lea rcx, [rdi + 0x1c0]
addsd xmm1, qword [0x1801161a0]
movsd qword [rsp + 0x30], xmm1
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.180025620
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180037d7e
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
call fcn.1800298d0
lea rdx, [rax + 8]
lea rcx, [rbp - 0x60]
call fcn.18001c2c0
nop
movzx edi, byte [rbp + 0x36]
xor edx, edx
mov cl, 0x2b
call fcn.1800333e0
mov ebx, 0x4000
test al, al
jne 0x180037e8c
test dil, dil
je 0x180037f2f
call fcn.1800298d0
mov r11, qword [rax + 0xb8]
mov rax, qword [r11 + 8]
mov rdx, r11
movzx r8d, byte [rax + 0x19]
test r8b, r8b
jne 0x180037dec
mov rcx, rax
cmp byte [rcx + 0x20], 0x70
jae 0x180037de0
mov rcx, qword [rcx + 0x10]
jmp 0x180037de6
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180037dd4
cmp byte [rdx + 0x19], 0
jne 0x180037f2f
cmp byte [rdx + 0x20], 0x70
ja 0x180037f2f
test r8b, r8b
jne 0x180037e1d
cmp byte [rax + 0x20], 0x70
jae 0x180037e11
mov rax, qword [rax + 0x10]
jmp 0x180037e17
mov r11, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180037e05
cmp byte [r11 + 0x19], 0
jne 0x1800382c5
cmp byte [r11 + 0x20], 0x70
ja 0x1800382c5
mov r11, qword [r11 + 0x28]
test r11, r11
je 0x180037f2f
cmp byte [rbp + 0x36], 0
je 0x180037e56
mov ecx, ebx
or cx, word [r11 + 0x20]
movzx eax, word [rbp + 0x34]
xor ax, cx
jmp 0x180037e69
lea rcx, [rbp - 0x60]
call fcn.180032e80
mov ecx, ebx
or cx, word [r11 + 0x20]
cmp cx, ax
jne 0x180037e82
cmp dword [r11 + 0x28], 0
jg 0x180037e82
mov ecx, dword [r11 + 0x2c]
test ecx, ecx
mov al, 1
jle 0x180037e84
mov dword [r11 + 0x28], ecx
jmp 0x180037e84
xor al, al
test al, al
je 0x180037f2f
mov rax, qword gs:[0x58]
mov rax, qword [rax + rsi*8]
mov ecx, dword [r15 + rax]
cmp dword [0x180139580], ecx
jle 0x180037efb
lea rcx, [0x180139580]
call fcn.180077e94
cmp dword [0x180139580], 0xffffffff
jne 0x180037efb
xorps xmm0, xmm0
movdqa xmmword [0x180139590], xmm0
mov qword [0x1801395a0], r14
mov word [0x1801395a8], 0
mov qword [0x1801395e8], r14
mov qword [0x180139628], r14
lea rcx, [0x1800ff010]
call fcn.1800783f0
lea rcx, [0x180139580]
call fcn.180077e34
cmp byte [0x1801395a8], 0
je 0x180037f2f
mov word [rbp + 0x50], 0x1707
mov byte [rbp + 0x52], 0
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, 3
lea rdx, [rbp + 0x50]
mov rcx, qword [0x180139590]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
mov cl, 0x2c
call fcn.1800333e0
test al, al
jne 0x180038028
test dil, dil
je 0x1800380cb
call fcn.1800298d0
mov r11, qword [rax + 0xb8]
mov rax, qword [r11 + 8]
mov rdx, r11
movzx r8d, byte [rax + 0x19]
test r8b, r8b
jne 0x180037f88
mov rcx, rax
nop dword [rax]
cmp byte [rcx + 0x20], 0x71
jae 0x180037f7c
mov rcx, qword [rcx + 0x10]
jmp 0x180037f82
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180037f70
cmp byte [rdx + 0x19], 0
jne 0x1800380cb
cmp byte [rdx + 0x20], 0x71
ja 0x1800380cb
test r8b, r8b
jne 0x180037fb9
cmp byte [rax + 0x20], 0x71
jae 0x180037fad
mov rax, qword [rax + 0x10]
jmp 0x180037fb3
mov r11, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180037fa1
cmp byte [r11 + 0x19], 0
jne 0x1800382c5
cmp byte [r11 + 0x20], 0x71
ja 0x1800382c5
mov r11, qword [r11 + 0x28]
test r11, r11
je 0x1800380cb
cmp byte [rbp + 0x36], 0
je 0x180037ff2
mov ecx, ebx
or cx, word [r11 + 0x20]
movzx eax, word [rbp + 0x34]
xor ax, cx
jmp 0x180038005
lea rcx, [rbp - 0x60]
call fcn.180032e80
mov ecx, ebx
or cx, word [r11 + 0x20]
cmp cx, ax
jne 0x18003801e
cmp dword [r11 + 0x28], 0
jg 0x18003801e
mov ecx, dword [r11 + 0x2c]
test ecx, ecx
mov al, 1
jle 0x180038020
mov dword [r11 + 0x28], ecx
jmp 0x180038020
xor al, al
test al, al
je 0x1800380cb
mov rax, qword gs:[0x58]
mov rax, qword [rax + rsi*8]
mov ecx, dword [r15 + rax]
cmp dword [0x180139580], ecx
jle 0x180038097
lea rcx, [0x180139580]
call fcn.180077e94
cmp dword [0x180139580], 0xffffffff
jne 0x180038097
xorps xmm0, xmm0
movdqa xmmword [0x180139590], xmm0
mov qword [0x1801395a0], r14
mov word [0x1801395a8], 0
mov qword [0x1801395e8], r14
mov qword [0x180139628], r14
lea rcx, [0x1800ff010]
call fcn.1800783f0
lea rcx, [0x180139580]
call fcn.180077e34
cmp byte [0x1801395a8], 0
je 0x1800380cb
mov word [rbp + 0x50], 0x1807
mov byte [rbp + 0x52], 0
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, 3
lea rdx, [rbp + 0x50]
mov rcx, qword [0x180139590]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
mov cl, 0x2d
call fcn.1800333e0
test al, al
jne 0x1800381b9
test dil, dil
je 0x18003825d
call fcn.1800298d0
mov r11, qword [rax + 0xb8]
mov rax, qword [r11 + 8]
mov rdx, r11
movzx r8d, byte [rax + 0x19]
test r8b, r8b
jne 0x18003811d
mov rcx, rax
cmp byte [rcx + 0x20], 0x72
jae 0x180038111
mov rcx, qword [rcx + 0x10]
jmp 0x180038117
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180038105
cmp byte [rdx + 0x19], 0
jne 0x18003825d
cmp byte [rdx + 0x20], 0x72
ja 0x18003825d
test r8b, r8b
jne 0x18003814e
cmp byte [rax + 0x20], 0x72
jae 0x180038142
mov rax, qword [rax + 0x10]
jmp 0x180038148
mov r11, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180038136
cmp byte [r11 + 0x19], 0
jne 0x1800382c5
cmp byte [r11 + 0x20], 0x72
ja 0x1800382c5
mov r11, qword [r11 + 0x28]
test r11, r11
je 0x18003825d
cmp byte [rbp + 0x36], 0
je 0x180038185
or bx, word [r11 + 0x20]
movzx eax, word [rbp + 0x34]
xor ax, bx
jmp 0x180038196
lea rcx, [rbp - 0x60]
call fcn.180032e80
or bx, word [r11 + 0x20]
cmp bx, ax
jne 0x1800381af
cmp dword [r11 + 0x28], 0
jg 0x1800381af
mov ecx, dword [r11 + 0x2c]
test ecx, ecx
mov al, 1
jle 0x1800381b1
mov dword [r11 + 0x28], ecx
jmp 0x1800381b1
xor al, al
test al, al
je 0x18003825d
mov rax, qword gs:[0x58]
mov rax, qword [rax + rsi*8]
mov ecx, dword [r15 + rax]
cmp dword [0x180139580], ecx
jle 0x180038228
lea rcx, [0x180139580]
call fcn.180077e94
cmp dword [0x180139580], 0xffffffff
jne 0x180038228
xorps xmm0, xmm0
movdqa xmmword [0x180139590], xmm0
mov qword [0x1801395a0], r14
mov word [0x1801395a8], 0
mov qword [0x1801395e8], r14
mov qword [0x180139628], r14
lea rcx, [0x1800ff010]
call fcn.1800783f0
lea rcx, [0x180139580]
call fcn.180077e34
cmp byte [0x1801395a8], 0
je 0x18003825d
mov word [rbp + 0x50], 0x1907
mov byte [rbp + 0x52], 0
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, 3
lea rdx, [rbp + 0x50]
mov rcx, qword [0x180139590]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x18003827a
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x18], r14
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180038293
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.180077bb0
lea r11, [rsp + 0x1160]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18008a744
nop
lea rcx, str.invalid_map_K__T__key
call fcn.18003f378
int3