Function at 0x685d8b10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x16c
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_date_valid
test eax, eax
je 0x685d8bb0
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x685d8b61
mov esi, str.slen___0
mov ebx, str.g_date_strftime
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0x6865ba0a
call sym.libglib_2.0_0.dll_g_return_if_fail_warning
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test ebx, ebx
je 0x685d8e6d
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x685d9b60
mov edx, dword [ebp + 0x14]
lea eax, [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.libglib_2.0_0.dll_g_date_to_struct_tm
xor edx, edx
mov eax, 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.libglib_2.0_0.dll_g_utf8_validate
test eax, eax
jne 0x685d8be0
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x6865ba61
mov edi, str.g_date_strftime
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], 0x6865ba0a
call sym.libglib_2.0_0.dll_g_return_if_fail_warning
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [ebp - 0x4e]
mov ecx, 0x6865bd9c
mov edx, esi
test dl, 2
mov dword [ebp - 0x14c], esi
mov esi, 0x16
jne 0x685d9c55
mov edi, esi
xor eax, eax
and edi, 0xfffffffc
mov dword [ebp - 0x12c], ebx
mov ebx, dword [ecx + eax]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, edi
jb 0x685d8c0b
add edx, eax
add ecx, eax
mov ebx, dword [ebp - 0x12c]
and esi, 2
jne 0x685d9bec
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x2a], 0
add eax, 0x76c
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x64]
inc eax
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0x5c]
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x68]
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x6c]
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x70]
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x74]
mov word [ebp - 0x2c], ax
call sym._GetThreadLocale_0
mov dword [esp], ebx
mov dword [ebp - 0x130], eax
call sym._strlen
add eax, eax
cmp eax, 0x7f
jbe 0x685d8e92
lea esi, [esi]
xor esi, esi
mov edi, 2
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], 0
call sym.libglib_2.0_0.dll_g_array_sized_new
cmp byte [ebx], 0
mov esi, eax
je 0x685d8d65
mov edi, dword [sym.libglib_2.0_0.dll_g_utf8_skip]
jmp 0x685d8cec
mov word [ebp - 0x1a], ax
lea ecx, [ebp - 0x1a]
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
movzx eax, byte [ebx]
movsx eax, byte [edi + eax]
add ebx, eax
cmp byte [ebx], 0
je 0x685d8d65
mov dword [esp], ebx
call sym.libglib_2.0_0.dll_g_utf8_get_char
cmp eax, 0x25
mov dword [ebp - 0x20], eax
je 0x685d8ea0
cmp eax, 0xffff
jbe 0x685d8cc2
xor edx, edx
xor ecx, ecx
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], edx
lea edx, [ebp - 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_ucs4_to_utf16
mov dword [esp], esi
mov edx, eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [ebp - 0x138], edx
mov dword [esp + 8], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov edx, dword [ebp - 0x138]
mov dword [esp], edx
call sym.libglib_2.0_0.dll_g_free
movzx eax, byte [ebx]
movsx eax, byte [edi + eax]
add ebx, eax
cmp byte [ebx], 0
jne 0x685d8cec
xor ecx, ecx
xor ebx, ebx
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_utf16_to_utf8
mov edx, 1
mov dword [esp + 4], edx
mov dword [esp], esi
mov ebx, eax
call sym.libglib_2.0_0.dll_g_array_free
test ebx, ebx
je 0x685d9c90
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x12c], eax
ja 0x685d8dd9
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
lea eax, [ebx + eax]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_utf8_find_prev_char
test eax, eax
je 0x685d9c9d
sub eax, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x12c], eax
xor eax, eax
mov esi, dword [ebp - 0x12c]
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x12c], 8
mov dword [ebp - 0x134], esi
mov esi, ebx
mov dword [ebp - 0x130], edi
jae 0x685d9b85
xor ecx, ecx
test byte [ebp - 0x134], 4
je 0x685d8e17
mov ecx, dword [esi]
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov ecx, 4
test byte [ebp - 0x134], 2
je 0x685d8e31
movzx edx, word [esi + ecx]
mov edi, dword [ebp - 0x130]
mov word [edi + ecx], dx
add ecx, 2
test byte [ebp - 0x134], 1
je 0x685d8e47
movzx edx, byte [esi + ecx]
mov esi, dword [ebp - 0x130]
mov byte [esi + ecx], dl
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x12c]
mov byte [edx + edi], 0
mov dword [ebp - 0x138], eax
mov dword [esp], ebx
call sym.libglib_2.0_0.dll_g_free
mov eax, dword [ebp - 0x138]
jmp 0x685d8b59
mov ecx, 0x6865bd77
mov edx, str.g_date_strftime
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0x6865ba0a
call sym.libglib_2.0_0.dll_g_return_if_fail_warning
xor eax, eax
jmp 0x685d8b59
mov eax, pe_nt_image_headers32
jmp 0x685d8c90
movzx eax, byte [ebx]
movsx eax, byte [edi + eax]
add ebx, eax
cmp byte [ebx], 0
je 0x685d9bce
mov dword [esp], ebx
call sym.libglib_2.0_0.dll_g_utf8_get_char
cmp eax, 0x4f
mov dword [ebp - 0x20], eax
je 0x685d8ec7
cmp eax, 0x45
jne 0x685d8ee4
movzx eax, byte [ebx]
movsx eax, byte [edi + eax]
add ebx, eax
cmp byte [ebx], 0
je 0x685d9c72
mov dword [esp], ebx
call sym.libglib_2.0_0.dll_g_utf8_get_char
mov dword [ebp - 0x20], eax
sub eax, 0x25
cmp eax, 0x54
ja case.0x685d8ef0.38
jmp dword [eax*4 + 0x6865bdb4]
mov ecx, 0x6865bd1c
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
mov ecx, 5
mov edx, str.00:00
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x130]
xor edx, edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._GetDateFormatW_24
sub esp, 0x18
test eax, eax
mov edx, eax
jle case.0x685d8ef0.38
mov ecx, dword [esi + 4]
mov dword [esp], esi
mov dword [ebp - 0x138], edx
add eax, ecx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
xor ecx, ecx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
sub eax, edx
mov edx, dword [esi]
mov dword [esp + 0xc], ecx
lea eax, [edx + eax*2]
xor edx, edx
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x130]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp], edx
call sym._GetDateFormatW_24
sub esp, 0x18
jmp 0x685d92c2
mov ecx, 0x6865bd22
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
movzx edx, word [ebp - 0x38]
mov ecx, 1
mov dword [esp + 8], ecx
mov ecx, 0xcccccccd
mov dword [esp], esi
mov dword [ebp - 0x13c], ecx
mov eax, edx
mul ecx
shr edx, 3
movzx edx, dx
mov eax, edx
mov dword [ebp - 0x134], edx
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [ebp - 0x134]
add eax, eax
sub edx, eax
movzx eax, dx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov edx, 1
mov dword [esp + 8], edx
movzx edx, word [ebp - 0x38]
mov ecx, dword [ebp - 0x13c]
mov eax, edx
mov dword [ebp - 0x134], edx
mov dword [esp], esi
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [ebp - 0x134]
add eax, eax
sub edx, eax
movzx eax, dx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
movzx edx, word [ebp - 0x36]
mov eax, 0xcccccccd
mov ecx, 1
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x4e]
mov dword [esp], esi
mul edx
shr edx, 2
and edx, 0x1fffe
lea edx, [ecx + edx]
mov dword [esp + 4], edx
call sym.libglib_2.0_0.dll_g_array_append_vals
movzx ecx, word [ebp - 0x36]
mov edx, 1
mov eax, 0xcccccccd
mov dword [esp + 8], edx
mov dword [esp], esi
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
movzx eax, cx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov ecx, 0x6865bd18
mov eax, 1
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
mov edx, 1
mov eax, 0xcccccccd
mov dword [esp + 8], edx
movzx edx, word [ebp - 0x32]
lea ecx, [ebp - 0x4e]
mov dword [esp], esi
mul edx
shr edx, 2
and edx, 0x1fffe
lea edx, [ecx + edx]
mov dword [esp + 4], edx
call sym.libglib_2.0_0.dll_g_array_append_vals
movzx ecx, word [ebp - 0x32]
mov eax, 1
mov dword [esp + 8], eax
mov eax, 0xcccccccd
mov dword [esp], esi
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
movzx eax, cx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov ecx, 1
mov edx, 0x6865bd18
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
movzx edx, word [ebp - 0x38]
mov eax, 1
mov dword [esp + 8], eax
mov eax, 0xcccccccd
mov dword [esp], esi
mul edx
mov eax, 0xcccccccd
shr edx, 3
movzx ecx, dx
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
movzx eax, cx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov ecx, 1
mov eax, 0xcccccccd
mov dword [esp + 8], ecx
movzx ecx, word [ebp - 0x38]
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
movzx eax, cx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
movzx edx, word [ebp - 0x38]
mov eax, 1
mov ecx, 0x10624dd3
mov dword [esp + 8], eax
mov dword [ebp - 0x13c], ecx
mov dword [esp], esi
mov eax, edx
mul ecx
lea eax, [ebp - 0x4e]
shr edx, 5
and edx, 0x1fffe
lea edx, [eax + edx]
mov dword [esp + 4], edx
call sym.libglib_2.0_0.dll_g_array_append_vals
mov ecx, 1
movzx edx, word [ebp - 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x13c]
mov eax, edx
mul ecx
shr edx, 6
movzx ecx, dx
mov edx, 0xcccccccd
mov eax, ecx
mul edx
jmp 0x685d91c9
xor eax, eax
xor edx, edx
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x36]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x130]
add eax, 0x37
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._GetLocaleInfoW_16
mov ecx, dword [esi + 4]
sub esp, 0x10
mov edx, eax
add eax, ecx
mov dword [ebp - 0x138], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x130]
mov dword [esp + 0xc], edx
mov eax, dword [esi + 4]
sub eax, edx
mov edx, dword [esi]
mov dword [esp], ecx
lea eax, [edx + eax*2]
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x36]
add eax, 0x37
mov dword [esp + 4], eax
call sym._GetLocaleInfoW_16
sub esp, 0x10
mov eax, dword [esi + 4]
mov dword [esp], esi
dec eax
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_set_size
jmp case.0x685d8ef0.38
movzx eax, word [ebp - 0x34]
mov ecx, 0x30
test eax, eax
jne 0x685d9c45
xor eax, eax
xor edx, edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x130]
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0x13c], ecx
mov dword [esp], eax
call sym._GetLocaleInfoW_16
mov ecx, dword [esi + 4]
sub esp, 0x10
mov edx, eax
add eax, ecx
mov dword [ebp - 0x138], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov dword [esp + 0xc], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edx
mov edx, dword [ebp - 0x130]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
jmp 0x685d92ba
mov ecx, 1
mov edx, 0x6865bd6a
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
movzx eax, word [ebp - 0x34]
mov edx, 1
mov dword [esp + 8], edx
mov dword [esp], esi
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x685d9c27
mov ecx, 0x6865bd66
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
mov edx, 1
mov eax, 0x6865bd50
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
mov ecx, 8
mov edx, str.12:00:00
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
mov edx, 0x6865bd2c
xor eax, eax
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._GetTimeFormatW_24
sub esp, 0x18
test eax, eax
mov edx, eax
jle case.0x685d8ef0.38
mov ecx, dword [esi + 4]
mov dword [esp], esi
mov dword [ebp - 0x138], edx
add eax, ecx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edx
mov edx, 0x6865bd2c
lea eax, [ecx + eax*2]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._GetTimeFormatW_24
sub esp, 0x18
jmp 0x685d92c2
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], eax
xor eax, eax
mov edx, 0x6865bd2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._GetTimeFormatW_24
sub esp, 0x18
test eax, eax
mov edx, eax
jle case.0x685d8ef0.38
mov ecx, dword [esi + 4]
mov dword [ebp - 0x138], edx
mov dword [esp], esi
add eax, ecx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
sub eax, edx
mov edx, dword [esi]
lea eax, [edx + eax*2]
mov dword [esp + 0x10], eax
mov eax, 0x6865bd2c
mov dword [esp + 0xc], eax
jmp 0x685d9a9c
mov ecx, 1
mov edx, 0x6865bd28
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
mov edx, 1
mov ecx, 0xcccccccd
mov dword [esp + 8], edx
movzx edx, word [ebp - 0x36]
mov dword [esp], esi
mov dword [ebp - 0x13c], ecx
mov eax, edx
mul ecx
lea eax, [ebp - 0x4e]
shr edx, 2
and edx, 0x1fffe
lea edx, [eax + edx]
mov dword [esp + 4], edx
call sym.libglib_2.0_0.dll_g_array_append_vals
mov eax, 1
movzx edx, word [ebp - 0x36]
mov dword [esp + 8], eax
jmp 0x685d904b
mov ecx, dword [ebp - 0x58]
mov edx, 1
mov dword [esp + 8], edx
mov edx, 0x51eb851f
mov dword [esp], esi
inc ecx
mov eax, ecx
imul edx
sar ecx, 0x1f
sar edx, 5
sub edx, ecx
lea eax, [ebp + edx*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [esp], esi
inc eax
mov dword [ebp - 0x134], eax
mov eax, 0x66666667
imul dword [ebp - 0x134]
mov eax, dword [ebp - 0x134]
mov ecx, edx
sar eax, 0x1f
sar ecx, 2
sub ecx, eax
mov eax, 0x66666667
imul ecx
mov eax, ecx
sar eax, 0x1f
sar edx, 2
sub edx, eax
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
lea eax, [ebp + ecx*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov ecx, 1
mov eax, 0x66666667
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x58]
inc ecx
imul ecx
mov eax, ecx
sar eax, 0x1f
sar edx, 2
sub edx, eax
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
lea eax, [ebp + ecx*2 - 0x4e]
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
movzx eax, word [ebp - 0x32]
cmp eax, 9
ja 0x685d9bf7
mov eax, 1
mov ecx, 0x6865bd14
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
movzx ecx, word [ebp - 0x32]
mov edx, 1
mov dword [esp + 8], edx
mov edx, 0xcccccccd
mov eax, ecx
mul edx
jmp 0x685d91c9
mov edx, 1
mov ecx, 0xcccccccd
mov dword [esp + 8], edx
movzx edx, word [ebp - 0x32]
mov dword [esp], esi
mov dword [ebp - 0x13c], ecx
mov eax, edx
mul ecx
lea eax, [ebp - 0x4e]
shr edx, 2
and edx, 0x1fffe
lea edx, [eax + edx]
mov dword [esp + 4], edx
call sym.libglib_2.0_0.dll_g_array_append_vals
mov eax, 1
movzx edx, word [ebp - 0x32]
mov dword [esp + 8], eax
jmp 0x685d904b
xor edx, edx
xor eax, eax
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x130]
xor ecx, ecx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._GetDateFormatW_24
sub esp, 0x18
test eax, eax
mov edx, eax
jle 0x685d9759
mov ecx, dword [esi + 4]
mov dword [esp], esi
mov dword [ebp - 0x138], edx
add eax, ecx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edx
xor edx, edx
lea eax, [ecx + eax*2]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._GetDateFormatW_24
mov eax, dword [esi + 4]
dec eax
sub esp, 0x18
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_set_size
mov ecx, 1
mov edx, 0x6865bd14
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x130]
xor edx, edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._GetTimeFormatW_24
sub esp, 0x18
test eax, eax
mov edx, eax
jle case.0x685d8ef0.38
mov ecx, dword [esi + 4]
mov dword [esp], esi
mov dword [ebp - 0x138], edx
add eax, ecx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
xor ecx, ecx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
sub eax, edx
mov edx, dword [esi]
mov dword [esp + 0xc], ecx
lea eax, [edx + eax*2]
xor edx, edx
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x130]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp], edx
call sym._GetTimeFormatW_24
sub esp, 0x18
jmp 0x685d92c2
xor eax, eax
mov ecx, dword [ebp - 0x130]
xor edx, edx
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x36]
mov dword [esp + 0xc], edx
mov dword [esp], ecx
add eax, 0x43
mov dword [esp + 4], eax
call sym._GetLocaleInfoW_16
mov ecx, dword [esi + 4]
sub esp, 0x10
mov edx, eax
add eax, ecx
mov dword [ebp - 0x138], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov dword [esp + 0xc], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edx
lea eax, [ecx + eax*2]
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x36]
add eax, 0x43
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
jmp 0x685d92ba
movzx eax, word [ebp - 0x34]
mov ecx, 0x37
test eax, eax
jne 0x685d9c4d
xor edx, edx
xor eax, eax
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x130]
mov dword [esp + 4], ecx
mov dword [ebp - 0x13c], ecx
mov dword [esp + 8], eax
mov dword [esp], edx
call sym._GetLocaleInfoW_16
mov ecx, dword [esi + 4]
sub esp, 0x10
mov edx, eax
add eax, ecx
mov dword [ebp - 0x138], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov dword [esp + 0xc], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edx
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x130]
mov dword [esp], ecx
jmp 0x685d92ba
lea ecx, [ebp - 0x120]
mov dword [esp], ecx
call sym._GetTimeZoneInformation_4
sub esp, 4
test eax, eax
je case.0x685d8ef0.38
cmp eax, 1
je 0x685d9d34
cmp eax, 2
jne case.0x685d8ef0.38
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call sym._wcslen
lea edx, [ebp - 0xc8]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
mov eax, 1
mov edx, 0x10624dd3
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x38]
lea ecx, [ebp - 0x4e]
mov dword [esp], esi
mul edx
shr edx, 5
and edx, 0x1fffe
lea edx, [ecx + edx]
mov dword [esp + 4], edx
call sym.libglib_2.0_0.dll_g_array_append_vals
movzx eax, word [ebp - 0x38]
mov edx, 0x51eb851f
mov ecx, 1
mov dword [esp + 8], ecx
mov ecx, 0xcccccccd
mov dword [ebp - 0x13c], ecx
mul edx
mov dword [esp], esi
shr edx, 5
movzx edx, dx
mov eax, edx
mov dword [ebp - 0x134], edx
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [ebp - 0x134]
add eax, eax
sub edx, eax
movzx eax, dx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov edx, 1
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 8], edx
movzx edx, word [ebp - 0x38]
mov dword [esp], esi
mov eax, edx
mul ecx
shr edx, 3
movzx edx, dx
mov eax, edx
mov dword [ebp - 0x134], edx
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [ebp - 0x134]
add eax, eax
sub edx, eax
movzx eax, dx
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov eax, 1
movzx edx, word [ebp - 0x38]
mov dword [esp + 8], eax
jmp 0x685d904b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], eax
xor eax, eax
xor edx, edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._GetTimeFormatW_24
sub esp, 0x18
test eax, eax
mov edx, eax
jle case.0x685d8ef0.38
mov ecx, dword [esi + 4]
mov dword [ebp - 0x138], edx
mov dword [esp], esi
add eax, ecx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_set_size
mov edx, dword [ebp - 0x138]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edx
xor edx, edx
lea eax, [ecx + eax*2]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov ecx, dword [ebp - 0x130]
lea edx, [ebp - 0x38]
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._GetTimeFormatW_24
sub esp, 0x18
jmp 0x685d92c2
mov edx, dword [ebp + 0x14]
mov dword [esp], edx
call sym.libglib_2.0_0.dll_g_date_get_monday_week_of_year
mov ecx, eax
mov eax, 1
mov dword [esp + 8], eax
mov edx, 0x66666667
mov eax, ecx
imul edx
mov eax, ecx
sar eax, 0x1f
mov dword [ebp - 0x13c], ecx
mov dword [esp], esi
sar edx, 2
sub edx, eax
lea eax, [ebp + edx*2 - 0x4e]
mov dword [ebp - 0x138], edx
mov dword [esp + 4], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
mov edx, dword [ebp - 0x138]
mov ecx, 1
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x13c]
lea eax, [edx + edx*4]
add eax, eax
jmp 0x685d961e
mov edx, dword [ebp + 0x14]
mov dword [esp], edx
call sym.libglib_2.0_0.dll_g_date_get_iso8601_week_of_year
jmp 0x685d9aca
mov edx, dword [ebp + 0x14]
mov dword [esp], edx
call sym.libglib_2.0_0.dll_g_date_get_sunday_week_of_year
jmp 0x685d9aca
mov ecx, 8
mov edx, 0x6865bd54
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
mov eax, str.s___NULL
mov edi, str.g_date_strftime
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], 0x6865ba0a
call sym.libglib_2.0_0.dll_g_return_if_fail_warning
xor eax, eax
jmp 0x685d8b59
test edi, 1
jne 0x685d9cf1
test byte [ebp - 0x130], 2
jne 0x685d9ccd
test byte [ebp - 0x130], 4
jne 0x685d9d12
mov ecx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x130]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x134], 3
mov dword [ebp - 0x130], edi
jmp 0x685d8dfd
mov edi, dword [ebp + 8]
mov ebx, 1
mov byte [edi], 0
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_free
xor eax, eax
jmp 0x685d8b59
movzx eax, word [ecx]
mov word [edx], ax
jmp 0x685d8c2b
mov edx, 1
mov dword [esp + 8], edx
mov edx, 0xcccccccd
mul edx
lea ecx, [ebp - 0x4e]
mov dword [esp], esi
shr edx, 2
and edx, 0x1fffe
lea edx, [ecx + edx]
mov dword [esp + 4], edx
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp 0x685d965c
mov edx, 1
lea eax, [ebp + eax*2 - 0x4e]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38
lea ecx, [eax + 0x29]
jmp 0x685d92e8
lea ecx, [eax + 0x30]
jmp 0x685d9888
movzx eax, word [0x6865bd9c]
lea edx, [ebp - 0x4c]
mov ecx, 0x6865bd9e
mov esi, 0x14
mov word [ebp - 0x4e], ax
jmp 0x685d8bfe
mov eax, dword [ebp + 8]
mov ecx, 1
mov byte [eax], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym.libglib_2.0_0.dll_g_array_free
xor eax, eax
jmp 0x685d8b59
mov ecx, dword [ebp + 8]
xor eax, eax
mov byte [ecx], 0
jmp 0x685d8b59
mov esi, 0x6865bd90
mov ebx, str.win32_strftime_helper
mov ecx, 0x6ee
mov edx, str.gdate.c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0x6865ba0a
call sym.libglib_2.0_0.dll_g_assertion_message_expr
movzx ecx, word [esi]
add esi, 2
mov edi, dword [ebp - 0x130]
mov word [edi], cx
add edi, 2
mov dword [ebp - 0x130], edi
sub dword [ebp - 0x134], 2
jmp 0x685d9b9e
movzx edx, byte [ebx]
lea esi, [ebx + 1]
mov byte [edi], dl
inc edi
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edi
dec edx
mov dword [ebp - 0x134], edx
jmp 0x685d9b91
mov ecx, dword [esi]
add esi, 4
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
add edx, 4
mov dword [ebp - 0x130], edx
sub dword [ebp - 0x134], 4
jmp 0x685d9bab
lea edx, [ebp - 0x11c]
mov dword [esp], edx
mov dword [ebp - 0x138], edx
call sym._wcslen
mov edx, dword [ebp - 0x138]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.libglib_2.0_0.dll_g_array_append_vals
jmp case.0x685d8ef0.38