Function at 0x18008b1f0
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 0x18008b2cd
inc rax
mov rcx, qword [rbp - 0x10]
cmp rax, 0x1000
jb 0x18008b2c8
test cl, 0x1f
je 0x18008b298
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 0x18008b2a8
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 0x18008b2b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b2c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008b33a
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x18008b335
test cl, 0x1f
je 0x18008b305
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 0x18008b315
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 0x18008b325
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b332
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008b3e4
inc rax
mov rcx, qword [rbp + 0x30]
cmp rax, 0x1000
jb 0x18008b3df
test cl, 0x1f
je 0x18008b3af
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 0x18008b3bf
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 0x18008b3cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b3dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r15
mov byte [rbp + 0x30], 0
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008b450
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008b44b
test cl, 0x1f
je 0x18008b41b
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 0x18008b42b
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 0x18008b43b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b448
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008b4fc
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x18008b4f7
test cl, 0x1f
je 0x18008b4c7
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 0x18008b4d7
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 0x18008b4e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b4f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r15
mov byte [rbp + 0x10], 0
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x18008b566
inc rax
mov rcx, qword [rbp - 0x10]
cmp rax, 0x1000
jb 0x18008b561
test cl, 0x1f
je 0x18008b531
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 0x18008b541
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 0x18008b551
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b55e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008b612
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008b60d
test cl, 0x1f
je 0x18008b5dd
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 0x18008b5ed
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 0x18008b5fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b60a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
mov rax, qword [rbp + 0x48]
cmp rax, 0x10
jb 0x18008b67f
inc rax
mov rcx, qword [rbp + 0x30]
cmp rax, 0x1000
jb 0x18008b67a
test cl, 0x1f
je 0x18008b64a
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 0x18008b65a
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 0x18008b66a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b677
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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.1800aab00
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.1800aaa00
nop
mov r9d, 8
lea r8, [0x18020ad58]
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.1800ab170
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, [0x18020ad64]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020ad60]
mov rdx, rax
lea rcx, [rbp + 0x290]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008b876
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008b871
test cl, 0x1f
je 0x18008b841
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 0x18008b851
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 0x18008b861
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008b86e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008b8ba
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 0x18008b8eb
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 0x18008b921
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.1800aab00
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.1800aaa00
nop
mov r9d, 8
lea r8, [0x18020ad58]
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.1800ab170
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, [0x18020ad64]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020ad60]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008bb08
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008bb03
test cl, 0x1f
je 0x18008bad3
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 0x18008bae3
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 0x18008baf3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008bb00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008bb4c
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 0x18008bb7d
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 0x18008bbb3
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.1800aab00
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1800aaa00
nop
mov r9d, 8
lea r8, [0x18020ad58]
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.1800ab170
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, [0x18020ad64]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020ad60]
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008bd9d
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008bd98
test cl, 0x1f
je 0x18008bd68
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 0x18008bd78
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 0x18008bd88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008bd95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008bde2
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 0x18008be15
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 0x18008be4f
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.1800aab00
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1800aaa00
nop
mov r9d, 8
lea r8, [0x18020ad58]
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.1800ab170
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, [0x18020ad64]
lea rcx, [rsp + 0x30]
call fcn.180035900
nop
lea r8, [0x18020ad60]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.180035800
nop
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x18008c008
inc rax
mov rcx, qword [rsp + 0x30]
cmp rax, 0x1000
jb 0x18008c003
test cl, 0x1f
je 0x18008bfd3
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 0x18008bfe3
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 0x18008bff3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008c04e
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 0x18008c084
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 0x18008c0c1
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
call fcn.18003d1d0
nop
mov rax, qword [rbp + 0x108]
cmp rax, 0x10
jb 0x18008c121
inc rax
mov rcx, qword [rbp + 0xf0]
cmp rax, 0x1000
jb 0x18008c11c
test cl, 0x1f
je 0x18008c0ec
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 0x18008c0fc
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 0x18008c10c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c119
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 0x108], 0xf
mov qword [rbp + 0x100], r15
mov byte [rbp + 0xf0], 0
mov rax, qword [rbp + 0x88]
cmp rax, 0x10
jb 0x18008c197
inc rax
mov rcx, qword [rbp + 0x70]
cmp rax, 0x1000
jb 0x18008c192
test cl, 0x1f
je 0x18008c162
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 0x18008c172
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 0x18008c182
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c18f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], r15
mov byte [rbp + 0x70], 0
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18008c209
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18008c204
test cl, 0x1f
je 0x18008c1d4
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 0x18008c1e4
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 0x18008c1f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c201
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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 0x18008c290
inc rax
mov rcx, qword [rbp + 0x50]
cmp rax, rbx
jbe 0x18008c243
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 0x18008c28b
test byte [rbp + 0x50], 0x1f
je 0x18008c25b
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 0x18008c26b
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 0x18008c27b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c288
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r15
mov word [rbp + 0x50], r15w
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x18008c30b
inc rax
mov rcx, qword [rbp - 0x30]
cmp rax, rbx
jbe 0x18008c2be
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 0x18008c306
test byte [rbp - 0x30], 0x1f
je 0x18008c2d6
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 0x18008c2e6
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 0x18008c2f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c303
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov rax, qword [rbp + 0x128]
cmp rax, 0x10
jb 0x18008c37c
inc rax
mov rcx, qword [rbp + 0x110]
cmp rax, 0x1000
jb 0x18008c377
test cl, 0x1f
je 0x18008c347
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 0x18008c357
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 0x18008c367
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x18008c374
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
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.1801e6190
mov rbx, qword [rsp + 0xc00]
add rsp, 0xbc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret