Function at 0x180049fc0
Capabilities:
Access peb ldr_data
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov rdx, qword gs:[0x58]
mov eax, dword [0x180169450]
mov ecx, 0x10
mov rax, qword [rdx + rax*8]
mov edx, dword [rcx + rax]
cmp dword [0x18016bb88], edx
jg 0x18004a7ac
movabs r13, 0xa43d5c6fe51adbef
xor r15d, r15d
cmp byte [0x18016b670], r15b
jne 0x18004a183
movabs rcx, 0x564b884a05ec45a3
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
lea rcx, [rsi + 0x10]
mov r8d, dword [rsi + 0xd8]
lea rdx, [rsp + 0x38]
call fcn.180048c00
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18004a074
mov rbx, qword [rax]
mov rcx, r13
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov rcx, rbx
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x18004a0cd
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004a0c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004a0c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df6f8
movdqa xmm0, xmmword [0x18013e830]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdi, r15
mov rcx, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x18004a17c
mov rbx, r15
mov rdx, qword [0x18016b660]
nop word [rax + rax]
lea rax, [rcx + rbx]
cmp qword [rax + 0x18], 0xf
jbe 0x18004a11e
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp rdx, qword [0x18016b668]
je 0x18004a143
mov qword [rdx], rax
mov rdx, qword [0x18016b660]
add rdx, 8
mov qword [0x18016b660], rdx
jmp 0x18004a15b
lea r8, [rsp + 0x30]
lea rcx, [0x18016b658]
call fcn.180046f50
mov rdx, qword [0x18016b660]
inc rdi
add rbx, 0x20
mov rcx, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
sub rax, rcx
sar rax, 5
cmp rdi, rax
jb 0x18004a110
mov byte [0x18016b670], 1
mov rax, qword [0x180169780]
mov r10, qword [rax + 0x4000]
mov ebp, 0x260
cmp qword [r10 + 0x1b8], 0
jne 0x18004a1ac
cmp qword [rax + 0x4e20], 0
mov eax, ebp
je 0x18004a1b1
mov eax, 0x230
movss xmm0, dword [rax + r10]
subss xmm0, dword [r10 + 0x110]
movss dword [0x18016bb70], xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm7, xmm7
mov dword [rsp + 0x34], 0
movsxd rcx, dword [r10 + 0x100]
mov rax, qword [r10 + 0x108]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
lea rdx, [0x180128df1]
mov r8b, 0x23
lea r12, [0x180111c50]
cmp r8b, 0x23
jne 0x18004a216
cmp byte [rdx], r8b
jne 0x18004a216
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
xor rcx, rax
shr ebx, 8
xor ebx, dword [r12 + rcx*4]
movzx r8d, byte [rdx]
inc rdx
test r8b, r8b
jne 0x18004a203
not ebx
mov rax, qword [r10]
cmp dword [rax + 0x404c], ebx
jne 0x18004a253
lea r8, str.VStctable
mov edx, 0xb
mov ecx, ebx
call fcn.18006ac70
movss dword [rsp + 0x28], xmm7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
mov r8d, 2
mov edx, ebx
lea rcx, str.VStctable
call fcn.18007fa00
test al, al
je 0x18004a774
movss xmm0, dword [0x18016bb70]
subss xmm0, dword [0x18013e718]
mov rcx, qword [0x180169780]
mov rdi, qword [rcx + 0x4e20]
movsx rdx, word [rdi + 0x206]
mov r14d, 0xffffffff
cmp edx, dword [rdi + 0x6c]
jge 0x18004a398
imul rbx, rdx, 0x70
add rbx, qword [rdi + 0x18]
inc dx
mov word [rdi + 0x206], dx
mov r8d, 0x10
mov rdx, rbx
mov rcx, rdi
call fcn.180080df0
mov dword [rbx + 0x30], r15d
mov eax, dword [rbx]
movss dword [rbx + 0x1c], xmm0
cmp byte [rdi + 0x238], 0
je 0x18004a362
comiss xmm7, dword [rbx + 0x10]
jbe 0x18004a32f
comiss xmm7, dword [rbx + 0x18]
jbe 0x18004a32f
test al, 0x10
je 0x18004a30b
comiss xmm0, xmm7
jbe 0x18004a30b
movss dword [rbx + 0x10], xmm0
test al, 8
je 0x18004a326
comiss xmm0, xmm7
jbe 0x18004a319
movaps xmm1, xmm0
jmp 0x18004a321
movss xmm1, dword [0x18013e790]
movss dword [rbx + 0x18], xmm1
comiss xmm0, xmm7
jbe 0x18004a32f
mov byte [rbx + 0x6b], 0
test al, 2
je 0x18004a33f
test byte [rdi + 0x60], 4
jne 0x18004a33f
mov word [rbx + 0x63], 0
test al, 4
je 0x18004a362
test byte [rdi + 0x60], 8
jne 0x18004a362
mov word [rbx + 0x5a], r15w
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x6d]
and al, 0xfc
or cl, al
mov byte [rbx + 0x6d], cl
mov word [rbx + 0x50], r14w
lea rcx, [rdi + 0x190]
mov eax, dword [rcx]
lea edx, [rax - 1]
test eax, eax
cmove dx, r15w
mov word [rbx + 0x50], dx
lea r8, [0x180128e09]
lea rdx, str._Tcfirst
call fcn.180052060
mov rcx, qword [0x180169780]
mov rdi, qword [rcx + 0x4e20]
movsx rcx, word [rdi + 0x206]
cmp ecx, dword [rdi + 0x6c]
jge 0x18004a45f
imul rbx, rcx, 0x70
add rbx, qword [rdi + 0x18]
inc cx
mov word [rdi + 0x206], cx
mov r8d, 8
mov rdx, rbx
mov rcx, rdi
call fcn.180080df0
mov dword [rbx + 0x30], r15d
mov eax, dword [rbx]
mov dword [rbx + 0x1c], r15d
cmp byte [rdi + 0x238], 0
je 0x18004a430
comiss xmm7, dword [rbx + 0x10]
jbe 0x18004a3fd
comiss xmm7, dword [rbx + 0x18]
jbe 0x18004a3fd
test al, 8
je 0x18004a3fd
mov dword [rbx + 0x18], 0xbf800000
test al, 2
je 0x18004a40d
test byte [rdi + 0x60], 4
jne 0x18004a40d
mov word [rbx + 0x63], 0
test al, 4
je 0x18004a430
test byte [rdi + 0x60], 8
jne 0x18004a430
mov word [rbx + 0x5a], r15w
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x6d]
and al, 0xfc
or cl, al
mov byte [rbx + 0x6d], cl
mov word [rbx + 0x50], r14w
lea rcx, [rdi + 0x190]
mov eax, dword [rcx]
lea edx, [rax - 1]
test eax, eax
cmove dx, r15w
mov word [rbx + 0x50], dx
lea r8, [0x180128e5a]
lea rdx, str._Tcsecond
call fcn.180052060
call fcn.1800838f0
mov rax, qword [0x180169780]
mov rdx, qword [rax + 0x4000]
cmp qword [rdx + 0x1b8], 0
jne 0x18004a486
cmp qword [rax + 0x4e20], 0
je 0x18004a48b
mov ebp, 0x230
movss xmm0, dword [rdx + rbp]
subss xmm0, dword [rdx + 0x110]
subss xmm0, dword [0x18013e714]
movss dword [0x18016bac0], xmm0
movss xmm6, dword [0x18013e704]
comiss xmm6, xmm0
ja 0x18004a4c4
or dword [rax + 0x4990], 1
movss dword [rax + 0x49a0], xmm0
mov rax, qword [0x18016b660]
mov r9, qword [0x18016b658]
sub rax, r9
sar rax, 3
mov dword [rsp + 0x20], eax
lea rdx, [rsi + 0xd8]
lea rcx, str.Weather
call fcn.18008cc20
test al, al
je 0x18004a57e
lea rcx, [rsi + 0x10]
movsxd r8, dword [rsi + 0xd8]
mov rdx, qword [rcx + r8*8]
mov qword [rsi + 0xd0], rdx
lea rdx, [rsp + 0x38]
call fcn.180048c00
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18004a525
mov rbx, qword [rax]
mov rcx, r13
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov rcx, rbx
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x18004a57e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004a579
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004a579
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df6f8
call fcn.1800838f0
mov qword [rsp + 0x30], 0
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, str.AppSettings
call fcn.180089300
test al, al
je 0x18004a5b0
lea rcx, str.settingsToggle
call fcn.180064020
mov rcx, qword [0x180169780]
mov eax, dword [rcx + 0x4ae8]
cmp dword [rcx + 0x4ad8], eax
jg 0x18004a5d1
mov dword [rcx + 0x4a00], r15d
jmp 0x18004a71b
mov r11, qword [rcx + 0x4000]
movsxd rcx, dword [r11 + 0x100]
mov rax, qword [r11 + 0x108]
mov r10d, dword [rax + rcx*4 - 4]
not r10d
mov ebx, r10d
lea r9, [0x18011caa9]
mov dl, 0x73
nop word [rax + rax]
cmp dl, 0x23
jne 0x18004a612
cmp byte [r9], dl
jne 0x18004a612
cmp byte [r9 + 1], dl
cmove ebx, r10d
movzx ecx, bl
movzx eax, dl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r12 + rcx*4]
movzx edx, byte [r9]
inc r9
test dl, dl
jne 0x18004a600
not ebx
mov rax, qword [r11]
cmp dword [rax + 0x404c], ebx
jne 0x18004a64d
lea r8, str.settingsToggle
mov edx, 0xb
mov ecx, ebx
call fcn.18006ac70
mov ecx, ebx
call fcn.180064620
test al, al
je 0x18004a71b
lea rbx, [rsi + 0xe0]
test rbx, rbx
je 0x18004a66e
movzx r9d, byte [rbx]
jmp 0x18004a671
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [0x180119dc1]
lea rcx, str.Edit_both_regions
call fcn.18009a470
test al, al
je 0x18004a69a
test rbx, rbx
je 0x18004a69a
cmp byte [rbx], 0
sete al
mov byte [rbx], al
lea rbx, [rsi + 0xe3]
test rbx, rbx
je 0x18004a6ac
movzx r9d, byte [rbx]
jmp 0x18004a6af
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [0x180119dc1]
lea rcx, str.Show_only_the_current_sample
call fcn.18009a470
test al, al
je 0x18004a6d8
test rbx, rbx
je 0x18004a6d8
cmp byte [rbx], 0
sete al
mov byte [rbx], al
lea rbx, [rsi + 0xe1]
test rbx, rbx
je 0x18004a6ea
movzx r9d, byte [rbx]
jmp 0x18004a6ed
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [0x180119dc1]
lea rcx, str.Edit_all_time_samples
call fcn.18009a470
test al, al
je 0x18004a716
test rbx, rbx
je 0x18004a716
cmp byte [rbx], 0
sete al
mov byte [rbx], al
call fcn.1800646d0
movaps xmm1, xmm7
xor ecx, ecx
call fcn.180082eb0
call fcn.1800838f0
movss xmm0, dword [0x18016bac0]
comiss xmm6, xmm0
ja 0x18004a74d
mov rax, qword [0x180169780]
or dword [rax + 0x4990], 1
movss dword [rax + 0x49a0], xmm0
lea r9, [rsi + 0xc0]
lea rdx, [rsi + 0xdc]
mov dword [rsp + 0x20], 2
lea rcx, str.Regions
call fcn.18008cc20
call fcn.180082590
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800df290
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x18016bb88]
call fcn.1800df7a8
cmp dword [0x18016bb88], 0xffffffff
jne 0x18004a022
lea rcx, [0x1800f14e0]
call fcn.1800df6d8
lea rcx, [0x18016bb88]
call fcn.1800df73c
jmp 0x18004a022