Function at 0x413e58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x414537
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, si
call fcn.00413cc0
test ax, ax
jne 0x413edb
movzx eax, si
call fcn.00413cc8
sub ax, 1
jb 0x413e9c
je 0x413ead
dec ax
je 0x413ebe
jmp 0x413ecf
mov edx, ebx
mov eax, 0x413ce8
call fcn.0040602c
jmp 0x41451c
mov edx, ebx
mov eax, 0x413cf0
call fcn.0040602c
jmp 0x41451c
mov edx, ebx
mov eax, 0x413cf8
call fcn.0040602c
jmp 0x41451c
mov eax, ebx
call fcn.004044b8
jmp 0x41451c
push 0
push 0
push 2
xor edx, edx
mov eax, esi
call fcn.00413cd0
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
mov edi, eax
test edi, edi
jle 0x413f43
mov eax, ebx
mov edx, edi
call fcn.00404ba8
push edi
mov eax, dword [ebx]
call fcn.0040497c
push eax
push 2
xor edx, edx
mov eax, esi
call fcn.00413cd0
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jne 0x413f29
mov eax, ebx
call fcn.004044b8
jmp 0x414493
mov eax, dword [ebx]
call fcn.0040497c
call fcn.00407e50
mov edx, eax
mov eax, ebx
call fcn.00404ba8
jmp 0x414493
lea eax, [ebp - 8]
call fcn.004044b8
lea eax, [ebp - 4]
call fcn.004044b8
lea eax, [ebp - 0xc]
call fcn.004044b8
movzx eax, si
call fcn.00413cc0
movzx eax, ax
cmp eax, 0x61
ja case.0x413f76.0
movzx eax, byte [eax + 0x413f7d]
jmp dword [eax*4 + 0x413fdf]
lea edx, [ebp - 8]
mov eax, 0x413d00
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
dec ax
je 0x41408d
dec ax
je 0x41409f
dec ax
je 0x4140b1
dec ax
je 0x4140c3
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d08
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d10
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d18
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d20
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413d28
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 8]
mov eax, 0x413d30
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
dec ax
je 0x41410b
dec ax
je 0x41411d
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d38
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d40
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413d48
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 8]
mov eax, 0x413d50
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
dec ax
je 0x414165
dec ax
je 0x414177
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d58
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d60
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413d68
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 8]
mov eax, 0x413d70
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
dec ax
je 0x4141bf
dec ax
je 0x4141d1
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d78
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d80
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413d88
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413d90
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413d98
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 8]
mov eax, 0x413da0
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
dec ax
je 0x41423d
dec ax
je 0x41424f
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413da8
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413db0
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413db8
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413dc0
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 8]
mov eax, 0x413dc8
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
dec ax
je 0x4142a9
dec ax
je 0x4142bb
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d78
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d80
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413dd0
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413dd8
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413de0
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413de8
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413df0
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413df8
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e00
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e08
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e10
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e18
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e20
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e28
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e30
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e38
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 4]
mov eax, 0x413e40
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 8]
mov eax, 0x413e48
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
sub ax, 2
jne case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d60
call fcn.0040602c
jmp case.0x413f76.0
lea edx, [ebp - 8]
mov eax, 0x413e50
call fcn.0040602c
movzx eax, si
call fcn.00413cc8
sub ax, 2
jne case.0x413f76.0
lea edx, [ebp - 0xc]
mov eax, 0x413d60
call fcn.0040602c
cmp dword [ebp - 8], 0
je 0x41446d
cmp dword [ebp - 0xc], 0
je 0x41444b
push dword [ebp - 8]
push 0x414550
push dword [ebp - 0xc]
push 0x41455c
mov eax, ebx
mov edx, 4
call fcn.0040483c
jmp 0x414493
movzx eax, si
call fcn.00413cc8
test ax, ax
jne 0x414464
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040450c
jmp 0x414493
mov eax, ebx
call fcn.004044b8
jmp 0x414493
cmp dword [ebp - 4], 0
je 0x41448c
movzx eax, si
call fcn.00413cc8
test ax, ax
jne 0x41448c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040450c
jmp 0x414493
mov eax, ebx
call fcn.004044b8
cmp dword [ebx], 0
je 0x41451c
mov edx, dword [ebx]
mov eax, 0x414568
call fcn.00404a64
mov edi, eax
movzx eax, si
call fcn.00413cc8
test ax, ax
jne 0x41451c
cmp edi, 1
jle 0x4144f4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
mov ecx, edi
mov edx, 1
call fcn.004049dc
push dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, 0x413ce0
call fcn.0040602c
push dword [ebp - 0x14]
push 0x41455c
mov eax, ebx
mov edx, 3
call fcn.0040483c
jmp 0x41451c
push dword [ebx]
push 0x414550
lea edx, [ebp - 0x18]
mov eax, 0x413ce0
call fcn.0040602c
push dword [ebp - 0x18]
push 0x41455c
mov eax, ebx
mov edx, 4
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41453e
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044dc
ret