Function at 0x45d7d8
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 0x45db53
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 0x45d834
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x45d838
xor eax, eax
jmp 0x45d83a
mov al, 1
mov ebx, eax
test bl, bl
je 0x45d88a
lea eax, [ebp - 0x114]
lea edx, [ebp - 0xe]
call fcn.004032d8
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x14]
call fcn.00404884
push dword [ebp - 0x14]
push 0x45db68
lea eax, [ebp - 0x118]
lea edx, [ebp - 9]
call fcn.00404818
push dword [ebp - 0x118]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004049a0
jmp 0x45db20
call sub.kernel32.dll_GetThreadLocale_1
cmp eax, 0x415
jg 0x45d8ed
je 0x45dab9
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x45d8aa.1037
jmp dword [eax*4 + 0x45d8b1]
cmp eax, 0x814
jg 0x45d93a
je 0x45daaa
cmp eax, 0x809
jg 0x45d929
je 0x45d9d5
sub eax, 0x416
je 0x45d99f
sub eax, 3
je 0x45dad7
sub eax, 4
je 0x45daf5
jmp case.0x45d8aa.1037
sub eax, 0x80c
je 0x45d98d
sub eax, 7
je 0x45d97b
jmp case.0x45d8aa.1037
cmp eax, 0xc0a
jg 0x45d960
je case.0x45d8aa.1034
sub eax, 0x816
je 0x45dac8
sub eax, 7
je 0x45db04
jmp case.0x45d8aa.1037
sub eax, 0xc0c
je 0x45da1d
sub eax, 0x3fb
je 0x45da41
jmp case.0x45d8aa.1037
lea eax, [ebp - 4]
mov edx, 0x45db74
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45db84
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45db94
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dba4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dbb4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dbc4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dbd4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dbe4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dbf4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc04
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc14
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc24
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc34
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc44
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc54
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc64
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc74
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc84
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dc94
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dca4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dcb4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dcc4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dcd4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dce4
call fcn.004046b8
jmp 0x45db20
lea eax, [ebp - 4]
mov edx, 0x45dcf4
call fcn.004046b8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45db5a
lea eax, [ebp - 0x118]
call fcn.00404620
lea eax, [ebp - 0x14]
call fcn.00404620
lea eax, [ebp - 4]
call fcn.00404620
ret