Function at 0x407acd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4310b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00407cf2
push 8
pop edi
push edi
mov esi, 0x43fa50
mov ebx, eax
push esi
push 0x1e
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e447
mov esi, 0x80
lea eax, [ebp - 0x104]
push esi
push eax
push 0x23
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x407b5d
mov ecx, 0x402300
lea eax, [ebp - 0x104]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407ce2
test dx, dx
je 0x407b56
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407ce2
add eax, 4
add ecx, 4
test dx, dx
jne 0x407b2c
xor eax, eax
mov dword [0x4310c4], eax
and dword [0x431604], 0
lea eax, [ebp - 0x104]
push esi
push eax
push 0x21
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x407b99
movzx eax, word [ebp - 0x104]
sub eax, 0x30
jne 0x41e47f
and dword [0x431604], eax
mov dword [0x431600], 0x4022ec
push esi
lea eax, [ebp - 0x104]
mov dword [0x4315fc], 2
push eax
push 0x24
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
push 0x31
pop ecx
test eax, eax
je 0x407bce
cmp word [ebp - 0x104], cx
jne 0x407bce
mov dword [0x4315fc], 4
push edi
mov esi, 0x43fa40
push esi
push 0x1d
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e4bf
push 0x20
pop esi
push esi
mov edi, 0x43f9e0
push edi
push 0x31
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e4f7
push esi
mov edi, 0x43f9a0
push edi
push 0x32
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e52f
push esi
mov edi, 0x43f960
push edi
push 0x33
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e567
push esi
mov edi, 0x43f920
push edi
push 0x34
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e59f
push esi
mov edi, 0x43f8e0
push edi
push 0x35
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e5d7
push esi
mov edi, 0x43f8a0
push edi
push 0x36
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e60f
push esi
mov edi, 0x43f860
push edi
push 0x37
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e647
push 8
pop edi
push edi
mov esi, 0x43fa30
push esi
push 0xe
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e67d
push edi
mov esi, 0x43fa20
push esi
push 0xf
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x41e6b5
push 0x4022e4
push 0
call dword [sym.imp.msvcrt.dll_setlocale]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417b90
leave
ret
sbb eax, eax
or eax, 1
jmp 0x407b58
mov edx, 0x403d40
mov ecx, edi
sub edx, esi
lea eax, [ecx + 0x7ffffff6]
test eax, eax
je 0x41e475
movzx eax, word [edx + esi]
test ax, ax
je 0x41e46e
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x41e450
test ecx, ecx
jne 0x41e475
sub esi, 2
xor eax, eax
mov word [esi], ax
jmp 0x407b07
sub eax, 1
je 0x41e4a6
sub eax, 1
jne 0x407b99
mov dword [0x431604], 2
mov dword [0x431600], 0x403d58
jmp 0x407b99
mov dword [0x431604], 1
mov dword [0x431600], 0x403d44
jmp 0x407b99
mov edx, 0x403b98
mov ecx, edi
sub edx, esi
lea eax, [ecx + 0x7ffffff6]
test eax, eax
je 0x41e4ed
movzx eax, word [edx + esi]
test ax, ax
je 0x41e4e6
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x41e4c8
test ecx, ecx
jne 0x41e4ed
sub esi, 2
xor eax, eax
mov word [esi], ax
jmp 0x407be6
mov edx, 0x403d6c
mov ecx, esi
sub edx, edi
lea eax, [ecx + 0x7fffffde]
test eax, eax
je 0x41e525
movzx eax, word [edx + edi]
test ax, ax
je 0x41e51e
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x41e500
test ecx, ecx
jne 0x41e525
sub edi, 2
xor eax, eax
mov word [edi], ax
jmp 0x407c01
mov edx, 0x403d74
mov ecx, esi
sub edx, edi
lea eax, [ecx + 0x7fffffde]
test eax, eax
je 0x41e55d
movzx eax, word [edx + edi]
test ax, ax
je 0x41e556
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x41e538
test ecx, ecx
jne 0x41e55d
sub edi, 2
xor eax, eax
mov word [edi], ax
jmp 0x407c19
mov edx, 0x403d7c
mov ecx, esi
sub edx, edi
lea eax, [ecx + 0x7fffffde]
test eax, eax
je 0x41e595
movzx eax, word [edx + edi]
test ax, ax
je 0x41e58e
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x41e570
test ecx, ecx
jne 0x41e595
sub edi, 2
xor eax, eax
mov word [edi], ax
jmp 0x407c31
mov edx, 0x403d84
mov ecx, esi
sub edx, edi
lea eax, [ecx + 0x7fffffde]
test eax, eax
je 0x41e5cd
movzx eax, word [edx + edi]
test ax, ax
je 0x41e5c6
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x41e5a8
test ecx, ecx
jne 0x41e5cd
sub edi, 2
xor eax, eax
mov word [edi], ax
jmp 0x407c49
mov edx, 0x403d8c
mov ecx, esi
sub edx, edi
lea eax, [ecx + 0x7fffffde]
test eax, eax
je 0x41e605
movzx eax, word [edx + edi]
test ax, ax
je 0x41e5fe
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x41e5e0
test ecx, ecx
jne 0x41e605
sub edi, 2
xor eax, eax
mov word [edi], ax
jmp 0x407c61
mov edx, 0x403d94
mov ecx, esi
sub edx, edi
lea eax, [ecx + 0x7fffffde]
test eax, eax
je 0x41e63d
movzx eax, word [edx + edi]
test ax, ax
je 0x41e636
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x41e618
test ecx, ecx
jne 0x41e63d
sub edi, 2
xor eax, eax
mov word [edi], ax
jmp 0x407c79
mov ecx, 0x403d9c
sub ecx, edi
lea eax, [esi + 0x7fffffde]
test eax, eax
je 0x41e673
movzx eax, word [ecx + edi]
test ax, ax
je 0x41e66c
mov word [edi], ax
add edi, 2
sub esi, 1
jne 0x41e64e
test esi, esi
jne 0x41e673
sub edi, 2
xor eax, eax
mov word [edi], ax
jmp 0x407c91
mov edx, 0x402630
mov ecx, edi
sub edx, esi
lea eax, [ecx + 0x7ffffff6]
test eax, eax
je 0x41e6ab
movzx eax, word [edx + esi]
test ax, ax
je 0x41e6a4
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x41e686
test ecx, ecx
jne 0x41e6ab
sub esi, 2
xor eax, eax
mov word [esi], ax
jmp 0x407cac
mov ecx, 0x403dd8
sub ecx, esi
lea eax, [edi + 0x7ffffff6]
test eax, eax
je 0x41e6e1
movzx eax, word [ecx + esi]
test ax, ax
je 0x41e6da
mov word [esi], ax
add esi, 2
sub edi, 1
jne 0x41e6bc
test edi, edi
jne 0x41e6e1
sub esi, 2
xor eax, eax
mov word [esi], ax
jmp 0x407cc4