Function at 0x140096d78
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x2f0
mov qword [rbp + 0x100], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rbp + 0x230], r12d
mov rax, qword [0x140108018]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x60], r12
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.1400768e8
nop
lea r8, [0x1400c8ed0]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140068a74
nop
mov rcx, qword [rbp + 0x20]
add rcx, 0xfffffffffffffff4
or r13d, 0xffffffff
cmp rcx, qword [0x140108010]
je 0x140096e1f
mov eax, r13d
lock xadd dword [rcx], eax
add eax, r13d
test eax, eax
jg 0x140096e1f
mov rcx, qword [rbp + 0x20]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov rax, qword [0x140108018]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea rcx, [rbp + 0x180]
call fcn.140021cac
nop
mov qword [rbp + 0x248], r12
mov rax, qword [0x140108018]
mov qword [rbp + 0x240], rax
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x60], r12d
lea r9, str.DescXML
lea r8, str.DetailDlg
mov rdx, qword [rdi + 0x18]
lea rcx, [rbp + 0x30]
call fcn.14006a024
nop
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.140068904
nop
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x140096ec0
mov eax, r13d
lock xadd dword [rcx], eax
add eax, r13d
test eax, eax
jg 0x140096ec0
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
lea rcx, str.crashrpt.xml
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.crashrpt.xml
mov edx, eax
lea rcx, [rbp + 0x48]
call fcn.140067304
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x50]
call fcn.140068904
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x68]
call fcn.140068904
lea rdx, [rbp + 0x48]
mov rcx, rsi
call fcn.140074dd0
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140096f2e
lea rdx, [0x1400c8f90]
mov rcx, rax
call fcn.140021590
mov r14, rax
jmp 0x140096f31
mov r14, r12
mov rdx, r14
lea rcx, [rbp + 0x180]
call fcn.140020fcc
mov r8d, 0x57b
lea rdx, [0x1400cb298]
lea rcx, [rbp - 0x28]
call fcn.140069514
mov rdx, qword [rbp - 0x28]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov rbx, rax
test r14, r14
je 0x140096f85
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x28]
test rax, rax
je 0x140096f85
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x28]
jmp 0x140096f88
mov rax, r12
mov r8, rbx
lea rdx, str.version
mov rcx, rax
call fcn.140021930
mov ecx, 0x68
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140096fcd
lea r9, [0x1400e70f1]
lea r8, [0x1400e7570]
lea rdx, [0x1400cbccc]
mov rcx, rax
call fcn.140022994
jmp 0x140096fd0
mov rax, r12
mov r8, rax
mov rdx, r14
lea rcx, [rbp + 0x180]
call fcn.1400210ac
lea rax, [rbp + 0x98]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x98]
mov rcx, rsi
call fcn.140076618
mov rbx, rax
lea rdx, [0x1400cbcd0]
lea rcx, [rbp + 0x158]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0xb0]
mov rcx, rsi
call fcn.140076560
mov rbx, rax
lea rdx, str.AppName
lea rcx, [rbp + 0x168]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0x78]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x78]
mov rcx, rsi
call fcn.1400765bc
mov rbx, rax
lea rdx, str.AppVersion
lea rcx, [rbp + 0xd0]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0x88]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x88]
mov rcx, rsi
call fcn.140076ccc
mov rbx, rax
lea rdx, str.ImageName
lea rcx, [rbp + 0x150]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x70]
mov rcx, rsi
call fcn.140076e4c
mov rbx, rax
lea rdx, str.OperatingSystem
lea rcx, [rbp + 0xe0]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov rcx, rsi
call fcn.140077a54
mov r8d, eax
lea r15, [0x1400cb298]
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.140069514
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov rbx, qword [rbp + 0x40]
lea rax, [rbx - 0xc]
mov qword [rsp + 0x30], rax
cmp dword [rax], r12d
jl 0x140097167
mov qword [rbp - 0x78], rbx
lock inc dword [rax]
jmp 0x14009718a
mov rax, qword [0x140108018]
mov qword [rbp - 0x78], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140067304
nop
lea rdx, str.OSIs64Bit
lea rcx, [rbp + 0x130]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x78]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0xb8]
mov rcx, rsi
call fcn.140076c64
mov rbx, rax
lea rdx, str.GeoLocation
lea rcx, [rbp + 0xf0]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0x80]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x80]
mov rcx, rsi
call fcn.140077200
mov rbx, rax
lea rdx, str.SystemTimeUTC
lea rcx, [rbp + 0x170]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov rcx, rsi
call fcn.140076944
test rax, rax
je 0x1400973e3
mov rcx, rsi
call fcn.140076944
mov r8, rax
lea rdx, str.0x_I64x
lea rcx, [rbp + 0x240]
call fcn.140069514
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov rbx, qword [rbp + 0x240]
cmp dword [rbx - 0xc], r12d
jl 0x140097285
mov qword [rbp - 0x70], rbx
lock inc dword [rbx - 0xc]
jmp 0x1400972a8
mov rax, qword [0x140108018]
mov qword [rbp - 0x70], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140067304
nop
lea rdx, str.ExceptionAddress
lea rcx, [rbp + 0xc0]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0xa8]
mov rcx, rsi
call fcn.14007694c
mov rbx, rax
lea rdx, str.ExceptionModule
lea rcx, [rbp + 0x140]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov rcx, rsi
call fcn.1400769a8
mov r8, rax
lea rdx, str.0x_I64x
lea rcx, [rbp + 0x240]
call fcn.140069514
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov rbx, qword [rbp + 0x240]
cmp dword [rbx - 0xc], r12d
jl 0x14009734f
mov qword [rbp - 0x60], rbx
lock inc dword [rbx - 0xc]
jmp 0x14009737a
mov rax, qword [0x140108018]
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rbp + 0x240]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140067304
nop
lea rdx, str.ExceptionModuleBase
lea rcx, [rbp + 0x110]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.1400769b0
mov rbx, rax
lea rdx, str.ExceptionModuleVersion
lea rcx, [rbp + 0x160]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov r8d, dword [rdi + 0x128]
mov rdx, r15
lea rcx, [rbp + 0x28]
call fcn.140069514
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp + 0x28]
lea rax, [rbx - 0xc]
mov qword [rsp + 0x38], rax
cmp dword [rax], r12d
jl 0x14009741a
mov qword [rbp - 0x50], rbx
lock inc dword [rax]
jmp 0x14009743d
mov rax, qword [0x140108018]
mov qword [rbp - 0x50], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140067304
nop
lea rdx, str.ExceptionType
lea rcx, [rbp + 0x120]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x50]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov eax, dword [rdi + 0x128]
test eax, eax
jne 0x1400974fe
mov rax, qword [0x140108018]
mov qword [rbp + 0x18], rax
mov r8d, dword [rdi + 0x12c]
mov rdx, r15
lea rcx, [rbp + 0x18]
call fcn.140069514
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp + 0x18]
lea r15, [rbx - 0xc]
cmp dword [r15], r12d
jl 0x1400974af
mov qword [rbp - 0x40], rbx
lock inc dword [r15]
jmp 0x1400974d2
mov rax, qword [0x140108018]
mov qword [rbp - 0x40], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140067304
nop
lea rdx, str.ExceptionCode
lea rcx, [rbp + 0xc8]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x40]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
nop
jmp 0x140097788
cmp eax, 8
jne 0x140097594
mov rax, qword [0x140108018]
mov qword [rbp - 8], rax
mov r8d, dword [rdi + 0x130]
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.140069514
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 8]
lea r15, [rbx - 0xc]
cmp dword [r15], r12d
jl 0x140097545
mov qword [rbp - 0x30], rbx
lock inc dword [r15]
jmp 0x140097568
mov rax, qword [0x140108018]
mov qword [rbp - 0x30], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140067304
nop
lea rdx, str.FPESubcode
lea rcx, [rbp + 0xd8]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x30]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
nop
jmp 0x140097788
cmp eax, 6
jne 0x1400977a8
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov rbx, qword [rdi + 0x138]
cmp dword [rbx - 0xc], r12d
jl 0x1400975bd
mov qword [rbp - 0x48], rbx
lock inc dword [rbx - 0xc]
jmp 0x1400975ea
mov rax, qword [0x140108018]
mov qword [rbp - 0x48], rax
test rbx, rbx
jne 0x1400975d2
mov eax, r12d
jmp 0x1400975db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.140067304
nop
lea rdx, str.InvParamExpression
lea rcx, [rbp + 0xe8]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x48]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rbx, qword [rdi + 0x140]
cmp dword [rbx - 0xc], r12d
jl 0x140097632
mov qword [rsp + 0x78], rbx
lock inc dword [rbx - 0xc]
jmp 0x140097661
mov rax, qword [0x140108018]
mov qword [rsp + 0x78], rax
test rbx, rbx
jne 0x140097648
mov eax, r12d
jmp 0x140097651
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140067304
nop
lea rdx, str.InvParamFunction
lea rcx, [rbp + 0xf8]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov rbx, qword [rdi + 0x148]
cmp dword [rbx - 0xc], r12d
jl 0x1400976a8
mov qword [rbp - 0x58], rbx
lock inc dword [rbx - 0xc]
jmp 0x1400976d5
mov rax, qword [0x140108018]
mov qword [rbp - 0x58], rax
test rbx, rbx
jne 0x1400976bd
mov eax, r12d
jmp 0x1400976c6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x58]
call fcn.140067304
nop
lea rdx, str.InvParamFile
lea rcx, [rbp + 0x108]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x58]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov rax, qword [0x140108018]
mov qword [rbp + 0x38], rax
mov r8d, dword [rdi + 0x150]
mov rdx, r15
lea rcx, [rbp + 0x38]
call fcn.140069514
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp + 0x38]
lea r15, [rbx - 0xc]
cmp dword [r15], r12d
jl 0x14009773b
mov qword [rsp + 0x60], rbx
lock inc dword [r15]
jmp 0x140097760
mov rax, qword [0x140108018]
mov qword [rsp + 0x60], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140067304
nop
lea rdx, str.InvParamLine
lea rcx, [rbp + 0x118]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
nop
cmp r15, qword [0x140108010]
je 0x1400977a8
mov eax, r13d
lock xadd dword [r15], eax
add eax, r13d
test eax, eax
jg 0x1400977a8
mov rcx, r15
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov rax, qword [0x140108018]
mov qword [rbp], rax
mov rcx, rsi
call fcn.140076cc8
mov r8d, eax
lea rdx, [0x1400cb298]
lea rcx, [rbp]
call fcn.140069514
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp]
lea r13, [rbx - 0xc]
mov qword [rbp - 0x10], r13
cmp dword [r13], r12d
jl 0x1400977f4
mov qword [rbp - 0x38], rbx
lock inc dword [r13]
jmp 0x140097817
mov rax, qword [0x140108018]
mov qword [rbp - 0x38], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140067304
nop
lea rdx, str.GUIResourceCount
lea rcx, [rbp + 0x128]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x38]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov rax, qword [0x140108018]
mov qword [rbp + 8], rax
mov rcx, rsi
call fcn.140076f38
mov r8d, eax
lea rdx, [0x1400cb298]
lea rcx, [rbp + 8]
call fcn.140069514
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov rbx, qword [rbp + 8]
lea rax, [rbx - 0xc]
mov qword [rsp + 0x28], rax
cmp dword [rax], r12d
jl 0x140097887
mov qword [rbp - 0x68], rbx
lock inc dword [rax]
jmp 0x1400978aa
mov rax, qword [0x140108018]
mov qword [rbp - 0x68], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.140067304
nop
lea rdx, str.OpenHandleCount
lea rcx, [rbp + 0x138]
call fcn.14006874c
nop
mov r9, r14
lea r8, [rbp - 0x68]
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x90]
mov rcx, rsi
call fcn.140076df0
mov rbx, rax
lea rdx, str.MemoryUsageKbytes
lea rcx, [rbp + 0x148]
call fcn.14006874c
nop
mov r9, r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140094d60
mov rcx, rsi
call fcn.1400771f8
cmp dword [rax], r12d
je 0x140098159
mov ebx, 0x90
mov ecx, ebx
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14009794e
lea rdx, str.ScreenshotInfo
mov rcx, rax
call fcn.140021590
mov rdi, rax
jmp 0x140097951
mov rdi, r12
mov rdx, rdi
mov rcx, r14
call fcn.140020fcc
mov rcx, rbx
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140097982
lea rdx, str.VirtualScreen
mov rcx, rax
call fcn.140021590
mov rbx, rax
jmp 0x140097985
mov rbx, r12
mov rcx, rsi
call fcn.1400771f8
mov r8d, dword [rax + 0x10]
lea r13, [0x1400cb298]
mov rdx, r13
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r15, rax
test rbx, rbx
je 0x1400979d9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x1400979d9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400979dc
mov rax, r12
mov r8, r15
lea rdx, str.left
mov rcx, rax
call fcn.140021930
mov rcx, rsi
call fcn.1400771f8
mov r8d, dword [rax + 0x14]
mov rdx, r13
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r15, rax
test rbx, rbx
je 0x140097a3b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097a3b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097a3e
mov rax, r12
mov r8, r15
lea rdx, [0x1400cbfc8]
mov rcx, rax
call fcn.140021930
mov rcx, rsi
call fcn.1400771f8
mov r8d, dword [rax + 0x18]
sub r8d, dword [rax + 0x10]
mov rdx, r13
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r15, rax
test rbx, rbx
je 0x140097aa1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097aa1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097aa4
mov rax, r12
mov r8, r15
lea rdx, str.width
mov rcx, rax
call fcn.140021930
mov rcx, rsi
call fcn.1400771f8
mov r8d, dword [rax + 0x1c]
sub r8d, dword [rax + 0x14]
mov rdx, r13
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r15, rax
test rbx, rbx
je 0x140097b07
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097b07
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097b0a
mov rax, r12
mov r8, r15
lea rdx, str.height
mov rcx, rax
call fcn.140021930
mov rdx, rbx
mov rcx, rdi
call fcn.140020fcc
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140097b4f
lea rdx, str.Monitors
mov rcx, rax
call fcn.140021590
mov r13, rax
jmp 0x140097b52
mov r13, r12
test rdi, rdi
je 0x140097b70
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test rax, rax
je 0x140097b70
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x140097b73
mov rax, r12
mov rdx, r13
mov rcx, rax
call fcn.140020fcc
mov qword [rbp - 0x18], r12
mov rcx, rsi
call fcn.1400771f8
mov rcx, qword [rax + 0x28]
sub rcx, qword [rax + 0x20]
sar rcx, 5
test rcx, rcx
je 0x140097e7a
mov rcx, rsi
call fcn.1400771f8
mov r15, qword [rax + 0x20]
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140097bd3
lea rdx, str.Monitor
mov rcx, rax
call fcn.140021590
mov rbx, rax
jmp 0x140097bd5
xor ebx, ebx
mov r8d, dword [r12 + r15 + 8]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140097c21
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097c21
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097c23
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, str.left
mov rcx, rax
call fcn.140021930
mov r8d, dword [r12 + r15 + 0xc]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140097c83
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097c83
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097c85
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, [0x1400cbfc8]
mov rcx, rax
call fcn.140021930
mov r8d, dword [r12 + r15 + 0x10]
sub r8d, dword [r12 + r15 + 8]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140097cea
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097cea
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097cec
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, str.width
mov rcx, rax
call fcn.140021930
mov r8d, dword [r12 + r15 + 0x14]
sub r8d, dword [r12 + r15 + 0xc]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140097d51
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097d51
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097d53
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, str.height
mov rcx, rax
call fcn.140021930
mov r15, qword [r12 + r15 + 0x18]
cmp dword [r15 - 0xc], 0
jl 0x140097d7e
mov qword [rbp - 0x20], r15
lock inc dword [r15 - 0xc]
jmp 0x140097da9
mov rax, qword [0x140108018]
mov qword [rbp - 0x20], rax
test r15, r15
jne 0x140097d92
xor eax, eax
jmp 0x140097d9b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, r15
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.140067304
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x10]
call fcn.140069d98
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r15, rax
test rbx, rbx
je 0x140097de5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097de5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097de7
xor eax, eax
mov r8, r15
lea rdx, str.file
mov rcx, rax
call fcn.140021930
nop
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x140097e1e
lock add dword [rcx], 0xffffffff
jg 0x140097e1e
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
test r13, r13
je 0x140097e3e
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x28]
test rax, rax
je 0x140097e3e
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x28]
jmp 0x140097e40
xor eax, eax
mov rdx, rbx
mov rcx, rax
call fcn.140020fcc
mov rbx, qword [rbp - 0x18]
inc rbx
mov qword [rbp - 0x18], rbx
add r12, 0x20
mov rcx, rsi
call fcn.1400771f8
mov rcx, qword [rax + 0x28]
sub rcx, qword [rax + 0x20]
sar rcx, 5
cmp rbx, rcx
jb 0x140097b9f
xor r12d, r12d
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140097ea2
lea rdx, str.Windows
mov rcx, rax
call fcn.140021590
mov r15, rax
jmp 0x140097ea5
mov r15, r12
test rdi, rdi
je 0x140097ec3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test rax, rax
je 0x140097ec3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x140097ec6
mov rax, r12
mov rdx, r15
mov rcx, rax
call fcn.140020fcc
mov r13, r12
mov rcx, rsi
call fcn.1400771f8
mov rcx, rax
mov rax, qword [rax + 0x40]
sub rax, qword [rcx + 0x38]
sar rax, 5
test rax, rax
je 0x140098155
mov rdi, r12
mov rcx, rsi
call fcn.1400771f8
mov r12, qword [rax + 0x38]
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140097f2b
lea rdx, str.Window
mov rcx, rax
call fcn.140021590
mov rbx, rax
jmp 0x140097f2d
xor ebx, ebx
mov r8d, dword [rdi + r12 + 8]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140097f79
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097f79
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097f7b
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, str.left
mov rcx, rax
call fcn.140021930
mov r8d, dword [rdi + r12 + 0xc]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140097fdb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140097fdb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140097fdd
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, [0x1400cbfc8]
mov rcx, rax
call fcn.140021930
mov r8d, dword [rdi + r12 + 0x10]
sub r8d, dword [rdi + r12 + 8]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140098042
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140098042
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140098044
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, str.width
mov rcx, rax
call fcn.140021930
mov r8d, dword [rdi + r12 + 0x14]
sub r8d, dword [rdi + r12 + 0xc]
lea rdx, [0x1400cb298]
lea rcx, [rbp + 0x240]
call fcn.140069514
mov rdx, qword [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x1400980a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x1400980a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400980ab
xor eax, eax
mov r8, qword [rsp + 0x20]
lea rdx, str.height
mov rcx, rax
call fcn.140021930
mov rdx, qword [rdi + r12]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r12, rax
test rbx, rbx
je 0x1400980ee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x1400980ee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400980f0
xor eax, eax
mov r8, r12
lea rdx, str.title
mov rcx, rax
call fcn.140021930
xor r12d, r12d
test r15, r15
je 0x140098123
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x28]
test rax, rax
je 0x140098123
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x28]
jmp 0x140098126
mov rax, r12
mov rdx, rbx
mov rcx, rax
call fcn.140020fcc
inc r13
add rdi, 0x20
mov rcx, rsi
call fcn.1400771f8
mov rcx, qword [rax + 0x40]
sub rcx, qword [rax + 0x38]
sar rcx, 5
cmp r13, rcx
jb 0x140097ef7
mov r13, qword [rbp - 0x10]
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140098181
lea rdx, str.CustomProps
mov rcx, rax
call fcn.140021590
mov rdi, rax
jmp 0x140098184
mov rdi, r12
mov rdx, rdi
mov rcx, r14
call fcn.140020fcc
mov r15d, r12d
mov rcx, rsi
call fcn.140077000
test eax, eax
jle 0x14009830c
mov rax, qword [0x140108018]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
mov edx, r15d
mov rcx, rsi
call fcn.140076f3c
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400981f0
lea rdx, str.Prop
mov rcx, rax
call fcn.140021590
mov rbx, rax
jmp 0x1400981f3
mov rbx, r12
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r12, rax
test rbx, rbx
je 0x140098223
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140098223
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140098225
xor eax, eax
mov r8, r12
lea rdx, str.name
mov rcx, rax
call fcn.140021930
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r12, rax
test rbx, rbx
je 0x140098267
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140098267
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140098269
xor eax, eax
mov r8, r12
lea rdx, str.value
mov rcx, rax
call fcn.140021930
xor r12d, r12d
test rdi, rdi
je 0x14009829c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test rax, rax
je 0x14009829c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x14009829f
mov rax, r12
mov rdx, rbx
mov rcx, rax
call fcn.140020fcc
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400982d2
lock add dword [rcx], 0xffffffff
jg 0x1400982d2
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400982f8
lock add dword [rcx], 0xffffffff
jg 0x1400982f8
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
inc r15d
mov rcx, rsi
call fcn.140077000
cmp r15d, eax
jl 0x1400981a2
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140098334
lea rdx, str.FileList
mov rcx, rax
call fcn.140021590
mov rdi, rax
jmp 0x140098337
mov rdi, r12
mov rdx, rdi
mov rcx, r14
call fcn.140020fcc
mov r15d, r12d
mov rcx, rsi
call fcn.140076bec
test eax, eax
jle 0x1400984dd
mov edx, r15d
mov rcx, rsi
call fcn.140076b24
mov r14, rax
mov ecx, 0x90
call sub.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14009838b
lea rdx, str.FileItem
mov rcx, rax
call fcn.140021590
mov rbx, rax
jmp 0x14009838e
mov rbx, r12
mov rdx, qword [r14]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r12, rax
test rbx, rbx
je 0x1400983bc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x1400983bc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400983be
xor eax, eax
mov r8, r12
lea rdx, str.name
mov rcx, rax
call fcn.140021930
mov rdx, qword [r14 + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r12, rax
test rbx, rbx
je 0x1400983ff
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x1400983ff
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140098401
xor eax, eax
mov r8, r12
lea rdx, [0x1400c8f50]
mov rcx, rax
call fcn.140021930
xor r12d, r12d
cmp dword [r14 + 0x1c], r12d
je 0x140098453
test rbx, rbx
je 0x14009843a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x14009843a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14009843d
mov rax, r12
lea r8, [0x1400c8f6c]
lea rdx, str.optional
mov rcx, rax
call fcn.140021930
mov rdx, qword [r14 + 0x20]
cmp dword [rdx - 8], r12d
je 0x14009849d
lea rcx, [rsp + 0x40]
call fcn.14006ce24
mov r14, rax
test rbx, rbx
je 0x140098488
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140098488
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14009848b
mov rax, r12
mov r8, r14
lea rdx, str.error
mov rcx, rax
call fcn.140021930
test rdi, rdi
je 0x1400984bb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test rax, rax
je 0x1400984bb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x1400984be
mov rax, r12
mov rdx, rbx
mov rcx, rax
call fcn.140020fcc
inc r15d
mov rcx, rsi
call fcn.140076bec
cmp r15d, eax
jl 0x140098355
lea r8, [0x1400c901c]
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x248]
call qword [sym.imp.MSVCR120.dll__wfopen_s]
mov rdx, qword [rbp + 0x248]
test rdx, rdx
jne 0x140098530
lea rcx, str.Error_opening_file_for_writing
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str.Error_opening_file_for_writing
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140067304
mov rcx, qword [rbp + 0x248]
mov ebx, dword [rbp + 0x230]
jmp 0x14009857a
mov byte [rbp + 0x1ec], 1
lea rcx, [rbp + 0x180]
call fcn.14002215c
test al, al
jne 0x14009855e
mov rdx, qword [rbp + 0x1d8]
add rdx, 0x10
lea rcx, [rsp + 0x58]
call fcn.140068984
jmp 0x140098521
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.MSVCR120.dll_fclose]
mov rcx, r12
mov qword [rbp + 0x248], rcx
mov ebx, 1
test rcx, rcx
je 0x140098585
call qword [sym.imp.MSVCR120.dll_fclose]
test ebx, ebx
jne 0x1400985a4
mov rdx, qword [rbp + 0x48]
mov rcx, rsi
call fcn.140076b8c
lea rcx, [rax + 0x20]
lea rdx, [rsp + 0x58]
call fcn.140068904
nop
mov rcx, qword [rsp + 0x28]
or edi, 0xffffffff
cmp rcx, qword [0x140108010]
je 0x1400985c7
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400985c7
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
cmp r13, qword [0x140108010]
je 0x1400985e7
mov eax, edi
lock xadd dword [r13], eax
add eax, edi
test eax, eax
jg 0x1400985e7
mov rcx, r13
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rsp + 0x38]
cmp rcx, qword [0x140108010]
je 0x140098607
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140098607
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [0x140108010]
je 0x140098627
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140098627
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rbp - 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009864a
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x14009864a
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rbp + 0x240]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x140098670
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x140098670
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rax, vtable.TiXmlDocument.0
mov qword [rbp + 0x180], rax
lea rax, [0x140109f70]
mov rcx, qword [rbp + 0x1d8]
cmp rcx, rax
je 0x140098696
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
lea rcx, [rbp + 0x180]
call fcn.140020ed4
nop
lea rcx, [rsp + 0x40]
call fcn.140068890
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400986d2
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400986d2
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rax, qword [rbp - 0x80]
add rax, 0xfffffffffffffff4
cmp rax, qword [0x140108010]
je 0x1400986fd
mov ecx, edi
lock xadd dword [rax], ecx
add ecx, edi
test ecx, ecx
jg 0x1400986fd
mov rcx, qword [rbp - 0x80]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rbp + 0x48]
call fcn.140073858
mov eax, ebx
mov rbx, qword [rsp + 0x338]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret