Function at 0x413fd8
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 0x4146b7
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, si
call fcn.00413e40
test ax, ax
jne 0x41405b
movzx eax, si
call fcn.00413e48
sub ax, 1
jb 0x41401c
je 0x41402d
dec ax
je 0x41403e
jmp 0x41404f
mov edx, ebx
mov eax, 0x413e68
call fcn.0040620c
jmp 0x41469c
mov edx, ebx
mov eax, 0x413e70
call fcn.0040620c
jmp 0x41469c
mov edx, ebx
mov eax, 0x413e78
call fcn.0040620c
jmp 0x41469c
mov eax, ebx
call fcn.004046c0
jmp 0x41469c
push 0
push 0
push 2
xor edx, edx
mov eax, esi
call fcn.00413e50
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
mov edi, eax
test edi, edi
jle 0x4140c3
mov eax, ebx
mov edx, edi
call fcn.00404d84
push edi
mov eax, dword [ebx]
call fcn.00404b50
push eax
push 2
xor edx, edx
mov eax, esi
call fcn.00413e50
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
test eax, eax
jne 0x4140a9
mov eax, ebx
call fcn.004046c0
jmp 0x414613
mov eax, dword [ebx]
call fcn.00404b50
call fcn.00408040
mov edx, eax
mov eax, ebx
call fcn.00404d84
jmp 0x414613
lea eax, [ebp - 8]
call fcn.004046c0
lea eax, [ebp - 4]
call fcn.004046c0
lea eax, [ebp - 0xc]
call fcn.004046c0
movzx eax, si
call fcn.00413e40
movzx eax, ax
cmp eax, 0x61
ja case.0x4140f6.0
movzx eax, byte [eax + 0x4140fd]
jmp dword [eax*4 + 0x41415f]
lea edx, [ebp - 8]
mov eax, 0x413e80
call fcn.0040620c
movzx eax, si
call fcn.00413e48
dec ax
je 0x41420d
dec ax
je 0x41421f
dec ax
je 0x414231
dec ax
je 0x414243
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413e88
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413e90
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413e98
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ea0
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413ea8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 8]
mov eax, 0x413eb0
call fcn.0040620c
movzx eax, si
call fcn.00413e48
dec ax
je 0x41428b
dec ax
je 0x41429d
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413eb8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ec0
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413ec8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 8]
mov eax, 0x413ed0
call fcn.0040620c
movzx eax, si
call fcn.00413e48
dec ax
je 0x4142e5
dec ax
je 0x4142f7
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ed8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ee0
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413ee8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 8]
mov eax, 0x413ef0
call fcn.0040620c
movzx eax, si
call fcn.00413e48
dec ax
je 0x41433f
dec ax
je 0x414351
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ef8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413f00
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f08
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f10
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f18
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 8]
mov eax, 0x413f20
call fcn.0040620c
movzx eax, si
call fcn.00413e48
dec ax
je 0x4143bd
dec ax
je 0x4143cf
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413f28
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413f30
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f38
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f40
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 8]
mov eax, 0x413f48
call fcn.0040620c
movzx eax, si
call fcn.00413e48
dec ax
je 0x414429
dec ax
je 0x41443b
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ef8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413f00
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f50
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f58
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f60
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f68
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f70
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f78
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f80
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f88
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f90
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413f98
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413fa0
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413fa8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413fb0
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413fb8
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 4]
mov eax, 0x413fc0
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 8]
mov eax, 0x413fc8
call fcn.0040620c
movzx eax, si
call fcn.00413e48
sub ax, 2
jne case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ee0
call fcn.0040620c
jmp case.0x4140f6.0
lea edx, [ebp - 8]
mov eax, 0x413fd0
call fcn.0040620c
movzx eax, si
call fcn.00413e48
sub ax, 2
jne case.0x4140f6.0
lea edx, [ebp - 0xc]
mov eax, 0x413ee0
call fcn.0040620c
cmp dword [ebp - 8], 0
je 0x4145ed
cmp dword [ebp - 0xc], 0
je 0x4145cb
push dword [ebp - 8]
push 0x4146d0
push dword [ebp - 0xc]
push 0x4146dc
mov eax, ebx
mov edx, 4
call fcn.00404a54
jmp 0x414613
movzx eax, si
call fcn.00413e48
test ax, ax
jne 0x4145e4
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404714
jmp 0x414613
mov eax, ebx
call fcn.004046c0
jmp 0x414613
cmp dword [ebp - 4], 0
je 0x41460c
movzx eax, si
call fcn.00413e48
test ax, ax
jne 0x41460c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404714
jmp 0x414613
mov eax, ebx
call fcn.004046c0
cmp dword [ebx], 0
je 0x41469c
mov edx, dword [ebx]
mov eax, 0x4146e8
call fcn.00404c40
mov edi, eax
movzx eax, si
call fcn.00413e48
test ax, ax
jne 0x41469c
cmp edi, 1
jle 0x414674
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
mov ecx, edi
mov edx, 1
call fcn.00404bb8
push dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, 0x413e60
call fcn.0040620c
push dword [ebp - 0x14]
push 0x4146dc
mov eax, ebx
mov edx, 3
call fcn.00404a54
jmp 0x41469c
push dword [ebx]
push 0x4146d0
lea edx, [ebp - 0x18]
mov eax, 0x413e60
call fcn.0040620c
push dword [ebp - 0x18]
push 0x4146dc
mov eax, ebx
mov edx, 4
call fcn.00404a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4146be
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004046e4
ret