Function at 0x4581a0
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 0x45851b
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 0x4581fc
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x458200
xor eax, eax
jmp 0x458202
mov al, 1
mov ebx, eax
test bl, bl
je 0x458252
lea eax, [ebp - 0x114]
lea edx, [ebp - 0xe]
call fcn.0040320c
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x14]
call fcn.00404744
push dword [ebp - 0x14]
push 0x458530
lea eax, [ebp - 0x118]
lea edx, [ebp - 9]
call fcn.004046d8
push dword [ebp - 0x118]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404860
jmp 0x4584e8
call sub.kernel32.dll_GetThreadLocale_1
cmp eax, 0x415
jg 0x4582b5
je 0x458481
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x458272.1037
jmp dword [eax*4 + 0x458279]
cmp eax, 0x814
jg 0x458302
je 0x458472
cmp eax, 0x809
jg 0x4582f1
je 0x45839d
sub eax, 0x416
je 0x458367
sub eax, 3
je 0x45849f
sub eax, 4
je 0x4584bd
jmp case.0x458272.1037
sub eax, 0x80c
je 0x458355
sub eax, 7
je 0x458343
jmp case.0x458272.1037
cmp eax, 0xc0a
jg 0x458328
je case.0x458272.1034
sub eax, 0x816
je 0x458490
sub eax, 7
je 0x4584cc
jmp case.0x458272.1037
sub eax, 0xc0c
je 0x4583e5
sub eax, 0x3fb
je 0x458409
jmp case.0x458272.1037
lea eax, [ebp - 4]
mov edx, 0x45853c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45854c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45855c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45856c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45857c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45858c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45859c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4585ac
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4585bc
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4585cc
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4585dc
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4585ec
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4585fc
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45860c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45861c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45862c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45863c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45864c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45865c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45866c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45867c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45868c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x45869c
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4586ac
call fcn.00404580
jmp 0x4584e8
lea eax, [ebp - 4]
mov edx, 0x4586bc
call fcn.00404580
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040453c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458522
lea eax, [ebp - 0x118]
call fcn.004044e8
lea eax, [ebp - 0x14]
call fcn.004044e8
lea eax, [ebp - 4]
call fcn.004044e8
ret