Function at 0x18001f720
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x18011c010]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xc0]
xor r15d, r15d
movups xmm0, xmmword [0x1800ed8c0]
mov qword [rsp + 0x68], rax
mov r14, rdx
mov eax, dword [0x1800ed8d0]
mov dword [rbp + 0x40], eax
movzx eax, word [0x1800ed8d4]
mov word [rbp + 0x44], ax
movzx eax, word [r8 + 0x14]
mov qword [rsp + 0x50], rcx
mov ecx, 0x76c
add ax, cx
mov qword [rsp + 0x48], r9
mov word [rsp + 0x70], ax
movzx eax, word [r8 + 0x10]
inc ax
mov qword [rsp + 0x58], r8
mov word [rsp + 0x72], ax
movzx eax, word [r8 + 0x18]
mov word [rsp + 0x74], ax
movzx eax, word [r8 + 0xc]
mov word [rsp + 0x76], ax
movzx eax, word [r8 + 8]
mov word [rsp + 0x78], ax
movzx eax, word [r8 + 4]
mov word [rsp + 0x7a], ax
movzx eax, word [r8]
mov word [rsp + 0x7c], ax
movups xmmword [rbp + 0x30], xmm0
mov dword [rsp + 0x40], r15d
mov word [rsp + 0x7e], r15w
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov r13, 0xffffffffffffffff
mov dword [rsp + 0x30], eax
mov rcx, r13
inc rcx
cmp byte [r14 + rcx], r15b
jne 0x18001f7f6
add rcx, rcx
mov edi, 0x80
cmp rcx, rdi
jb 0x18001f81c
mov rdi, r13
nop
inc rdi
cmp byte [r14 + rdi], r15b
jne 0x18001f810
add rdi, rdi
mov ecx, 0x28
call sym.glib_2.0.dll_g_slice_alloc
mov r12d, 1
mov qword [rsp + 0x60], rax
mov rbx, rax
and dword [rax + 0x14], 0xfffffffc
mov qword [rax], r15
mov qword [rax + 8], r15
mov dword [rax + 0x10], 2
mov dword [rax + 0x18], r12d
mov qword [rax + 0x20], r15
test edi, edi
je 0x18001f876
mov edx, edi
mov rcx, rax
call fcn.180004a90
test byte [rbx + 0x14], r12b
je 0x18001f876
mov ecx, dword [rbx + 0x10]
xor edx, edx
mov r8d, ecx
imul ecx, dword [rbx + 8]
add rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memset
cmp byte [r14], r15b
je 0x18002039f
nop
mov rcx, r14
call sym.glib_2.0.dll_g_utf8_get_char
mov dword [rsp + 0x34], eax
cmp eax, 0x25
jne 0x180020232
movzx eax, byte [r14]
lea rcx, [0x180000000]
movsx rax, byte [rax + rcx + 0xbe4f0]
add r14, rax
movzx edi, byte [r14]
test dil, dil
je 0x180020466
mov rcx, r14
mov esi, r15d
call sym.glib_2.0.dll_g_utf8_get_char
mov dword [rsp + 0x34], eax
cmp eax, 0x45
je 0x18001f8d2
cmp eax, 0x4f
jne 0x18001f900
mov esi, eax
lea rcx, [0x180000000]
movzx eax, dil
movsx rax, byte [rax + rcx + 0xbe4f0]
add r14, rax
cmp byte [r14], r15b
je 0x180020466
mov rcx, r14
call sym.glib_2.0.dll_g_utf8_get_char
mov dword [rsp + 0x34], eax
add eax, 0xffffffdb
cmp eax, 0x54
ja case.0x18001f92c.38
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x205c0]
mov ecx, dword [rcx + rax*4 + 0x20544]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
movzx eax, word [rsp + 0x74]
test ax, ax
jne 0x18001f93f
mov esi, 0x37
jmp 0x18001f945
movzx esi, ax
add esi, 0x30
mov ecx, dword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [rbx + 8]
mov rcx, rbx
movsxd rdi, eax
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov rcx, qword [rbx]
mov r9d, edi
mov r8d, dword [rbx + 8]
mov edx, esi
sub r8, rdi
lea r8, [rcx + r8*2]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [rbx + 8]
mov rcx, rbx
dec edx
call sym.glib_2.0.dll_g_array_set_size
jmp case.0x18001f92c.38
movzx eax, word [rsp + 0x74]
test ax, ax
jne 0x18001f9a7
mov esi, 0x30
jmp 0x18001f9ad
movzx esi, ax
add esi, 0x29
mov ecx, dword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [rbx + 8]
mov rcx, rbx
movsxd rdi, eax
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov rcx, qword [rbx]
mov r9d, edi
mov r8d, dword [rbx + 8]
mov edx, esi
sub r8, rdi
lea r8, [rcx + r8*2]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [rbx + 8]
mov rcx, rbx
dec edx
call sym.glib_2.0.dll_g_array_set_size
jmp case.0x18001f92c.38
mov ecx, dword [rsp + 0x30]
cmp esi, 0x4f
jne 0x18001fa5f
movzx edx, word [rsp + 0x72]
xor r9d, r9d
add edx, 0x43
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [rbx + 8]
mov rcx, rbx
movsxd rdi, eax
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
sub rdx, rdi
lea r8, [rcx + rdx*2]
movzx edx, word [rsp + 0x72]
add edx, 0x43
mov ecx, dword [rsp + 0x30]
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [rbx + 8]
mov rcx, rbx
dec edx
call sym.glib_2.0.dll_g_array_set_size
jmp case.0x18001f92c.38
mov dword [rsp + 0x28], r15d
lea r9, str.ddMMM
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov edx, dword [rbx + 8]
mov rcx, rbx
movsxd rsi, eax
add edx, esi
call sym.glib_2.0.dll_g_array_set_size
lea r9, str.ddMMM
mov rcx, qword [rbx]
lea r8, [rsp + 0x70]
mov edx, dword [rbx + 8]
mov rdi, rsi
sub rdx, rsi
mov dword [rsp + 0x28], esi
lea rdx, [rcx + rdx*2]
mov ecx, dword [rsp + 0x30]
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov rax, qword [rbx]
mov ecx, dword [rbx + 8]
sub rcx, rsi
lea rcx, [rax + rcx*2]
lea eax, [rsi - 2]
movsxd r8, eax
lea rdx, [rcx + 4]
add r8, r8
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [rbx + 8]
mov rcx, rbx
sub edx, 3
call sym.glib_2.0.dll_g_array_set_size
jmp case.0x18001f92c.38
mov ecx, dword [rsp + 0x30]
cmp esi, 0x4f
jne 0x18001fb37
movzx edx, word [rsp + 0x72]
xor r9d, r9d
add edx, 0x37
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [rbx + 8]
mov rcx, rbx
movsxd rdi, eax
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
sub rdx, rdi
lea r8, [rcx + rdx*2]
movzx edx, word [rsp + 0x72]
add edx, 0x37
jmp 0x18001fa40
mov dword [rsp + 0x28], r15d
lea r9, str.ddMMMM
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov edx, dword [rbx + 8]
mov rcx, rbx
movsxd rsi, eax
add edx, esi
call sym.glib_2.0.dll_g_array_set_size
lea r9, str.ddMMMM
jmp 0x18001fa94
mov esi, dword [rsp + 0x30]
lea r8, [rsp + 0x70]
mov ecx, esi
mov dword [rsp + 0x28], r15d
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
movsxd rdi, eax
test eax, eax
jle 0x18001fbda
mov edx, dword [rbx + 8]
mov rcx, rbx
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov rcx, qword [rbx]
lea r8, [rsp + 0x70]
mov edx, dword [rbx + 8]
xor r9d, r9d
sub rdx, rdi
mov dword [rsp + 0x28], edi
lea rdx, [rcx + rdx*2]
mov ecx, esi
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov edx, dword [rbx + 8]
mov rcx, rbx
dec edx
call sym.glib_2.0.dll_g_array_set_size
mov r8d, r12d
lea rdx, [0x1800ed8d8]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor edx, edx
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x70]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
movsxd rdi, eax
test eax, eax
jle case.0x18001f92c.38
mov edx, dword [rbx + 8]
mov rcx, rbx
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov rcx, qword [rbx]
lea r8, [rsp + 0x70]
mov edx, dword [rbx + 8]
xor r9d, r9d
sub rdx, rdi
mov dword [rsp + 0x28], edi
lea rdx, [rcx + rdx*2]
mov ecx, esi
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov edx, dword [rbx + 8]
mov rcx, rbx
dec edx
call sym.glib_2.0.dll_g_array_set_size
jmp case.0x18001f92c.38
movzx ecx, word [rsp + 0x70]
mov eax, 0x10624dd3
mul ecx
mov r8d, r12d
mov rcx, rbx
shr edx, 6
mov eax, edx
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x70]
mov eax, 0x10624dd3
mul ecx
mov ecx, edx
shr ecx, 6
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
movsxd rax, ecx
lea rdx, [rbp + 0x30]
mov r8d, r12d
lea rdx, [rdx + rax*2]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
movzx ecx, word [rsp + 0x76]
mov eax, 0xcccccccd
mul ecx
mov r8d, r12d
mov rcx, rbx
shr edx, 3
mov eax, edx
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x76]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
jmp 0x18001fca0
movzx ecx, word [rsp + 0x72]
mov eax, 0xcccccccd
mul ecx
mov r8d, r12d
mov rcx, rbx
shr edx, 3
mov eax, edx
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x72]
mov eax, 0xcccccccd
mul ecx
mov r8d, r12d
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, [rbp + 0x30]
sub ecx, eax
movsxd rax, ecx
mov rcx, rbx
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
mov r8d, r12d
lea rdx, [0x1800ed8dc]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x76]
mov eax, 0xcccccccd
mul ecx
mov r8d, r12d
mov rcx, rbx
shr edx, 3
mov eax, edx
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x76]
mov eax, 0xcccccccd
mul ecx
mov r8d, r12d
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, [rbp + 0x30]
sub ecx, eax
movsxd rax, ecx
mov rcx, rbx
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
lea rdx, [0x1800ed8dc]
mov r8d, r12d
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x70]
mov eax, 0xcccccccd
mul ecx
mov eax, 0x66666667
mov r8d, r12d
mov ecx, edx
shr ecx, 3
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, [rbp + 0x30]
sub ecx, eax
movsxd rax, ecx
mov rcx, rbx
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x70]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
jmp 0x18001fca0
movzx eax, word [rsp + 0x76]
mov r8d, r12d
cmp ax, 0xa
jb 0x18001fe35
movzx ecx, ax
mov eax, 0xcccccccd
mul ecx
shr edx, 3
mov eax, edx
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
jmp 0x18001fe3c
lea rdx, [0x1800ed8d8]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x76]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
jmp 0x18001fca0
mov r8d, 2
lea rdx, [0x1800ed8e8]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
mov rdi, qword [rsp + 0x58]
mov eax, 0x51eb851f
mov r8d, r12d
mov ecx, dword [rdi + 0x1c]
inc ecx
imul ecx
mov rcx, rbx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea rdx, [rbp + 0x30]
cdqe
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
mov ecx, dword [rdi + 0x1c]
mov eax, 0x66666667
inc ecx
mov r8d, r12d
imul ecx
mov ecx, edx
sar ecx, 2
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, [rbp + 0x30]
sub ecx, eax
movsxd rax, ecx
mov rcx, rbx
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
mov ecx, dword [rdi + 0x1c]
inc ecx
jmp 0x18001fc8f
movzx ecx, word [rsp + 0x72]
mov eax, 0xcccccccd
mul ecx
mov r8d, r12d
mov rcx, rbx
shr edx, 3
mov eax, edx
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x72]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
jmp 0x18001fca0
lea rdx, [0x1800ed8f0]
mov r8d, r12d
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
mov r8d, 8
lea rdx, str.12:00:00
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
mov esi, dword [rsp + 0x30]
lea r9, [0x1800ed8f4]
mov ecx, esi
mov dword [rsp + 0x28], r15d
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
movsxd rdi, eax
test eax, eax
jle case.0x18001f92c.38
mov edx, dword [rbx + 8]
mov rcx, rbx
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov rcx, qword [rbx]
lea r9, [0x1800ed8f4]
mov edx, dword [rbx + 8]
lea r8, [rsp + 0x70]
sub rdx, rdi
mov dword [rsp + 0x28], edi
lea rdx, [rcx + rdx*2]
mov ecx, esi
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov edx, dword [rbx + 8]
mov rcx, rbx
dec edx
call sym.glib_2.0.dll_g_array_set_size
jmp case.0x18001f92c.38
mov r8d, 5
lea rdx, str.00:00
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
mov r8d, 2
lea rdx, [0x1800ed8e0]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
lea rdx, [0x1800ed924]
mov r8d, r12d
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
mov r8d, 8
lea rdx, [0x1800ed928]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
movzx eax, word [rsp + 0x74]
mov r8d, r12d
mov rcx, rbx
test ax, ax
jne 0x180020056
lea rdx, [0x1800ed93c]
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
movzx eax, ax
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
mov rcx, qword [rsp + 0x50]
call sym.glib_2.0.dll_g_date_get_sunday_week_of_year
mov esi, eax
mov r8d, r12d
mov eax, 0x66666667
imul esi
mov edi, edx
lea rdx, [rbp + 0x30]
sar edi, 2
mov ecx, edi
shr ecx, 0x1f
add edi, ecx
movsxd rcx, edi
lea rdx, [rdx + rcx*2]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
lea eax, [rdi + rdi*4]
add eax, eax
sub esi, eax
movsxd rax, esi
jmp 0x18001fcaa
mov rcx, qword [rsp + 0x50]
call sym.glib_2.0.dll_g_date_get_iso8601_week_of_year
jmp 0x180020075
movzx eax, word [rsp + 0x74]
jmp 0x18001fcaa
mov rcx, qword [rsp + 0x50]
call sym.glib_2.0.dll_g_date_get_monday_week_of_year
jmp 0x180020075
mov esi, dword [rsp + 0x30]
lea r8, [rsp + 0x70]
mov ecx, esi
mov dword [rsp + 0x28], r15d
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
movsxd rdi, eax
test eax, eax
jle case.0x18001f92c.38
mov edx, dword [rbx + 8]
mov rcx, rbx
add edx, edi
call sym.glib_2.0.dll_g_array_set_size
mov rcx, qword [rbx]
lea r8, [rsp + 0x70]
mov edx, dword [rbx + 8]
xor r9d, r9d
sub rdx, rdi
mov dword [rsp + 0x28], edi
lea rdx, [rcx + rdx*2]
mov ecx, esi
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov edx, dword [rbx + 8]
mov rcx, rbx
dec edx
call sym.glib_2.0.dll_g_array_set_size
jmp case.0x18001f92c.38
mov esi, dword [rsp + 0x30]
jmp 0x18001fbec
movzx ecx, word [rsp + 0x70]
mov eax, 0x10624dd3
mul ecx
mov r8d, r12d
mov rcx, rbx
shr edx, 6
mov eax, edx
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rax*2]
call sym.glib_2.0.dll_g_array_append_vals
movzx ecx, word [rsp + 0x70]
mov eax, 0x51eb851f
mul ecx
mov eax, 0x66666667
mov ecx, edx
shr ecx, 5
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, [rbp + 0x30]
sub ecx, eax
movsxd rax, ecx
lea rdx, [rdx + rax*2]
jmp 0x18001fdb0
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je case.0x18001f92c.38
cmp eax, 1
jne 0x1800201eb
lea rax, [rbp - 0x7c]
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x1800201d0
lea rdx, [rbp - 0x7c]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
cmp eax, 2
jne case.0x18001f92c.38
lea rax, [rbp - 0x28]
mov r8, r13
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x180020200
lea rdx, [rbp - 0x28]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
mov r8d, r12d
lea rdx, [0x1800ed940]
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
jmp case.0x18001f92c.38
cmp eax, 0xffff
ja 0x18002028c
mov edx, r12d
mov word [rsp + 0x38], ax
mov rcx, rbx
call fcn.180004a90
mov eax, dword [rbx + 0x10]
lea rdx, [rsp + 0x38]
mov r8d, eax
imul eax, dword [rbx + 8]
mov ecx, eax
add rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbx + 8]
inc ecx
test byte [rbx + 0x14], 1
mov dword [rbx + 8], ecx
je case.0x18001f92c.38
mov eax, dword [rbx + 0x10]
xor edx, edx
imul ecx, eax
mov r8d, eax
add rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memset
jmp case.0x18001f92c.38
mov rsi, r15
lea rcx, [rsp + 0x34]
mov edi, r15d
mov edx, r15d
nop word [rax + rax]
mov eax, dword [rcx]
test eax, eax
je 0x1800202dc
cmp eax, 0xd800
jae 0x1800202b1
inc edi
jmp 0x1800202d1
cmp eax, 0xe000
jb 0x1800203f0
cmp eax, 0x10000
jae 0x1800202c7
inc edi
jmp 0x1800202d1
cmp eax, 0x110000
jae 0x180020338
add edi, 2
inc edx
add rcx, 4
cmp edx, 1
jl 0x1800202a0
xor r8d, r8d
lea eax, [rdi + 1]
movsxd rcx, eax
lea edx, [r8 + 2]
call fcn.1800760f0
mov rsi, rax
test rax, rax
je 0x18002035f
movsxd r10, edi
mov r8d, r15d
mov rdx, r15
test edi, edi
jle 0x180020456
lea r9, [rsp + 0x34]
mov ebx, 0x2400
mov r13d, 0x2800
mov r12d, 0x3ff
nop dword [rax]
mov ecx, dword [r9]
cmp ecx, 0x10000
jae 0x18002040e
mov word [rsi + rdx*2], cx
jmp 0x180020431
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
je 0x18002035a
lea rdx, str.Character_out_of_range_for_UTF_16
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
call sym.glib_2.0.dll_g_convert_error_quark
mov eax, dword [rsp + 0x3c]
mov r8d, eax
mov rdx, rsi
mov rcx, rbx
call sym.glib_2.0.dll_g_array_append_vals
test rsi, rsi
je case.0x18001f92c.38
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx eax, byte [r14]
lea rcx, [0x180000000]
movsx rax, byte [rax + rcx + 0xbe4f0]
add r14, rax
cmp byte [r14], r15b
jne 0x18001f880
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x40]
mov rcx, qword [rbx]
xor r8d, r8d
mov qword [rsp + 0x20], r15
call sym.glib_2.0.dll_g_utf16_to_utf8
mov rdi, rax
lock xadd dword [rbx + 0x18], r13d
mov eax, 3
add r13d, 0xffffffff
mov rcx, rbx
cmovne r12d, eax
mov edx, r12d
call fcn.1800042a0
test rdi, rdi
jne 0x180020490
mov rsi, qword [rsp + 0x48]
xor eax, eax
mov byte [rsi], r15b
jmp 0x1800204f5
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
je 0x18002035a
lea rdx, str.Invalid_sequence_in_conversion_input
jmp 0x18002034d
lea eax, [rcx - 0x10000]
and cx, r12w
shr eax, 0xa
sub cx, bx
sub ax, r13w
mov word [rsi + rdx*2], ax
inc r8d
mov word [rsi + rdx*2 + 2], cx
inc rdx
inc rdx
add r9, 4
inc r8d
cmp rdx, r10
jl 0x180020320
mov rbx, qword [rsp + 0x60]
mov r12d, 1
mov r13, 0xffffffffffffffff
mov eax, edi
mov word [rsi + rdx*2], r15w
mov dword [rsp + 0x3c], eax
jmp 0x180020363
mov rsi, qword [rsp + 0x48]
mov byte [rsi], r15b
lock xadd dword [rbx + 0x18], r13d
mov eax, 3
add r13d, 0xffffffff
mov rcx, rbx
cmovne r12d, eax
mov edx, r12d
call fcn.1800042a0
xor eax, eax
jmp 0x1800204f5
movsxd rcx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x68]
cmp rdx, rcx
ja 0x1800204cc
lea rcx, [rdx - 1]
add rcx, rdi
cmp rcx, rdi
jb 0x180020515
nop dword [rax + rax]
movzx eax, byte [rcx]
and al, 0xc0
cmp al, 0x80
jne 0x1800204c3
dec rcx
cmp rcx, rdi
jb 0x180020515
jmp 0x1800204b0
test rcx, rcx
je 0x180020515
sub ecx, edi
jmp 0x1800204cf
mov r15, rcx
mov rsi, qword [rsp + 0x48]
mov rdx, rdi
movsxd rbx, ecx
mov rcx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
mov byte [rsi + rbx], 0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, r15
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1800989b0
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, str.end___NULL
mov r8d, 0x9ed
lea r9, str.win32_strftime_helper
mov qword [rsp + 0x20], rax
lea rdx, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgdate.c
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_assertion_message_expr
int3