Function at 0x474a48
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x474dc3
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
lea eax, [ebp - 0xe]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete bl
test bl, bl
je 0x474aa4
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x474aa8
xor eax, eax
jmp 0x474aaa
mov al, 1
mov ebx, eax
test bl, bl
je 0x474afa
lea eax, [ebp - 0x114]
lea edx, [ebp - 0xe]
call fcn.00403530
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x14]
call fcn.00404df8
push dword [ebp - 0x14]
push 0x474dd8
lea eax, [ebp - 0x118]
lea edx, [ebp - 9]
call fcn.00404d8c
push dword [ebp - 0x118]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404f14
jmp 0x474d90
call sub.kernel32.dll_GetThreadLocale_1
cmp eax, 0x415
jg 0x474b5d
je 0x474d29
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x474b1a.1037
jmp dword [eax*4 + 0x474b21]
cmp eax, 0x814
jg 0x474baa
je 0x474d1a
cmp eax, 0x809
jg 0x474b99
je 0x474c45
sub eax, 0x416
je 0x474c0f
sub eax, 3
je 0x474d47
sub eax, 4
je 0x474d65
jmp case.0x474b1a.1037
sub eax, 0x80c
je 0x474bfd
sub eax, 7
je 0x474beb
jmp case.0x474b1a.1037
cmp eax, 0xc0a
jg 0x474bd0
je case.0x474b1a.1034
sub eax, 0x816
je 0x474d38
sub eax, 7
je 0x474d74
jmp case.0x474b1a.1037
sub eax, 0xc0c
je 0x474c8d
sub eax, 0x3fb
je 0x474cb1
jmp case.0x474b1a.1037
lea eax, [ebp - 4]
mov edx, 0x474de4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474df4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e04
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e14
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e24
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e34
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e44
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e54
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e64
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e74
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e84
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474e94
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474ea4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474eb4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474ec4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474ed4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474ee4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474ef4
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474f04
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474f14
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474f24
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474f34
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474f44
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474f54
call fcn.00404c2c
jmp 0x474d90
lea eax, [ebp - 4]
mov edx, 0x474f64
call fcn.00404c2c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404be8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474dca
lea eax, [ebp - 0x118]
call fcn.00404b94
lea eax, [ebp - 0x14]
call fcn.00404b94
lea eax, [ebp - 4]
call fcn.00404b94
ret