Function at 0x478a4c
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 0x478dc7
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 0x478aa8
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x478aac
xor eax, eax
jmp 0x478aae
mov al, 1
mov ebx, eax
test bl, bl
je 0x478afe
lea eax, [ebp - 0x114]
lea edx, [ebp - 0xe]
call fcn.00403224
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x14]
call fcn.00404730
push dword [ebp - 0x14]
push 0x478ddc
lea eax, [ebp - 0x118]
lea edx, [ebp - 9]
call fcn.004046c4
push dword [ebp - 0x118]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040484c
jmp 0x478d94
call sub.kernel32.dll_GetThreadLocale_1
cmp eax, 0x415
jg 0x478b61
je 0x478d2d
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x478b1e.1037
jmp dword [eax*4 + 0x478b25]
cmp eax, 0x814
jg 0x478bae
je 0x478d1e
cmp eax, 0x809
jg 0x478b9d
je 0x478c49
sub eax, 0x416
je 0x478c13
sub eax, 3
je 0x478d4b
sub eax, 4
je 0x478d69
jmp case.0x478b1e.1037
sub eax, 0x80c
je 0x478c01
sub eax, 7
je 0x478bef
jmp case.0x478b1e.1037
cmp eax, 0xc0a
jg 0x478bd4
je case.0x478b1e.1034
sub eax, 0x816
je 0x478d3c
sub eax, 7
je 0x478d78
jmp case.0x478b1e.1037
sub eax, 0xc0c
je 0x478c91
sub eax, 0x3fb
je 0x478cb5
jmp case.0x478b1e.1037
lea eax, [ebp - 4]
mov edx, 0x478de8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478df8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e08
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e18
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e28
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e38
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e48
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e58
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e68
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e78
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e88
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478e98
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478ea8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478eb8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478ec8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478ed8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478ee8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478ef8
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478f08
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478f18
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478f28
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478f38
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478f48
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478f58
call fcn.00404564
jmp 0x478d94
lea eax, [ebp - 4]
mov edx, 0x478f68
call fcn.00404564
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404520
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478dce
lea eax, [ebp - 0x118]
call fcn.004044cc
lea eax, [ebp - 0x14]
call fcn.004044cc
lea eax, [ebp - 4]
call fcn.004044cc
ret