Function at 0x40d969
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 8
call fcn.004525ac
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x532315
push ebx
add ebx, 4
push ebx
push 8
call fcn.004525ac
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
mov dword [ebp - 8], 0
push 8
call fcn.004525ac
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x532369
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
push 8
call fcn.004525ac
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x531c0d
push ebx
add ebx, 4
push ebx
push 8
call fcn.004525ac
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, str.fromusername
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40db13
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40db27
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, str.alias
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40db5b
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40db6f
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, 0x5322b6
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dba3
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40dbb7
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, str.fromnickname
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dbeb
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40dbff
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, str.content
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dc33
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40dc47
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, str.encryptusername
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dc7b
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40dc8f
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, str.ticket
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dcc3
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40dcd7
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, str.scene
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dd0b
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40dd1f
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, str.country
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dd53
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40dd67
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov eax, str.province
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dd9b
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ddaf
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov eax, str.city
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dde3
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ddf7
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push str.city
push dword [ebp - 0x34]
push 0x532302
push dword [ebp - 0x30]
mov ecx, 4
call fcn.00401257
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, 0x532222
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
mov eax, 0x5059f8
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x644068
call fcn.0040e114
mov ebx, eax
test ebx, ebx
je 0x40de76
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40de86
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40de96
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40dea6
push ebx
call fcn.004525a6
add esp, 4
push 0xffffffffffffffff
push 8
push 0x160161bf
push 0x52012ee3
call fcn.004525d0
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 1
lea eax, [ebp - 0x4c]
push eax
push 1
push 0x644068
call fcn.0040e7d9
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dee4
push ebx
call fcn.004525a6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40def8
push ebx
call fcn.004525a6
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
test eax, eax
je 0x40e01e
push 1
mov eax, str.code
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x12c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40df7d
push ebx
call fcn.004525a6
add esp, 4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x48], 0xffffffff
jne 0x40df93
cmp dword [ebp - 0x44], 0xffffffff
jne 0x40df9e
jmp 0x40e01e
push 1
mov eax, str.data.apply_count
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x124]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dfd3
push ebx
call fcn.004525a6
add esp, 4
push 0x80000601
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 1
mov ebx, 0x4541c0
call fcn.004525be
add esp, 0x10
mov dword [ebp - 0x58], eax
push 0
push dword [ebp - 0x58]
push 0xffffffffffffffff
push 8
push 0x16012ef5
push 0x52012ee3
call fcn.004525ca
add esp, 0x18
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40e01e
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e04e
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e05e
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e06e
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e07e
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e08e
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e09e
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e0ae
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e0be
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e0ce
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e0de
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e0ee
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e0fe
push ebx
call fcn.004525a6
add esp, 4
mov ebx, dword [ebp - 0x40]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004525a6
add esp, 4
mov esp, ebp
pop ebp
ret 8