Function at 0x594c40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x693899
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x77e784]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xc0]
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0xbc], edi
call fcn.005b1090
add esp, 4
lea ecx, [ebp - 0xb8]
push eax
call fcn.005adc50
push 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0
mov dword [edi], 5
call fcn.005ab990
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 3
push eax
push esi
lea ecx, [ebp - 0xb8]
call fcn.005af5a0
test al, al
je 0x594dde
push 0x6ef3b0
lea ecx, [ebp - 0xd8]
call fcn.005ac0c0
push eax
lea ecx, [ebp - 0xf0]
call fcn.005ab670
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.005acbc0
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x594d3d
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x594d71
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x594d67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x594ee0
push edx
push ecx
call fcn.0060b8e2
add esp, 8
push str.country
lea ecx, [ebp - 0xd8]
call fcn.005ac0c0
mov esi, eax
mov ecx, esi
call fcn.005ad920
cmp eax, 7
jne 0x594dc5
push 0x6c8de0
mov ecx, esi
call fcn.005ac2c0
mov esi, eax
mov ecx, esi
call fcn.005ad920
cmp eax, 4
jne 0x594dc5
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.005acbc0
push eax
lea ecx, [edi + 4]
call fcn.0047e7a0
lea ecx, [ebp - 0x44]
call fcn.00468830
lea ecx, [ebp - 0xf0]
call fcn.005abc50
jmp 0x594dde
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
push 5
push str.Green
push dword [ebp - 0x1c]
cmovae eax, esi
push eax
call fcn.0047b3f0
add esp, 0x10
test eax, eax
jne 0x594e06
mov dword [edi], eax
jmp 0x594e7f
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 6
push str.Yellow
push dword [ebp - 0x1c]
cmovae eax, esi
push eax
call fcn.0047b3f0
add esp, 0x10
test eax, eax
jne 0x594e2f
mov dword [edi], 1
jmp 0x594e7f
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 6
push str.Orange
push dword [ebp - 0x1c]
cmovae eax, esi
push eax
call fcn.0047b3f0
add esp, 0x10
test eax, eax
jne 0x594e58
mov dword [edi], 2
jmp 0x594e7f
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 3
push 0x6ef3d8
push dword [ebp - 0x1c]
cmovae eax, esi
push eax
call fcn.0047b3f0
add esp, 0x10
test eax, eax
jne 0x594e7f
mov dword [edi], 3
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x594eae
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x594ea4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x594ee5
push ecx
push esi
call fcn.0060b8e2
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.005abc50
lea ecx, [ebp - 0xb8]
call fcn.00593b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0060bd4a
mov esp, ebp
pop ebp
ret
call fcn.0061777f
call fcn.0061777f
int3