Function at 0x413f80
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.004141a4
push 8
push 0x42f81c
mov esi, eax
push 0x1e
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e1fa
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x23
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x414011
mov eax, 0x4022a0
lea ecx, [ebp - 0x104]
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41419a
test dx, dx
je 0x41400a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41419a
add ecx, 4
add eax, 4
test dx, dx
jne 0x413fe0
xor eax, eax
mov dword [0x42d0cc], eax
push 0x80
lea eax, [ebp - 0x104]
mov dword [0x42d540], 0
push eax
push 0x21
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x414053
movzx eax, word [ebp - 0x104]
sub eax, 0x30
jne 0x41e23c
mov dword [0x42d540], eax
mov dword [0x42f7f8], 0x40228c
push 0x80
lea eax, [ebp - 0x104]
mov dword [0x42f620], 2
push eax
push 0x24
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41408a
cmp word [ebp - 0x104], 0x31
jne 0x41408a
mov dword [0x42f620], 4
push 8
push 0x42f80c
push 0x1d
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e27c
push 0x20
push 0x42f7a8
push 0x31
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e2be
push 0x20
push 0x42f768
push 0x32
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e300
push 0x20
push 0x42f728
push 0x33
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e342
push 0x20
push 0x42f6e8
push 0x34
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e384
push 0x20
push 0x42f6a8
push 0x35
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e3c6
push 0x20
push 0x42f668
push 0x36
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e408
push 0x20
push 0x42f628
push 0x37
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e44a
push 8
push 0x42f7fc
push 0xe
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e48c
push 8
push 0x42f7e8
push 0xf
push esi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e4ce
push 0x402284
push 0
call dword [sym.imp.msvcrt.dll_setlocale]
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.00416fd0
mov esp, ebp
pop ebp
ret
sbb eax, eax
or eax, 1
jmp 0x41400c
mov ecx, 0x42f81c
mov edi, 0x403758
mov edx, 8
sub edi, ecx
lea eax, [edx + 0x7ffffff6]
test eax, eax
je 0x41e22b
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e22b
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e20b
jmp 0x41e22f
test edx, edx
jne 0x41e232
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x413fb6
sub eax, 1
je 0x41e263
sub eax, 1
jne 0x414053
mov dword [0x42d540], 2
mov dword [0x42f7f8], 0x403770
jmp 0x414053
mov dword [0x42d540], 1
mov dword [0x42f7f8], 0x40375c
jmp 0x414053
mov ecx, 0x42f80c
mov edi, 0x4030d4
mov edx, 8
sub edi, ecx
lea eax, [edx + 0x7ffffff6]
test eax, eax
je 0x41e2ad
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e2ad
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e28d
jmp 0x41e2b1
test edx, edx
jne 0x41e2b4
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x4140a2
mov ecx, 0x42f7a8
mov edi, 0x403784
mov edx, 0x20
sub edi, ecx
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41e2ef
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e2ef
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e2cf
jmp 0x41e2f3
test edx, edx
jne 0x41e2f6
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x4140ba
mov ecx, 0x42f768
mov edi, 0x40378c
mov edx, 0x20
sub edi, ecx
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41e331
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e331
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e311
jmp 0x41e335
test edx, edx
jne 0x41e338
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x4140d2
mov ecx, 0x42f728
mov edi, 0x403794
mov edx, 0x20
sub edi, ecx
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41e373
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e373
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e353
jmp 0x41e377
test edx, edx
jne 0x41e37a
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x4140ea
mov ecx, 0x42f6e8
mov edi, 0x40379c
mov edx, 0x20
sub edi, ecx
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41e3b5
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e3b5
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e395
jmp 0x41e3b9
test edx, edx
jne 0x41e3bc
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x414102
mov ecx, 0x42f6a8
mov edi, 0x4037a4
mov edx, 0x20
sub edi, ecx
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41e3f7
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e3f7
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e3d7
jmp 0x41e3fb
test edx, edx
jne 0x41e3fe
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x41411a
mov ecx, 0x42f668
mov edi, 0x4037ac
mov edx, 0x20
sub edi, ecx
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41e439
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e439
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e419
jmp 0x41e43d
test edx, edx
jne 0x41e440
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x414132
mov ecx, 0x42f628
mov edi, 0x4037b4
mov edx, 0x20
sub edi, ecx
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41e47b
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e47b
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e45b
jmp 0x41e47f
test edx, edx
jne 0x41e482
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x41414a
mov ecx, 0x42f7fc
mov edi, 0x4021cc
mov edx, 8
sub edi, ecx
lea eax, [edx + 0x7ffffff6]
test eax, eax
je 0x41e4bd
movzx eax, word [edi + ecx]
test ax, ax
je 0x41e4bd
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e49d
jmp 0x41e4c1
test edx, edx
jne 0x41e4c4
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x414162
mov ecx, 0x42f7e8
mov esi, 0x4037bc
mov edx, 8
sub esi, ecx
lea eax, [edx + 0x7ffffff6]
test eax, eax
je 0x41e4ff
movzx eax, word [esi + ecx]
test ax, ax
je 0x41e4ff
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e4df
jmp 0x41e503
test edx, edx
jne 0x41e506
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x41417a