Function at 0x46c8b0
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 0x6b40cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x7e500c]
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 0x46d234
lea edx, [edi + 0x184]
cmp edx, esi
je 0x46c92c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46c923
mov eax, dword [esi]
push ecx
push eax
mov ecx, edx
call fcn.004271d0
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.00663090
add esp, 0xc
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
push eax
call fcn.004916d0
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 0x46c9a8
mov esi, dword [esi]
push 0
lea edx, [ebp - 0x68]
mov ecx, esi
call fcn.005ceb70
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xf8]
call fcn.004917e0
test al, al
je 0x46d1df
push 0x72fb4a
push str.userId
lea ecx, [ebp - 0x30]
call fcn.0049b020
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.0049a2e0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x46c9fb
mov eax, dword [eax]
lea esi, [edi + 0x1b4]
push ecx
mov edx, esi
mov ecx, eax
call fcn.005ced40
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x46ca4c
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46ca42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d254
push edx
push ecx
call fcn.0065106e
add esp, 8
push 0x72f3b5
push str.email
lea ecx, [ebp - 0x30]
call fcn.0049b020
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.0049a2e0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x46ca78
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x1fc]
mov ecx, eax
call fcn.005ced40
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x46cac7
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46cabd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d259
push edx
push ecx
call fcn.0065106e
add esp, 8
push 0x72fb9b
push str.countryCode
lea ecx, [ebp - 0x30]
call fcn.0049b020
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.0049a2e0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x46caf3
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x154]
mov ecx, eax
call fcn.005ced40
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x46cb42
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46cb38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d25e
push edx
push ecx
call fcn.0065106e
add esp, 8
push 0x72fb8c
push str.account_type
lea ecx, [ebp - 0x30]
call fcn.0049b020
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.0049a2e0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x46cb6e
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x214]
mov ecx, eax
call fcn.005ced40
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x46cbbd
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46cbb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d263
push edx
push ecx
call fcn.0065106e
add esp, 8
push ecx
push 0x72fbac
mov ecx, esi
call fcn.004705b0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46cc72
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 0x46cc01
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x130]
call fcn.004271d0
lea eax, [edi + 0x1cc]
mov esi, 1
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x46cc65
mov ecx, eax
call fcn.00427170
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.00427170
jmp 0x46cc95
lea ecx, [edi + 0x1cc]
cmp ecx, esi
je 0x46cc8f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46cc86
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004271d0
mov esi, dword [ebp - 0x100]
push 0x72fba8
push str.access_token
lea ecx, [ebp - 0x30]
call fcn.0049b020
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.0049a2e0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x46ccc1
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x19c]
mov ecx, eax
call fcn.005ced40
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x46cd10
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46cd06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d268
push edx
push ecx
call fcn.0065106e
add esp, 8
push 0x72fbd1
push str.wamAppendedOrgIds
lea ecx, [ebp - 0x30]
call fcn.0049b020
mov ecx, eax
call fcn.0049abd0
test eax, eax
jne 0x46d1df
mov ecx, edi
call fcn.0046dae0
mov ecx, dword [edi + 0x234]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x230]
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 0x46cd7a
mov edx, dword [edi + 0x1e4]
xor ecx, ecx
mov word [edx], cx
mov dword [ebp - 0x134], ecx
test eax, eax
jle 0x46cf98
xor eax, eax
mov dword [ebp - 0xfc], eax
nop word [eax + eax]
mov ecx, dword [edi + 0x230]
add ecx, eax
mov byte [ebp - 4], 9
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 0x46cdde
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x130]
call fcn.005ceb70
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.00499730
mov dword [ebp - 0x118], eax
push 0x72fbd1
push str.wamAppendedOrgIds
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0049b020
mov esi, eax
lea ecx, [ebp - 0x158]
lea eax, [ebp - 0x118]
push eax
call fcn.00499f20
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0049abd0
push eax
mov ecx, esi
call fcn.0049ac60
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0049a260
lea ecx, [ebp - 0x158]
call fcn.0049a170
lea ecx, [ebp - 0x118]
call fcn.0049a170
and dword [ebp - 0x100], 0xfffffffd
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x46ceed
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46cee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d277
push edx
push ecx
call fcn.0065106e
add esp, 8
mov eax, dword [ebp - 0x138]
mov esi, dword [ebp - 0x134]
dec eax
cmp esi, eax
jge 0x46cf4b
mov edx, dword [edi + 0x230]
lea ecx, [ebp - 0x158]
add edx, dword [ebp - 0xfc]
push 0x72472c
call fcn.00431250
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x46cf2b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [edi + 0x1e4]
call fcn.004272f0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call fcn.00427170
jmp 0x46cf70
mov eax, dword [edi + 0x230]
add eax, dword [ebp - 0xfc]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x46cf61
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [edi + 0x1e4]
call fcn.004272f0
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 0x46cda0
push 0x72fbbf
push str.serviceAccounts
lea ecx, [ebp - 0x30]
call fcn.0049b020
mov ecx, eax
call fcn.0049abd0
test eax, eax
jle 0x46d0dd
push 0x72fbbf
push str.serviceAccounts
lea ecx, [ebp - 0x30]
call fcn.0049b020
push 0
mov ecx, eax
call fcn.0049ac60
push 0x72fbec
push str.serviceLevel
mov ecx, eax
call fcn.0049b020
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0049a2e0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x46cfff
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x64]
mov ecx, eax
call fcn.005ced40
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x46d04b
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d041
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d26d
push edx
push ecx
call fcn.0065106e
add esp, 8
push 0x72fbbf
push str.serviceAccounts
lea ecx, [ebp - 0x30]
call fcn.0049b020
push 0
mov ecx, eax
call fcn.0049ac60
push 0x72fbdf
push str.serviceCode
mov ecx, eax
call fcn.0049b020
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0049a2e0
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x46d091
mov eax, dword [eax]
push ecx
lea edx, [edi + 0x7c]
mov ecx, eax
call fcn.005ced40
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x46d0dd
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d0d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d272
push edx
push ecx
call fcn.0065106e
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 0x720b07
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x15
call fcn.00427530
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.0049d260
cmp byte [ebp - 0x32], 0
jne 0x46d134
push 1
push 0x737764
lea ecx, [ebp - 0x4c]
call fcn.004389e0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x80]
call fcn.004382a0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
lea edx, [edi + 0x184]
cmovae ecx, dword [ebp - 0x80]
push ecx
call fcn.005ced40
mov edx, dword [ebp - 0x6c]
add esp, 4
cmp edx, 0x10
jb 0x46d192
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d188
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d277
push edx
push ecx
call fcn.0065106e
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 0x46d1df
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d1d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d277
push edx
push ecx
call fcn.0065106e
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x46d20f
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d205
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d27c
push edx
push ecx
call fcn.0065106e
add esp, 8
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00441d90
lea ecx, [ebp - 0x30]
call fcn.0049a170
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.00650ddc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0066bea5
call fcn.0066bea5
call fcn.0066bea5
call fcn.0066bea5
call fcn.0066bea5
call fcn.0066bea5
call fcn.0066bea5
call fcn.0066bea5
call fcn.0066bea5
int3