Function at 0x470060
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69b986
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x100], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x470a54
lea edx, [edi + 0x184]
cmp edx, esi
je 0x4700dc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4700d3
mov eax, dword [esi]
push ecx
push eax
mov ecx, edx
call fcn.00428800
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x74
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0xfc], 1
call fcn.006501e0
add esp, 0xc
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
push eax
call fcn.00497420
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x470158
mov esi, dword [esi]
push 0
lea edx, [ebp - 0x68]
mov ecx, esi
call fcn.005dd120
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00497530
test al, al
je 0x4709ff
push 0x71806a
push str.userId
lea ecx, [ebp - 0x30]
call fcn.004a1300
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x4701ab
mov eax, dword [eax]
lea esi, [edi + 0x1b4]
push ecx
mov edx, esi
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x4701fc
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4701f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a74
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x7178d1
push str.email
lea ecx, [ebp - 0x30]
call fcn.004a1300
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x470228
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x1fc]
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x470277
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47026d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a79
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x7180bb
push str.countryCode
lea ecx, [ebp - 0x30]
call fcn.004a1300
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x4702a3
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x154]
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x4702f2
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4702e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a7e
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x7180ac
push str.account_type
lea ecx, [ebp - 0x30]
call fcn.004a1300
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x47031e
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x214]
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x47036d
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470363
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a83
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x7180c6
push str.authId
lea ecx, [ebp - 0x30]
call fcn.004a1300
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x470399
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x22c]
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x4703e8
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4703de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a88
push edx
push ecx
call fcn.0063e103
add esp, 8
push ecx
push 0x7180bc
mov ecx, esi
call fcn.00473e70
mov ecx, eax
cmp ecx, 0xffffffff
je 0x47049d
xor eax, eax
mov dword [ebp - 0x120], 0
cmp dword [esi + 0x10], ecx
mov dword [ebp - 0x11c], 7
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
mov word [ebp - 0x130], ax
jb 0x47042c
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x130]
call fcn.00428800
lea eax, [edi + 0x1cc]
mov esi, 1
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x470490
mov ecx, eax
call fcn.00428770
movups xmm0, xmmword [ebp - 0x130]
xor eax, eax
mov word [ebp - 0x130], ax
movups xmmword [edi + 0x1cc], xmm0
movq xmm0, qword [ebp - 0x120]
movq qword [edi + 0x1dc], xmm0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
lea ecx, [ebp - 0x130]
call fcn.00428770
jmp 0x4704c0
lea ecx, [edi + 0x1cc]
cmp ecx, esi
je 0x4704ba
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4704b1
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00428800
mov esi, dword [ebp - 0x100]
push 0x7180e8
push str.access_token
lea ecx, [ebp - 0x30]
call fcn.004a1300
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x4704ec
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x19c]
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x47053b
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470531
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a8d
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x7180d9
push str.wamAppendedOrgIds
lea ecx, [ebp - 0x30]
call fcn.004a1300
mov ecx, eax
call fcn.004a0eb0
test eax, eax
jne 0x4709ff
mov ecx, edi
call fcn.00471300
mov ecx, dword [edi + 0x24c]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x248]
imul ecx
mov dword [edi + 0x1f4], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [edi + 0x1f8], 8
mov dword [ebp - 0x138], eax
lea edx, [edi + 0x1e4]
jb 0x4705a5
mov edx, dword [edi + 0x1e4]
xor ecx, ecx
mov word [edx], cx
mov dword [ebp - 0x134], ecx
test eax, eax
jle 0x4707b8
xor eax, eax
mov dword [ebp - 0xfc], eax
mov ecx, dword [edi + 0x248]
add ecx, eax
mov byte [ebp - 4], 0xa
or esi, 2
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x13c], esi
jb 0x4705fe
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x130]
call fcn.005dd120
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x130]
mov edx, dword [ebp - 0x120]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x10c], 0
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x11c], 0x10
mov dword [ebp - 0x108], 0
cmovae ecx, dword [ebp - 0x130]
mov dword [ebp - 0x104], 0
call fcn.0049fa10
mov dword [ebp - 0x118], eax
push 0x7180d9
push str.wamAppendedOrgIds
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.004a1300
mov esi, eax
lea ecx, [ebp - 0x158]
lea eax, [ebp - 0x118]
push eax
call fcn.004a0200
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.004a0eb0
push eax
mov ecx, esi
call fcn.004a0f40
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.004a0540
lea ecx, [ebp - 0x158]
call fcn.004a0450
lea ecx, [ebp - 0x118]
call fcn.004a0450
and dword [ebp - 0x100], 0xfffffffd
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x47070d
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470703
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a9c
push edx
push ecx
call fcn.0063e103
add esp, 8
mov eax, dword [ebp - 0x138]
mov esi, dword [ebp - 0x134]
dec eax
cmp esi, eax
jge 0x47076b
mov edx, dword [edi + 0x248]
lea ecx, [ebp - 0x158]
add edx, dword [ebp - 0xfc]
push 0x70c244
call fcn.004327a0
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x47074b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [edi + 0x1e4]
call fcn.00428920
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call fcn.00428770
jmp 0x470790
mov eax, dword [edi + 0x248]
add eax, dword [ebp - 0xfc]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x470781
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [edi + 0x1e4]
call fcn.00428920
mov eax, dword [ebp - 0xfc]
inc esi
add eax, 0x18
mov dword [ebp - 0x134], esi
cmp esi, dword [ebp - 0x138]
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0xfc], eax
jl 0x4705c0
push 0x71810b
push str.serviceAccounts
lea ecx, [ebp - 0x30]
call fcn.004a1300
mov ecx, eax
call fcn.004a0eb0
test eax, eax
jle 0x4708fd
push 0x71810b
push str.serviceAccounts
lea ecx, [ebp - 0x30]
call fcn.004a1300
push 0
mov ecx, eax
call fcn.004a0f40
push 0x7180f8
push str.serviceLevel
mov ecx, eax
call fcn.004a1300
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x47081f
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x64]
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x47086b
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470861
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a92
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x71810b
push str.serviceAccounts
lea ecx, [ebp - 0x30]
call fcn.004a1300
push 0
mov ecx, eax
call fcn.004a0f40
push 0x71811f
push str.serviceCode
mov ecx, eax
call fcn.004a1300
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.004a05c0
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x14], 0x10
jb 0x4708b1
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x7c]
mov ecx, eax
call fcn.005dd2f0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x4708fd
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4708f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a97
push edx
push ecx
call fcn.0063e103
add esp, 8
mov dword [ebp - 0x50], vtable.Json::FastWriter.0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov word [ebp - 0x34], 0
mov byte [ebp - 0x32], 0
push 0
push 0x708717
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00428b60
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.004a34b0
cmp byte [ebp - 0x32], 0
jne 0x470954
push 1
push 0x7201ac
lea ecx, [ebp - 0x4c]
call fcn.00439a20
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x80]
call fcn.004392e0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
lea edx, [edi + 0x184]
cmovae ecx, dword [ebp - 0x80]
push ecx
call fcn.005dd2f0
mov edx, dword [ebp - 0x6c]
add esp, 4
cmp edx, 0x10
jb 0x4709b2
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4709a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a9c
push edx
push ecx
call fcn.0063e103
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x50], vtable.Json::FastWriter.0
cmp edx, 0x10
jb 0x4709ff
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4709f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470a9c
push edx
push ecx
call fcn.0063e103
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x470a2f
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470a25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470aa1
push edx
push ecx
call fcn.0063e103
add esp, 8
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00442f30
lea ecx, [ebp - 0x30]
call fcn.004a0450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
int3