Function at 0x5a46d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x19], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5a4e7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x576170]
call fcn.00503e50
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5a4e1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x208]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x370]
mov dl, 1
mov eax, dword [0x5195b0]
call fcn.00503e50
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x518e94]
call fcn.00503e50
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x50]
mov edx, dword [0x56d7b4]
call fcn.00506278
lea eax, [ebp - 0x40]
call fcn.00504d0c
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x214]
call fcn.00580760
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
je 0x5a47b8
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x214]
mov eax, dword [eax + 8]
call fcn.0057f468
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
mov dl, byte [ebp - 0x19]
mov eax, ebx
call fcn.005a0eb8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov edx, 0x5a4e90
mov eax, dword [ebp - 0xc]
call fcn.00579018
xor edi, edi
cmp byte [ebp - 0x49], 0
je 0x5a484e
mov eax, dword [ebp - 0x50]
call fcn.00505f98
test eax, eax
jl 0x5a4898
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
add edi, dword [eax + 0x18]
imul eax, edi, 0x5a0
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
mov eax, dword [0x627c98]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.0050312c
mov dword [ebp - 0x48], eax
mov edx, 0x5a4eac
mov eax, dword [ebp - 0xc]
call fcn.00579018
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x48]
call fcn.00509998
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0xc]
call fcn.00579018
inc esi
dec dword [ebp - 0x5c]
jne 0x5a47fa
jmp 0x5a4898
mov eax, ebx
call fcn.00546fe0
imul eax, eax, 0x5a0
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
mov eax, dword [0x627c98]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.0050312c
mov dword [ebp - 0x48], eax
mov edx, 0x5a4eac
mov eax, dword [ebp - 0xc]
call fcn.00579018
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x48]
call fcn.00509998
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00579018
cmp byte [ebp - 0x49], 0
je 0x5a49da
cmp word [ebx + 0x492], 0
je 0x5a48bc
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x494]
call dword [ebx + 0x490]
mov edx, 0x5a4ebc
mov eax, dword [ebp - 0xc]
call fcn.00579018
mov eax, dword [ebp - 0x50]
call fcn.00505f98
test eax, eax
jl 0x5a49b3
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
cmp word [ebx + 0x46a], 0
je 0x5a4900
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x46c]
call dword [ebx + 0x468]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
call fcn.0057c904
mov byte [ebp - 0x55], al
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x30]
mov byte [ebp - 0x56], al
cmp byte [ebp - 0x56], 0
je 0x5a4928
lea eax, [ebp - 0x55]
call fcn.0054434c
mov al, byte [ebp - 0x55]
sub al, 1
jb 0x5a4937
je 0x5a4946
dec al
je 0x5a4955
jmp 0x5a4962
mov edx, 0x5a4ed0
mov eax, dword [ebp - 0xc]
call fcn.00579018
jmp 0x5a4962
mov edx, 0x5a4edc
mov eax, dword [ebp - 0xc]
call fcn.00579018
jmp 0x5a4962
mov edx, 0x5a4ee8
mov eax, dword [ebp - 0xc]
call fcn.00579018
push ebp
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x214]
mov edx, dword [edx + 0x10]
call fcn.005a4434
pop ecx
mov edx, 0x5a4ef4
mov eax, dword [ebp - 0xc]
call fcn.00579018
cmp word [ebx + 0x47a], 0
je 0x5a49a9
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x47c]
call dword [ebx + 0x478]
inc esi
dec dword [ebp - 0x5c]
jne 0x5a48df
mov edx, 0x5a4f04
mov eax, dword [ebp - 0xc]
call fcn.00579018
cmp word [ebx + 0x49a], 0
je 0x5a49da
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x49c]
call dword [ebx + 0x498]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5a4c42
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.005a4248
test al, al
je 0x5a4a1a
cmp word [ebx + 0x452], 0
je 0x5a4a2d
mov eax, dword [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x454]
call dword [ebx + 0x450]
test al, al
jne 0x5a4a2d
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
call dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
jmp 0x5a4c38
xor esi, esi
jmp 0x5a4be5
cmp byte [ebp - 0x49], 0
je 0x5a4a62
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
call fcn.0051c910
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x44]
mov byte [ebp - 0x55], al
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x30]
mov byte [ebp - 0x56], al
jmp 0x5a4a78
mov dword [ebp - 0x54], 0xffffffff
mov al, byte [ebx + 0x3a6]
mov byte [ebp - 0x55], al
mov al, byte [ebx + 0x5f]
mov byte [ebp - 0x56], al
cmp byte [ebp - 0x49], 0
je 0x5a4a8e
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
test byte [eax + 0x3c], 0x80
je 0x5a4bde
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.005a0fa0
mov edx, 0x5a4ebc
mov eax, dword [ebp - 0xc]
call fcn.00579018
cmp byte [ebp - 0x56], 0
je 0x5a4aba
lea eax, [ebp - 0x55]
call fcn.0054434c
mov al, byte [ebp - 0x55]
dec al
je 0x5a4ac7
dec al
je 0x5a4ad6
jmp 0x5a4ae3
mov edx, 0x5a4edc
mov eax, dword [ebp - 0xc]
call fcn.00579018
jmp 0x5a4ae3
mov edx, 0x5a4ee8
mov eax, dword [ebp - 0xc]
call fcn.00579018
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x208]
call fcn.00529584
mov byte [ebx + 0x390], 0
mov eax, dword [ebp - 0x54]
push eax
push 0
mov ecx, dword [ebx + 0x208]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x43c]
mov eax, dword [ebx + 0x214]
call fcn.00580744
cmp eax, dword [ebp - 0x54]
jne 0x5a4bbe
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.0059b290
mov edi, eax
cmp edi, dword [ebp - 0x24]
je 0x5a4b5e
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x40]
call fcn.00504d0c
mov eax, edi
dec eax
test eax, eax
jl 0x5a4b5e
inc eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x40]
mov edx, 0x5a4f14
call fcn.00504fe4
dec dword [ebp - 0x5c]
jne 0x5a4b4c
test edi, edi
jle 0x5a4b9c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00579018
mov edx, 0x5a4f24
mov eax, dword [ebp - 0xc]
call fcn.00579018
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.005a4434
pop ecx
mov edx, 0x5a4ef4
mov eax, dword [ebp - 0xc]
call fcn.00579018
jmp 0x5a4bde
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.005a4434
pop ecx
mov edx, 0x5a4ef4
mov eax, dword [ebp - 0xc]
call fcn.00579018
jmp 0x5a4bde
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.005a4434
pop ecx
mov edx, 0x5a4ef4
mov eax, dword [ebp - 0xc]
call fcn.00579018
cmp byte [ebp - 0x49], 0
je 0x5a4bff
inc esi
cmp byte [ebp - 0x49], 0
je 0x5a4a34
mov eax, dword [ebp - 0x50]
call fcn.00505f90
cmp esi, eax
jl 0x5a4a34
mov edx, 0x5a4f04
mov eax, dword [ebp - 0xc]
call fcn.00579018
cmp word [ebx + 0x462], 0
je 0x5a4c2a
mov eax, dword [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x464]
call dword [ebx + 0x460]
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
call dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x5a49ea
mov edx, 0x5a4f30
mov eax, dword [ebp - 0xc]
call fcn.00579018
lea eax, [ebp - 0x3c]
mov edx, 0x5a4f44
call fcn.00504da4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a4cb4
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x7c], esi
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x80]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
lea edx, [ebp - 0x7c]
mov ecx, 1
mov eax, 0x5a4f80
call fcn.0050ae44
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x3c]
call fcn.00504fe4
inc esi
dec dword [ebp - 0x5c]
jne 0x5a4c6f
lea eax, [ebp - 0x3c]
mov edx, 0x5a4f94
call fcn.00504fe4
lea eax, [ebp - 0x3c]
mov edx, 0x5a4fa0
call fcn.00504fe4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5a4d69
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0051b8f4
call fcn.00527da8
mov edi, eax
lea eax, [ebp - 0x84]
push eax
mov eax, edi
and eax, 0xff
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, edi
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
shr edi, 0x10
and edi, 0xff
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x9c]
mov ecx, 2
mov eax, 0x5a4fb4
call fcn.0050ae44
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x3c]
call fcn.00504fe4
inc esi
dec dword [ebp - 0x5c]
jne 0x5a4ce3
lea eax, [ebp - 0x3c]
mov edx, 0x5a4f94
call fcn.00504fe4
push 2
lea eax, [ebp - 0x58]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x5a4da1
cmp byte [ebp - 0x58], 0x30
jne 0x5a4da1
lea eax, [ebp - 0x3c]
mov edx, 0x5a4fd4
call fcn.00504fe4
jmp 0x5a4dae
lea eax, [ebp - 0x3c]
mov edx, 0x5a4ff8
call fcn.00504fe4
lea eax, [ebp - 0x3c]
mov edx, 0x5a501c
call fcn.00504fe4
push dword [ebp - 0x3c]
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0xc]
call fcn.00579000
push dword [ebp - 0xa0]
push 0x5a4f94
mov eax, dword [ebp - 0x20]
mov edx, 3
call fcn.0050509c
mov eax, dword [ebp - 4]
call fcn.00503e80
mov eax, dword [ebp - 0x10]
call fcn.00503e80
mov edx, dword [ebx + 0x208]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x380]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a4e21
mov eax, dword [ebp - 0xc]
call fcn.00503e80
ret