Function at 0x47f5a0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4d3e2f
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x75d454]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x78]
push 0xc
push ecx
mov ecx, esp
push esi
call dword [0x4d9544]
mov ecx, edi
call fcn.004862e0
test al, al
je 0x47f5fc
push esi
lea ecx, [edi + 0x48]
call fcn.0049e080
test eax, eax
jne 0x47f663
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x47f622
cmp eax, 1
je 0x47f622
lea ecx, [edi + 0x9c]
call dword [0x4d9570]
push 0
push eax
mov ecx, edi
call fcn.004851a0
jmp 0x47f65b
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x48]
mov esi, dword [eax + 0xc]
xor eax, eax
test esi, esi
jle 0x47f65b
push eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0047e110
mov ecx, eax
call fcn.00477050
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x24], 0
jne 0x47f65b
push 1
push esi
mov ecx, edi
call fcn.00485140
test eax, eax
je 0x47fd92
lea ecx, [ebp + 0x28]
push ecx
mov ecx, eax
call fcn.0044bc10
mov ebx, dword [0x4d955c]
push 0
push 0x4da0cc
mov dword [ebp - 4], 0
call ebx
mov dword [ebp + 0xc], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 1
call ebx
mov dword [ebp + 0x18], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 2
call ebx
mov dword [ebp + 0x10], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 3
call ebx
mov dword [ebp + 0x14], eax
push 2
push 0x4df884
mov byte [ebp - 4], 4
call ebx
add esp, 0x28
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [0x4d9228]
lea ecx, [ebp + 0x28]
call eax
mov ecx, eax
call dword [0x4d922c]
push eax
lea ecx, [ebp + 0x14]
call dword [0x4d9550]
lea ecx, [ebp + 0x38]
call dword [0x4d9548]
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 4
call dword [0x4d9548]
push 6
lea ecx, [ebp - 0x88]
call fcn.004259b0
push 7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.004259b0
mov esi, dword [edi + 0x40]
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 4]
test ecx, ecx
je 0x47f748
dec ecx
cmp dword [eax], esi
jne 0x47f746
add eax, 4
test ecx, ecx
jne 0x47f738
jmp 0x47f748
mov esi, dword [eax]
lea eax, [edi + 0x1c8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00477e50
mov byte [ebp - 4], 8
cmp esi, dword [edi + 0x40]
je 0x47f8de
nop word [eax + eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47f8c9
mov al, byte [ecx + 0x3c]
test al, al
je 0x47f8c9
mov al, byte [ecx + 0x3d]
test al, al
je 0x47f8c9
lea eax, [ebp + 0x38]
push eax
call fcn.0044b960
push eax
lea ecx, [ebp + 0x18]
call dword [0x4d9550]
lea ecx, [ebp + 0x38]
call dword [0x4d9548]
push ecx
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call dword [0x4d9544]
lea eax, [ebp + 0x3c]
mov ecx, edi
push eax
call fcn.00477f10
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp + 0x20], esp
push eax
call fcn.00425870
push str.device_sn
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call int.004265d0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00425ed0
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x47f80e
inc eax
push 1
push eax
push dword [ebp + 0x3c]
call fcn.00404260
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.004076b0
add esp, 0xc
lea ecx, [ebp + 0xc]
push eax
call dword [0x4d954c]
lea ecx, [ebp + 0x30]
call dword [0x4d9548]
push 0
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00480c80
push eax
lea ecx, [ebp + 0x10]
call dword [0x4d9550]
lea ecx, [ebp + 0x34]
call dword [0x4d9548]
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call dword [0x4d9544]
lea eax, [ebp + 0x3c]
mov ecx, edi
push eax
call fcn.00477f10
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp + 0x20], esp
push eax
call fcn.00425870
push str.session_id
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call int.004265d0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00425ed0
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x47f8ba
inc eax
push 1
push eax
push dword [ebp + 0x3c]
call fcn.00404260
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x88]
call fcn.00426d40
push esi
call dword [0x4d92ac]
mov esi, eax
add esp, 4
cmp esi, dword [edi + 0x40]
jne 0x47f770
push 0
push 0x4da0cc
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x68], 0xf
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x54], 0
call fcn.00404950
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x88]
call fcn.00429420
mov esi, eax
lea eax, [ebp + 0x54]
cmp eax, esi
je 0x47f94d
mov eax, dword [ebp + 0x68]
cmp eax, 0x10
jb 0x47f932
inc eax
push 1
push eax
push dword [ebp + 0x54]
call fcn.00404260
add esp, 0xc
push esi
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x68], 0xf
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x54], 0
call fcn.00404050
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 0xd
cmp eax, 0x10
jb 0x47f968
inc eax
push 1
push eax
push dword [ebp + 0x3c]
call fcn.00404260
add esp, 0xc
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x47f993
mov eax, dword [ecx]
jmp 0x47f995
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x54]
push 0
push eax
call fcn.00404850
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0043c950
push 9
push str.continent
mov byte [ebp - 4], 0xf
call ebx
mov dword [ebp + 0x38], eax
push 6
push str.postal
mov byte [ebp - 4], 0x10
call ebx
mov dword [ebp + 0x30], eax
push 3
push 0x4df6b8
mov byte [ebp - 4], 0x11
call ebx
mov dword [ebp + 0x34], eax
push 1
push 0x4dd6f0
mov byte [ebp - 4], 0x12
call ebx
mov dword [ebp - 0x18], eax
push 6
push str.server
mov byte [ebp - 4], 0x13
call ebx
mov dword [ebp - 0x14], eax
push 2
push 0x4df884
mov byte [ebp - 4], 0x14
call ebx
mov dword [ebp - 0x10], eax
push 4
push 0x4df6b0
mov byte [ebp - 4], 0x15
call ebx
mov dword [ebp], eax
push 5
push 0x4df6a8
mov byte [ebp - 4], 0x16
call ebx
add esp, 0x40
mov dword [ebp + 4], eax
push 7
push 0x4df6a0
mov byte [ebp - 4], 0x17
call ebx
mov dword [ebp + 8], eax
push 2
push 0x4df26c
mov byte [ebp - 4], 0x18
call ebx
add esp, 0x10
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x28]
mov esi, dword [0x4d9228]
call esi
mov ecx, eax
call dword [0x4d922c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp + 0x28]
call esi
mov ecx, eax
call dword [0x4d922c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp + 0x28]
call esi
mov ecx, eax
call dword [0x4d922c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp + 0x28]
call esi
mov ecx, eax
call dword [0x4d922c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp + 0x28]
call esi
mov ecx, eax
call dword [0x4d922c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp + 0x28]
call esi
mov ecx, eax
call dword [0x4d922c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 0x28]
call esi
mov ecx, eax
call dword [0x4d922c]
mov ebx, eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp + 0x28]
call esi
mov ecx, eax
call dword [0x4d922c]
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [0x4d9228]
lea ecx, [ebp + 0x28]
call eax
mov ecx, eax
call dword [0x4d922c]
push 6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x22
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x18]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push ecx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x28]
push ebx
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004129d0
mov ecx, eax
call fcn.0044e4e0
lea ecx, [ebp - 0x2c]
call dword [0x4d9548]
lea ecx, [ebp - 0x30]
call dword [0x4d9548]
lea ecx, [ebp - 0x34]
call dword [0x4d9548]
lea ecx, [ebp - 0x38]
call dword [0x4d9548]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
lea ecx, [ebp - 0x40]
call dword [0x4d9548]
lea ecx, [ebp - 0x44]
call dword [0x4d9548]
lea ecx, [ebp - 0x24]
call dword [0x4d9548]
lea ecx, [ebp + 0x20]
call dword [0x4d9548]
lea ecx, [ebp + 0x24]
call dword [0x4d9548]
lea ecx, [ebp + 8]
call dword [0x4d9548]
lea ecx, [ebp + 4]
call dword [0x4d9548]
lea ecx, [ebp]
call dword [0x4d9548]
lea ecx, [ebp - 0x10]
call dword [0x4d9548]
lea ecx, [ebp - 0x14]
call dword [0x4d9548]
lea ecx, [ebp - 0x18]
call dword [0x4d9548]
lea ecx, [ebp + 0x34]
call dword [0x4d9548]
lea ecx, [ebp + 0x30]
call dword [0x4d9548]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call dword [0x4d9548]
mov ebx, dword [ebp + 0x7c]
mov eax, dword [ebx]
test eax, eax
je 0x47fc8b
cmp eax, 1
jne 0x47fd17
lea ecx, [edi + 0x80]
call fcn.004628b0
lea eax, [ebp + 0x34]
push eax
call dword [0x4d9688]
push 0x13
push str.yyyy_MM_dd_hh:mm:ss
mov byte [ebp - 4], 0x23
call dword [0x4d955c]
add esp, 0xc
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x34]
call dword [0x4d94e0]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x26
call dword [0x4d9548]
call fcn.004129d0
lea ecx, [eax + 8]
call fcn.0043b8c0
push dword [ebx]
mov dword [ebp + 0x20], eax
mov ecx, edi
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.0047c850
mov ecx, edi
call fcn.0047dfc0
lea ecx, [ebp + 0x30]
call dword [0x4d9548]
lea ecx, [ebp + 0x34]
call dword [0x4d9684]
lea ecx, [ebp - 0x1c]
call dword [0x4d9548]
mov eax, dword [ebp + 0x68]
cmp eax, 0x10
jb 0x47fd37
push 1
inc eax
push eax
push dword [ebp + 0x54]
call fcn.00404260
add esp, 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x68], 0xf
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x54], 0
call dword [0x4d9548]
lea ecx, [ebp - 0x70]
call fcn.00425d10
lea ecx, [ebp - 0x88]
call fcn.00425d10
lea ecx, [ebp + 0x14]
call dword [0x4d9548]
lea ecx, [ebp + 0x10]
call dword [0x4d9548]
lea ecx, [ebp + 0x18]
call dword [0x4d9548]
lea ecx, [ebp + 0xc]
call dword [0x4d9548]
lea ecx, [ebp + 0x28]
call dword [0x4d95c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.004c3b48
lea esp, [ebp + 0x70]
pop ebp
ret 8