Function at 0x18008b1e0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xac0]
sub rsp, 0xbc0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xc00], rbx
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rbp + 0xab0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x28], rdx
mov r8, rdx
lea rdx, str.http:__ip_api.com_php_
lea rcx, [rbp + 0x10]
call fcn.180035900
nop
lea r8, str._fields
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.180035800
nop
lea r8, str.city
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.180035800
nop
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x18008b2bd
inc rax
mov rcx, qword [rbp - 0x10]
cmp rax, 0x1000
jb 0x18008b2b8
test cl, 0x1f
je 0x18008b288
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b298
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b2a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b2b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 8], 0xf
xor r15d, r15d
mov qword [rbp], r15
mov byte [rbp - 0x10], r15b
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x18008b32a
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x18008b325
test cl, 0x1f
je 0x18008b2f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b305
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b315
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b322
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r15
mov byte [rbp + 0x10], 0
mov r8, rsi
lea rdx, str.http:__ip_api.com_php_
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, str._fields
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.180035800
nop
lea r8, str.country
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.180035800
nop
mov rax, qword [rbp + 0x48]
cmp rax, 0x10
jb 0x18008b3d4
inc rax
mov rcx, qword [rbp + 0x30]
cmp rax, 0x1000
jb 0x18008b3cf
test cl, 0x1f
je 0x18008b39f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b3af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b3bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b3cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r15
mov byte [rbp + 0x30], 0
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008b440
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008b43b
test cl, 0x1f
je 0x18008b40b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b41b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b42b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b438
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
mov r8, rsi
lea rdx, str.http:__ip_api.com_php_
lea rcx, [rbp - 0x10]
call fcn.180035900
nop
lea r8, str._fields
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.180035800
nop
lea r8, [0x180203a30]
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.180035800
nop
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x18008b4ec
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x18008b4e7
test cl, 0x1f
je 0x18008b4b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b4c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b4d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b4e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r15
mov byte [rbp + 0x10], 0
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x18008b556
inc rax
mov rcx, qword [rbp - 0x10]
cmp rax, 0x1000
jb 0x18008b551
test cl, 0x1f
je 0x18008b521
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b541
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b54e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 8], 0xf
mov qword [rbp], r15
mov byte [rbp - 0x10], 0
mov r8, rsi
lea rdx, str.http:__ip_api.com_php_
lea rcx, [rbp + 0x30]
call fcn.180035900
nop
lea r8, str._fields
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180035800
nop
lea r8, str.regionName
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008b602
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008b5fd
test cl, 0x1f
je 0x18008b5cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b5dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b5ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b5fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
mov rax, qword [rbp + 0x48]
cmp rax, 0x10
jb 0x18008b66f
inc rax
mov rcx, qword [rbp + 0x30]
cmp rax, 0x1000
jb 0x18008b66a
test cl, 0x1f
je 0x18008b63a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b64a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b65a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b667
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r15
mov byte [rbp + 0x30], 0
lea rbx, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 0x10
cmovae rbx, qword [rbp + 0x1f0]
add rbx, qword [rbp + 0x200]
lea rdi, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 0x10
cmovae rdi, qword [rbp + 0x1f0]
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r15
mov word [rbp + 0xd0], r15w
mov rdx, rbx
sub rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.1800aa9a0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.1800aa8a0
nop
mov r9d, 8
lea r8, [0x18020ada8]
mov edx, 0xff
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov byte [rbp + 0x4ae], 0
lea r9, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 8
cmovae r9, qword [rbp + 0xd0]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x2b0]
call fcn.1800ab010
nop
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
cmovae rdx, qword [rbp + 0x170]
mov rax, qword [rbp + 0x180]
lea rbx, [rdx + rax*2]
lea rdi, [rbp + 0x170]
cmovae rdi, qword [rbp + 0x170]
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], r15
mov byte [rbp - 0x50], 0
mov rdx, rbx
sub rdx, rdi
sar rdx, 1
lea rcx, [rbp - 0x50]
call fcn.180035aa0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.180035d10
nop
mov qword [rbp + 0x268], 0xf
mov qword [rbp + 0x260], r15
mov byte [rbp + 0x250], 0
mov r8d, 4
lea rdx, str.city
lea rcx, [rbp + 0x250]
call fcn.18003d620
nop
lea r8, [rbp + 0x250]
lea rdx, [0x18020adb4]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020adb0]
mov rdx, rax
lea rcx, [rbp + 0x290]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008b866
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008b861
test cl, 0x1f
je 0x18008b831
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008b841
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008b851
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b85e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
mov r8, qword [rbp + 0x2a0]
add r8, 3
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.18003d100
mov rax, qword [rbp - 0x40]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008b8aa
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rbp - 0x40], rcx
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rax, qword [rbp - 0x50]
mov byte [rcx + rax], 0
mov rax, qword [rbp - 0x40]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008b8db
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rbp - 0x40], rcx
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rax, qword [rbp - 0x50]
mov byte [rcx + rax], 0
lea rcx, [r14 + 0x80]
lea rax, [rbp - 0x50]
cmp rcx, rax
je 0x18008b911
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
call fcn.18003d1d0
lea rbx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae rbx, qword [rbp + 0x1d0]
add rbx, qword [rbp + 0x1e0]
lea rdi, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae rdi, qword [rbp + 0x1d0]
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], r15
mov word [rbp + 0xb0], r15w
mov rdx, rbx
sub rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.1800aa9a0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.1800aa8a0
nop
mov r9d, 8
lea r8, [0x18020ada8]
mov edx, 0xff
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov byte [rbp + 0x6ae], 0
lea r9, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae r9, qword [rbp + 0xb0]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x4b0]
call fcn.1800ab010
nop
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 8
cmovae rdx, qword [rbp + 0x150]
mov rax, qword [rbp + 0x160]
lea rbx, [rdx + rax*2]
lea rdi, [rbp + 0x150]
cmovae rdi, qword [rbp + 0x150]
mov qword [rbp - 0x58], 0xf
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x70], 0
mov rdx, rbx
sub rdx, rdi
sar rdx, 1
lea rcx, [rbp - 0x70]
call fcn.180035aa0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.180035d10
nop
mov qword [rbp + 0x248], 0xf
mov qword [rbp + 0x240], r15
mov byte [rbp + 0x230], 0
mov r8d, 7
lea rdx, str.country
lea rcx, [rbp + 0x230]
call fcn.18003d620
nop
lea r8, [rbp + 0x230]
lea rdx, [0x18020adb4]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020adb0]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008baf8
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008baf3
test cl, 0x1f
je 0x18008bac3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008bad3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008bae3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008baf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
mov r8, qword [rbp + 0x280]
add r8, 3
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.18003d100
mov rax, qword [rbp - 0x60]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008bb3c
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rbp - 0x60], rcx
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rax, qword [rbp - 0x70]
mov byte [rax + rcx], 0
mov rax, qword [rbp - 0x60]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008bb6d
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rbp - 0x60], rcx
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rax, qword [rbp - 0x70]
mov byte [rax + rcx], 0
lea rcx, [r14 + 0xa0]
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x18008bba3
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x70]
call fcn.18003d1d0
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 0x10
cmovae rbx, qword [rbp + 0x1b0]
add rbx, qword [rbp + 0x1c0]
lea rdi, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 0x10
cmovae rdi, qword [rbp + 0x1b0]
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r15
mov word [rbp + 0x90], r15w
mov rdx, rbx
sub rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1800aa9a0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1800aa8a0
nop
mov r9d, 8
lea r8, [0x18020ada8]
mov edx, 0xff
lea rcx, [rbp + 0x6b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov byte [rbp + 0x8ae], 0
lea r9, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r9, qword [rbp + 0x90]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x6b0]
call fcn.1800ab010
nop
lea rdx, [rbp + 0x130]
cmp qword [rbp + 0x148], 8
cmovae rdx, qword [rbp + 0x130]
mov rax, qword [rbp + 0x140]
lea rbx, [rdx + rax*2]
lea rdi, [rbp + 0x130]
cmovae rdi, qword [rbp + 0x130]
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], r15
mov byte [rsp + 0x70], 0
mov rdx, rbx
sub rdx, rdi
sar rdx, 1
lea rcx, [rsp + 0x70]
call fcn.180035aa0
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.180035d10
nop
mov qword [rbp + 0x228], 0xf
mov qword [rbp + 0x220], r15
mov byte [rbp + 0x210], 0
mov r8d, 3
lea rdx, [0x180203a30]
lea rcx, [rbp + 0x210]
call fcn.18003d620
nop
lea r8, [rbp + 0x210]
lea rdx, [0x18020adb4]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020adb0]
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008bd8d
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008bd88
test cl, 0x1f
je 0x18008bd58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008bd68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008bd78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008bd85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
mov r8, qword [rbp + 0x120]
add r8, 3
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.18003d100
mov rax, qword [rbp - 0x80]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008bdd2
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rbp - 0x80], rcx
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rcx + rax], 0
mov rax, qword [rbp - 0x80]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008be05
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rbp - 0x80], rcx
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax + rcx], 0
lea rcx, [r14 + 0xc0]
lea rax, [rsp + 0x70]
cmp rcx, rax
je 0x18008be3f
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
call fcn.18003d1d0
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0x10
cmovae rdx, qword [rbp + 0x190]
mov rbx, qword [rbp + 0x1a0]
add rbx, rdx
lea rdi, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0x10
cmovae rdi, qword [rbp + 0x190]
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov rdx, rbx
sub rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1800aa9a0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1800aa8a0
nop
mov r9d, 8
lea r8, [0x18020ada8]
mov edx, 0xff
lea rcx, [rbp + 0x8b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov byte [rbp + 0xaae], 0
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x8b0]
call fcn.1800ab010
nop
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x60]
lea rbx, [rdx + rax*2]
lea rdi, [rbp + 0x50]
cmovae rdi, qword [rbp + 0x50]
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x50], 0
mov rdx, rbx
sub rdx, rdi
sar rdx, 1
lea rcx, [rsp + 0x50]
call fcn.180035aa0
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180035d10
nop
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], r15
mov byte [rbp + 0x70], 0
mov r8d, 0xa
lea rdx, str.regionName
lea rcx, [rbp + 0x70]
call fcn.18003d620
nop
lea r8, [rbp + 0x70]
lea rdx, [0x18020adb4]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020adb0]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008bff8
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008bff3
test cl, 0x1f
je 0x18008bfc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008bfd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008bfe3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008bff0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
mov r8, qword [rbp + 0x100]
add r8, 3
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.18003d100
mov rax, qword [rsp + 0x60]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008c03e
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x60]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x18008c074
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
mov byte [rcx + rax], 0
lea rcx, [r14 + 0xe0]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x18008c0b1
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
call fcn.18003d1d0
nop
mov rax, qword [rbp + 0x108]
cmp rax, 0x10
jb 0x18008c111
inc rax
mov rcx, qword [rbp + 0xf0]
cmp rax, 0x1000
jb 0x18008c10c
test cl, 0x1f
je 0x18008c0dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008c0ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008c0fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c109
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x108], 0xf
mov qword [rbp + 0x100], r15
mov byte [rbp + 0xf0], 0
mov rax, qword [rbp + 0x88]
cmp rax, 0x10
jb 0x18008c187
inc rax
mov rcx, qword [rbp + 0x70]
cmp rax, 0x1000
jb 0x18008c182
test cl, 0x1f
je 0x18008c152
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008c162
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008c172
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c17f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], r15
mov byte [rbp + 0x70], 0
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18008c1f9
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18008c1f4
test cl, 0x1f
je 0x18008c1c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008c1d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008c1e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c1f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x50], 0
movabs rbx, 0x7fffffffffffffff
mov rax, qword [rbp + 0x68]
cmp rax, 8
jb 0x18008c280
inc rax
mov rcx, qword [rbp + 0x50]
cmp rax, rbx
jbe 0x18008c233
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x18008c27b
test byte [rbp + 0x50], 0x1f
je 0x18008c24b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008c25b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008c26b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r15
mov word [rbp + 0x50], r15w
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x18008c2fb
inc rax
mov rcx, qword [rbp - 0x30]
cmp rax, rbx
jbe 0x18008c2ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x18008c2f6
test byte [rbp - 0x30], 0x1f
je 0x18008c2c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008c2d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008c2e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c2f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov rax, qword [rbp + 0x128]
cmp rax, 0x10
jb 0x18008c36c
inc rax
mov rcx, qword [rbp + 0x110]
cmp rax, 0x1000
jb 0x18008c367
test cl, 0x1f
je 0x18008c337
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18008c347
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x18008c357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c364
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov qword [rbp + 0x128], 0xf
mov qword [rbp + 0x120], r15
mov byte [rbp + 0x110], 0
lea rcx, [rbp + 0x210]
call fcn.18003d070
nop
lea rcx, [rsp + 0x70]
call fcn.18003d070
nop
lea rcx, [rbp + 0x130]
call fcn.18003c150
nop
lea rcx, [rbp + 0x90]
call fcn.18003c150
nop
lea rcx, [rbp + 0x270]
call fcn.18003d070
nop
lea rcx, [rbp + 0x230]
call fcn.18003d070
nop
lea rcx, [rbp - 0x70]
call fcn.18003d070
nop
lea rcx, [rbp + 0x150]
call fcn.18003c150
nop
lea rcx, [rbp + 0xb0]
call fcn.18003c150
nop
lea rcx, [rbp + 0x290]
call fcn.18003d070
nop
lea rcx, [rbp + 0x250]
call fcn.18003d070
nop
lea rcx, [rbp - 0x50]
call fcn.18003d070
nop
lea rcx, [rbp + 0x170]
call fcn.18003c150
nop
lea rcx, [rbp + 0xd0]
call fcn.18003c150
nop
lea rcx, [rbp + 0x190]
call fcn.18003d070
nop
lea rcx, [rbp + 0x1b0]
call fcn.18003d070
nop
lea rcx, [rbp + 0x1d0]
call fcn.18003d070
nop
lea rcx, [rbp + 0x1f0]
call fcn.18003d070
nop
mov rcx, rsi
call fcn.18003d070
mov rcx, qword [rbp + 0xab0]
xor rcx, rsp
call fcn.1801e6050
mov rbx, qword [rsp + 0xc00]
add rsp, 0xbc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret