Function at 0x4ad05b4d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ad240ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.4ad0519d
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 8
mov edi, 0x4ad24930
push edi
push 0x1e
push eax
mov dword [ebp - 0x108], eax
call esi
test eax, eax
je 0x4ad14c2d
mov edi, 0x80
push edi
lea eax, [ebp - 0x104]
push eax
push 0x23
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad05bc7
mov ecx, 0x4ad05d9c
lea eax, [ebp - 0x104]
mov dx, word [eax]
cmp dx, word [ecx]
je 0x4ad14c3f
sbb eax, eax
sbb eax, 0xffffffff
mov dword [0x4ad24090], eax
push 0x4ad05d98
push 0x20
pop ebx
push ebx
push 0x4ad24b80
call fcn.4ad017fb
push 0x4ad05d94
push ebx
push 0x4ad24b40
call fcn.4ad017fb
and dword [0x4ad241c8], 0
push edi
lea eax, [ebp - 0x104]
push eax
push 0x21
push dword [ebp - 0x108]
call esi
push 2
pop ecx
test eax, eax
je 0x4ad05c2b
movzx eax, word [ebp - 0x104]
sub eax, 0x30
jne 0x4ad14c68
and dword [0x4ad241c8], 0
mov dword [0x4ad241c4], 0x4ad05d80
push edi
lea eax, [ebp - 0x104]
push eax
push 0x24
push dword [ebp - 0x108]
mov dword [0x4ad241c0], ecx
call esi
test eax, eax
je 0x4ad05c5b
cmp word [ebp - 0x104], 0x31
jne 0x4ad05c5b
mov dword [0x4ad241c0], 4
push 8
mov edi, 0x4ad24920
push edi
push 0x1d
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14ca0
push ebx
mov edi, 0x4ad24d40
push edi
push 0x31
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14cb2
push ebx
mov edi, 0x4ad24d00
push edi
push 0x32
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14cc3
push ebx
mov edi, 0x4ad24cc0
push edi
push 0x33
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14cd4
push ebx
mov edi, 0x4ad24c80
push edi
push 0x34
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14ce5
push ebx
mov edi, 0x4ad24c40
push edi
push 0x35
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14cf6
push ebx
mov edi, 0x4ad24c00
push edi
push 0x36
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14d07
push ebx
mov edi, 0x4ad24bc0
push edi
push 0x37
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14d18
push 8
pop edi
push edi
mov ebx, 0x4ad24910
push ebx
push 0xe
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14d29
push edi
mov ebx, 0x4ad24900
push ebx
push 0xf
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4ad14d3a
push 0x4ad05d78
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.4ad0139d
leave
ret
push 0x4ad14db0
push 8
push edi
call fcn.4ad017fb
jmp 0x4ad05b8b
test dx, dx
je 0x4ad14c61
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ad05bbd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ad05bb1
xor eax, eax
jmp 0x4ad05bc2
dec eax
je 0x4ad14c87
dec eax
jne 0x4ad05c2b
mov dword [0x4ad241c8], ecx
mov dword [0x4ad241c4], 0x4ad14d9c
jmp 0x4ad05c2b
mov dword [0x4ad241c8], 1
mov dword [0x4ad241c4], 0x4ad14d88
jmp 0x4ad05c2b
push 0x4ad1baa4
push 8
push edi
call fcn.4ad017fb
jmp 0x4ad05c75
push 0x4ad14d80
push ebx
push edi
call fcn.4ad017fb
jmp 0x4ad05c8e
push 0x4ad14d78
push ebx
push edi
call fcn.4ad017fb
jmp 0x4ad05ca7
push 0x4ad14d70
push ebx
push edi
call fcn.4ad017fb
jmp 0x4ad05cc0
push 0x4ad14d68
push ebx
push edi
call fcn.4ad017fb
jmp 0x4ad05cd9
push 0x4ad14d60
push ebx
push edi
call fcn.4ad017fb
jmp 0x4ad05cf2
push 0x4ad14d58
push ebx
push edi
call fcn.4ad017fb
jmp 0x4ad05d0b
push 0x4ad14d50
push ebx
push edi
call fcn.4ad017fb
jmp 0x4ad05d24
push 0x4ad02dc0
push edi
push ebx
call fcn.4ad017fb
jmp 0x4ad05d40
push 0x4ad14d4c
push edi
push ebx
call fcn.4ad017fb
jmp 0x4ad05d59