Function at 0x4ad04e57
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 4], eax
and eax, 0x3ff
cmp ax, 1
je 0x4ad04e95
cmp ax, 0xd
je 0x4ad04e95
cmp ax, 0x1e
je 0x4ad04e95
cmp ax, 0x39
je 0x4ad04e95
cmp ax, 0x49
je 0x4ad04e95
cmp ax, 0x29
jne 0x4ad04e9c
mov dword [ebp - 4], 0x409
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x104]
push 0x10
push eax
push 0x1e
push dword [ebp - 4]
call esi
test eax, eax
je 0x4ad04ebf
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad04ec4
push 0x4ad015f4
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
push 0x4ad26450
call edi
pop ecx
mov ebx, 0x80
pop ecx
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x23
push dword [ebp - 4]
call esi
test eax, eax
je 0x4ad04f04
lea eax, [ebp - 0x104]
push 0x4ad015f0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
mov dword [0x4ad1c014], eax
pop ecx
lea eax, [ebp - 0x104]
push 0x10
push eax
push 0x28
push dword [ebp - 4]
call esi
test eax, eax
je 0x4ad04f21
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad04f26
push 0x4ad015ec
push 0x4ad26320
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x10
push eax
push 0x29
push dword [ebp - 4]
call esi
test eax, eax
je 0x4ad04f4c
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad04f51
push 0x4ad015e8
push 0x4ad26440
call edi
pop ecx
and dword [0x4ad26330], 0
pop ecx
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x21
push dword [ebp - 4]
call esi
push 2
test eax, eax
pop ecx
je 0x4ad04fa4
movzx eax, word [ebp - 0x104]
sub eax, 0x30
je 0x4ad04f9d
dec eax
je 0x4ad04f91
dec eax
jne 0x4ad04fa4
mov dword [0x4ad26330], ecx
jmp 0x4ad04fa4
mov dword [0x4ad26330], 1
jmp 0x4ad04fa4
and dword [0x4ad26330], 0
lea eax, [ebp - 0x104]
push ebx
mov ebx, dword [ebp - 4]
push eax
push 0x24
push ebx
mov dword [0x4ad26390], ecx
call esi
test eax, eax
je 0x4ad04fd2
cmp word [ebp - 0x104], 0x31
jne 0x4ad04fd2
mov dword [0x4ad26390], 4
lea eax, [ebp - 0x104]
push 0x10
push eax
push 0x1d
push ebx
call esi
test eax, eax
je 0x4ad04fed
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad04ff2
push 0x4ad015e4
push 0x4ad263a0
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x20
push eax
push 0x31
push ebx
call esi
test eax, eax
je 0x4ad05016
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad0501b
push 0x4ad015dc
push 0x4ad26420
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x20
push eax
push 0x32
push ebx
call esi
test eax, eax
je 0x4ad0503f
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad05044
push 0x4ad015d4
push 0x4ad26400
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x20
push eax
push 0x33
push ebx
call esi
test eax, eax
je 0x4ad05068
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad0506d
push 0x4ad015cc
push 0x4ad26460
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x20
push eax
push 0x34
push ebx
call esi
test eax, eax
je 0x4ad05091
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad05096
push 0x4ad015c4
push 0x4ad263c0
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x20
push eax
push 0x35
push ebx
call esi
test eax, eax
je 0x4ad050ba
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad050bf
push 0x4ad015bc
push 0x4ad26360
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x20
push eax
push 0x36
push ebx
call esi
test eax, eax
je 0x4ad050e3
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad050e8
push 0x4ad015b4
push 0x4ad263e0
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x20
push eax
push 0x37
push ebx
call esi
test eax, eax
je 0x4ad0510c
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad05111
push 0x4ad015ac
push 0x4ad26340
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x10
push eax
push 0xe
push ebx
call esi
test eax, eax
je 0x4ad05135
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad0513a
push 0x4ad01438
push 0x4ad26480
call edi
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 0x10
push eax
push 0xf
push ebx
call esi
test eax, eax
je 0x4ad0515e
lea eax, [ebp - 0x104]
push eax
jmp 0x4ad05163
push 0x4ad015a8
push 0x4ad26380
call edi
pop ecx
pop ecx
push 0x4ad015a0
push 0
call dword [sym.imp.MSVCRT.dll_setlocale]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret