Function at 0x4ad088a0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ad2406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.4ad072a5
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 8
mov edi, 0x4ad24900
push edi
push 0x1e
push eax
mov dword [ebp - 0x108], eax
call esi
test eax, eax
je 0x4ad146a9
mov edi, 0x80
push edi
lea eax, [ebp - 0x104]
push eax
push 0x23
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad0891a
mov ecx, 0x4ad08af0
lea eax, [ebp - 0x104]
mov dx, word [eax]
cmp dx, word [ecx]
je 0x4ad146bb
sbb eax, eax
sbb eax, 0xffffffff
mov dword [0x4ad24050], eax
push 0x4ad08aec
push 0x20
pop ebx
push ebx
push 0x4ad24b60
call fcn.4ad01416
push 0x4ad08ae8
push ebx
push 0x4ad24b20
call fcn.4ad01416
and dword [0x4ad24178], 0
push edi
lea eax, [ebp - 0x104]
push eax
push 0x21
push dword [ebp - 0x108]
call esi
test eax, eax
push 2
pop ecx
je 0x4ad0897e
movzx eax, word [ebp - 0x104]
sub eax, 0x30
jne 0x4ad146e4
and dword [0x4ad24178], 0
mov dword [0x4ad24174], 0x4ad08ad4
push edi
lea eax, [ebp - 0x104]
push eax
push 0x24
push dword [ebp - 0x108]
mov dword [0x4ad24170], ecx
call esi
test eax, eax
je 0x4ad089ae
cmp word [ebp - 0x104], 0x31
jne 0x4ad089ae
mov dword [0x4ad24170], 4
push 8
mov edi, 0x4ad248f0
push edi
push 0x1d
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad1471c
push ebx
mov edi, 0x4ad24d20
push edi
push 0x31
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad1472e
push ebx
mov edi, 0x4ad24ce0
push edi
push 0x32
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad1473f
push ebx
mov edi, 0x4ad24ca0
push edi
push 0x33
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14750
push ebx
mov edi, 0x4ad24c60
push edi
push 0x34
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14761
push ebx
mov edi, 0x4ad24c20
push edi
push 0x35
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14772
push ebx
mov edi, 0x4ad24be0
push edi
push 0x36
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14783
push ebx
mov edi, 0x4ad24ba0
push edi
push 0x37
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14794
push 8
pop edi
push edi
mov ebx, 0x4ad248e0
push ebx
push 0xe
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad147a5
push edi
mov ebx, 0x4ad248d0
push ebx
push 0xf
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad147b6
push 0x4ad08acc
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.4ad013fa
leave
ret
push 0x4ad1482c
push 8
push edi
call fcn.4ad01416
jmp 0x4ad088de
test dx, dx
je 0x4ad146dd
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ad08910
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ad08904
xor eax, eax
jmp 0x4ad08915
dec eax
je 0x4ad14703
dec eax
jne 0x4ad0897e
mov dword [0x4ad24178], ecx
mov dword [0x4ad24174], 0x4ad14818
jmp 0x4ad0897e
mov dword [0x4ad24178], 1
mov dword [0x4ad24174], 0x4ad14804
jmp 0x4ad0897e
push 0x4ad1b26c
push 8
push edi
call fcn.4ad01416
jmp 0x4ad089c8
push 0x4ad147fc
push ebx
push edi
call fcn.4ad01416
jmp 0x4ad089e1
push 0x4ad147f4
push ebx
push edi
call fcn.4ad01416
jmp 0x4ad089fa
push 0x4ad147ec
push ebx
push edi
call fcn.4ad01416
jmp 0x4ad08a13
push 0x4ad147e4
push ebx
push edi
call fcn.4ad01416
jmp 0x4ad08a2c
push 0x4ad147dc
push ebx
push edi
call fcn.4ad01416
jmp 0x4ad08a45
push 0x4ad147d4
push ebx
push edi
call fcn.4ad01416
jmp 0x4ad08a5e
push 0x4ad147cc
push ebx
push edi
call fcn.4ad01416
jmp 0x4ad08a77
push 0x4ad01c20
push edi
push ebx
call fcn.4ad01416
jmp 0x4ad08a93
push 0x4ad147c8
push edi
push ebx
call fcn.4ad01416
jmp 0x4ad08aac