Function at 0x47d640
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0855
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4fe0a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1c]
cmp dword [ecx - 0xc], 0
jne 0x47d9e0
push 0x18
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0049cf37
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47da04
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.country
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004046b0
test al, al
jne 0x47d6e5
push 7
push str.country
lea ecx, [ebp - 0x10]
call fcn.00404980
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x18]
call fcn.0047e0b0
mov ecx, eax
call fcn.00403180
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d71e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47da0e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.province
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004046b0
test al, al
jne 0x47d75c
push 8
push str.province
lea ecx, [ebp - 0x10]
call fcn.00404980
lea eax, [esi + 4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047e0b0
mov ecx, eax
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d795
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47da18
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.city
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004046b0
test al, al
jne 0x47d7d3
push 4
push str.city
lea ecx, [ebp - 0x10]
call fcn.00404980
lea eax, [esi + 8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047e0b0
mov ecx, eax
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d80c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47da22
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.district
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004046b0
test al, al
jne 0x47d84a
push 8
push str.district
lea ecx, [ebp - 0x10]
call fcn.00404980
lea eax, [esi + 0xc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047e0b0
mov ecx, eax
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d883
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47da2c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x4ea39c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.004046b0
test al, al
jne 0x47d8c1
push 3
push 0x4ea39c
lea ecx, [ebp - 0x10]
call fcn.00404980
lea eax, [esi + 0x10]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047e0b0
mov ecx, eax
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d8fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp - 0x10]
call fcn.00404a80
lea eax, [esi + 0x14]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047e0b0
mov ecx, eax
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d940
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp - 0x10]
call fcn.00404a80
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047e0b0
mov ecx, eax
call fcn.00403180
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x47d984
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 0x20], 0xfffffe00
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
call fcn.0047e5b0
test eax, eax
je 0x47d9b0
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0047ef90
lea ecx, [ebp - 0x28]
call fcn.0047fdd0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00472260
push 0x18
push dword [ebp - 0x18]
call fcn.0049cf67
mov ecx, dword [esi + 0x1c]
add esp, 8
add ecx, 0xfffffff0
call fcn.0042fd40
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
int3