Function at 0x47d140
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d07bd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 edi, ecx
push 0x18
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 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 - 0x14], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
and dword [ebp - 0x1c], 0xfffffe00
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x24]
mov ecx, dword [ebx]
call fcn.0047ed10
test eax, eax
je 0x47d532
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0047e310
test eax, eax
je 0x47d532
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
movsx eax, cl
sub eax, 4
je 0x47d217
sub eax, 2
je 0x47d1ed
sub eax, 1
jne 0x47d24b
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x47d24b
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00480c80
push 0x28
push dword [esi]
call fcn.0049cf67
push 8
push esi
call fcn.0049cf67
add esp, 0x10
jmp 0x47d24b
test ecx, 0x100
je 0x47d24b
mov eax, dword [0x513a38]
test al, 1
jne 0x47d23d
or eax, 1
push 0x4d3c10
mov dword [0x513a38], eax
call fcn.0049d1bf
add esp, 4
mov ecx, dword [0x4fede0]
push dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47d27b
push 0x47f940
lea esi, [eax - 4]
mov byte [ebp - 4], 4
push dword [esi]
push 4
push eax
call fcn.0049ce22
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0049cf75
add esp, 8
mov byte [ebp - 4], 0
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47d60f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push str.country
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.004046b0
test al, al
jne 0x47d2bd
push 7
push str.country
lea ecx, [ebp + 8]
call fcn.00404980
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e0b0
push eax
mov ecx, edi
call fcn.00403180
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d2f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47d619
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push str.province
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.004046b0
test al, al
jne 0x47d334
push 8
push str.province
lea ecx, [ebp + 8]
call fcn.00404980
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e0b0
push eax
lea ecx, [edi + 4]
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d36b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47d623
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push str.city
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.004046b0
test al, al
jne 0x47d3a9
push 4
push str.city
lea ecx, [ebp + 8]
call fcn.00404980
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e0b0
push eax
lea ecx, [edi + 8]
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d3e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x47d62d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push str.district
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.004046b0
test al, al
jne 0x47d41e
push 8
push str.district
lea ecx, [ebp + 8]
call fcn.00404980
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e0b0
push eax
lea ecx, [edi + 0xc]
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d455
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4ea39c
lea ecx, [ebp + 8]
call fcn.00404a80
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e0b0
push eax
lea ecx, [edi + 0x10]
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d499
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp + 8]
call fcn.00404a80
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e0b0
push eax
lea ecx, [edi + 0x14]
call fcn.00403180
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d4dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp + 8]
call fcn.00404a80
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e0b0
push eax
lea ecx, [edi + 0x18]
call fcn.00403180
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47d51f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x1c]
call fcn.0046f250
mov esi, 1
jmp 0x47d5db
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
movsx eax, cl
sub eax, 4
je 0x47d575
sub eax, 2
je 0x47d54b
sub eax, 1
jne 0x47d5a9
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x47d5a9
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00480c80
push 0x28
push dword [esi]
call fcn.0049cf67
push 8
push esi
call fcn.0049cf67
add esp, 0x10
jmp 0x47d5a9
test ecx, 0x100
je 0x47d5a9
mov eax, dword [0x513a38]
test al, 1
jne 0x47d59b
or eax, 1
push 0x4d3c10
mov dword [0x513a38], eax
call fcn.0049d1bf
add esp, 4
mov ecx, dword [0x4fede0]
push dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47d5d9
push 0x47f940
lea esi, [eax - 4]
mov byte [ebp - 4], 7
push dword [esi]
push 4
push eax
call fcn.0049ce22
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0049cf75
add esp, 8
xor esi, esi
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.00472260
push 0x18
push dword [ebp - 0x14]
call fcn.0049cf67
add esp, 8
mov eax, esi
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
int3