Function at 0x5c9c54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5c9c5c
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x5ca00c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
sete bl
test bl, bl
je 0x5c9ca9
push 0xa
lea eax, [ebp - 0xe]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x5c9cad
xor eax, eax
jmp 0x5c9caf
mov al, 1
mov ebx, eax
test bl, bl
je 0x5c9d39
lea eax, [ebp - 4]
lea edx, [ebp - 0x18]
call fcn.0040a924
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.0040ac70
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00422474
mov eax, dword [ebp - 0x1c]
mov edx, 0x5ca028
call fcn.0040af1c
jne 0x5c9cf6
lea eax, [ebp - 4]
mov edx, 0x5ca034
call fcn.0040a20c
lea eax, [ebp - 0x28]
mov ecx, 0x5ca040
mov edx, dword [ebp - 4]
call fcn.0040a994
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.0040ac70
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0xe]
call fcn.0040abf8
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0040ad8c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.0040ac84
jmp 0x5c9fcf
call sub.kernel32.dll_GetThreadLocale
cmp eax, 0x415
jg 0x5c9d9c
je 0x5c9f68
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x5c9d59.1037
jmp dword [eax*4 + 0x5c9d60]
cmp eax, 0x814
jg 0x5c9de9
je 0x5c9f59
cmp eax, 0x809
jg 0x5c9dd8
je 0x5c9e84
sub eax, 0x416
je 0x5c9e4e
sub eax, 3
je 0x5c9f86
sub eax, 4
je 0x5c9fa4
jmp case.0x5c9d59.1037
sub eax, 0x80c
je 0x5c9e3c
sub eax, 7
je 0x5c9e2a
jmp case.0x5c9d59.1037
cmp eax, 0xc0a
jg 0x5c9e0f
je case.0x5c9d59.1034
sub eax, 0x816
je 0x5c9f77
sub eax, 7
je 0x5c9fb3
jmp case.0x5c9d59.1037
sub eax, 0xc0c
je 0x5c9ecc
sub eax, 0x3fb
je 0x5c9ef0
jmp case.0x5c9d59.1037
lea eax, [ebp - 4]
mov edx, 0x5ca048
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca058
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca068
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca078
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca088
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca098
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca0a8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca0b8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca0c8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca0d8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca0e8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca0f8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca108
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca118
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca128
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca138
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca148
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca158
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca168
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca178
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca188
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca198
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca1a8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca1b8
call fcn.0040a20c
jmp 0x5c9fcf
lea eax, [ebp - 4]
mov edx, 0x5ca1c8
call fcn.0040a20c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040a1e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ca013
lea eax, [ebp - 0x2c]
call fcn.00409d90
lea eax, [ebp - 0x28]
call fcn.00409dd8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00409df0
lea eax, [ebp - 4]
call fcn.00409dd8
ret