Function at 0x4094ad
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x496bbc]
test eax, eax
jne 0x409753
push ebx
push esi
push edi
mov dword [ebp - 0x30], 0x363339
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x18
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push 0xb
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
or edi, 0xffffffff
push edi
push edi
push 0x481512
mov ecx, 0x496bbc
call fcn.0042c8c6
and dword [0x496bc0], 0
push 0x105
lea ecx, [ebp - 4]
call fcn.0042c827
mov eax, dword [ebp - 4]
and word [eax], 0
push 0x104
push eax
push dword [0x496dd4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push 0x481510
lea ecx, [ebp - 0xc]
mov ebx, eax
call fcn.004365f0
push dword [eax]
lea ecx, [ebp - 4]
call fcn.0042c877
lea ecx, [ebp - 0xc]
call fcn.00427365
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xc]
call fcn.004365f0
push dword [eax]
lea ecx, [ebp - 4]
call fcn.0042c877
lea ecx, [ebp - 0xc]
call fcn.00427365
push edi
mov esi, str..lang
push esi
lea ecx, [ebp - 0xc]
call fcn.004365f0
push dword [eax]
lea ecx, [ebp - 4]
call fcn.0042c877
lea ecx, [ebp - 0xc]
call fcn.00427365
lea ecx, [ebp - 0x18]
call fcn.0042c693
xor eax, eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0040f542
add esp, 0xc
cmp eax, 0xfffffffe
jne 0x4095eb
mov eax, dword [ebp - 4]
and word [eax + ebx*2], 0
push edi
push esi
lea ecx, [ebp - 0xc]
call fcn.004365f0
push dword [eax]
lea ecx, [ebp - 4]
call fcn.0042c877
lea ecx, [ebp - 0xc]
call fcn.00427365
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0040f542
add esp, 0xc
cmp eax, 1
jge 0x4095f7
xor esi, esi
jmp 0x40973e
mov edi, dword [ebp - 0x18]
shr dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
push 6
push edi
push 0x481500
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
call fcn.00428263
add esp, 0xc
test al, al
push 2
pop ebx
je 0x409655
lea eax, [ebp - 8]
call fcn.00403ca7
mov edi, dword [ebp - 8]
test edi, edi
je 0x409655
xor eax, eax
mov ax, word [edi]
push eax
call fcn.00409fc3
add esp, 4
test al, al
je 0x409655
xor eax, eax
add edi, ebx
mov ax, word [edi]
push eax
call fcn.00409fc3
add esp, 4
test al, al
jne 0x40963e
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov esi, edi
jmp 0x409713
push 5
push edi
push str.str:
call fcn.00428263
add esp, 0xc
test al, al
je 0x40971d
lea eax, [ebp - 8]
call fcn.00403ca7
lea eax, [edi + 0xa]
mov cx, word [eax]
cmp cx, 0x30
mov edi, dword [ebp - 8]
jb 0x4096e6
cmp cx, 0x39
ja 0x4096e6
jmp 0x4096dc
mov cx, word [eax]
cmp cx, 0x5c
jne 0x4096d5
lea ecx, [eax + 2]
mov dx, word [ecx]
cmp dx, 0x72
jne 0x4096b7
mov word [esi], 0xd
add esi, ebx
add eax, 4
jmp 0x4096dc
cmp dx, 0x6e
jne 0x4096c4
mov word [esi], 0xa
jmp 0x4096b0
mov word [esi], 0x5c
add esi, ebx
cmp dx, 0x5c
je 0x4096b2
mov eax, ecx
jmp 0x4096dc
mov word [esi], cx
add esi, ebx
add eax, ebx
cmp eax, edi
jb 0x409696
and word [esi], 0
add esi, ebx
xor eax, eax
mov ax, word [edi]
push eax
call fcn.00409fc3
add esp, 4
test al, al
je 0x409713
and word [edi], 0
xor eax, eax
add edi, ebx
mov ax, word [edi]
push eax
call fcn.00409fc3
add esp, 4
test al, al
jne 0x4096f8
mov dword [ebp - 8], edi
cmp word [edi], 0
jne 0x40965f
sub esi, dword [ebp - 0xc]
mov ecx, 0x496bbc
sar esi, 1
push esi
push dword [ebp - 0xc]
call fcn.0042c92f
lea eax, [esi + esi]
mov esi, dword [0x496bbc]
mov dword [0x496bc0], eax
lea ecx, [ebp - 0x18]
call fcn.00427365
lea ecx, [ebp - 4]
call fcn.00427365
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret