Function at 0x449fa0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62452c
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x690a1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a4], 0
cmp dword [ebx + 0x318], 0
je 0x44a496
push str.provincelist
lea ecx, [ebx + 0x30]
call fcn.00483280
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x44a496
push str.citylist
lea ecx, [ebx + 0x30]
call fcn.00483280
mov edi, eax
test edi, edi
je 0x44a496
mov eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
mov esi, esp
call fcn.0043f3b0
push eax
mov ecx, esi
call fcn.004086e0
mov ecx, dword [ebx + 0x318]
lea eax, [ebp - 0x1b8]
push eax
call fcn.00441980
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call fcn.004087b0
mov eax, dword [ebp - 0x1b4]
mov ecx, ebx
sub eax, dword [ebp - 0x1b8]
sar eax, 3
push edi
push eax
call fcn.00443b10
mov eax, dword [ebp - 0x1b4]
xor esi, esi
mov ecx, dword [ebp - 0x1b8]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x44a214
mov ebx, dword [ebp - 0x1ac]
mov eax, dword [ecx + esi*8]
test eax, eax
cmovne ebx, eax
lea eax, [ebp - 0x1bc]
push eax
mov ecx, ebx
call fcn.004074c0
mov eax, dword [edi + 0x558]
lea ecx, [edi + 0x558]
push esi
mov byte [ebp - 4], 3
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x44a1d2
mov eax, dword [ecx]
push dword [ebp - 0x1bc]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x1a4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x114]
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [eax + esi*8]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1cc]
push eax
mov dword [ebp - 0x1c8], ecx
call fcn.004074c0
mov ecx, dword [ebp - 0x1a4]
push dword [eax]
mov byte [ebp - 4], 4
mov edx, dword [ecx]
call dword [edx + 0x104]
mov edx, dword [ebp - 0x1cc]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a156
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1c4]
mov eax, dword [eax + esi*8]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x1ac]
push eax
mov dword [ebp - 0x1c4], ecx
call fcn.004074c0
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x320
push ecx
push eax
call fcn.0042c110
mov edx, dword [ebp - 0x1ac]
add esp, 8
mov byte [ebp - 0x19d], al
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44a1bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x19d]
test al, al
je 0x44a1d2
mov eax, dword [edi + 0x590]
lea ecx, [edi + 0x590]
push 0
push esi
call dword [eax + 8]
mov edx, dword [ebp - 0x1bc]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a1f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1b4]
inc esi
mov ecx, dword [ebp - 0x1b8]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x44a0a6
mov ebx, dword [ebp - 0x1a8]
mov eax, dword [edi + 0x558]
lea esi, [edi + 0x558]
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jle 0x44a256
mov eax, dword [edi + 0x590]
lea ecx, [edi + 0x590]
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x44a250
mov eax, dword [edi + 0x590]
lea ecx, [edi + 0x590]
push 0
push 0
call dword [eax + 8]
lea esi, [edi + 0x558]
mov eax, dword [edi + 0x590]
lea ecx, [edi + 0x590]
call dword [eax + 4]
cmp eax, 0xffffffff
je 0x44a2c0
mov eax, dword [edi + 0x590]
lea ecx, [edi + 0x590]
mov esi, dword [esi]
call dword [eax + 4]
push eax
lea ecx, [edi + 0x558]
call dword [esi]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.0043f3b0
mov edx, eax
test edx, edx
jne 0x44a29f
xor ecx, ecx
jmp 0x44a2b3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a2a4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x320]
call fcn.0040b220
mov eax, dword [edi]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ebx, 1
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [ebp - 0x1a4], ebx
call fcn.00480dd0
test al, al
jne 0x44a31e
mov ecx, dword [ebp - 0x1c0]
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ebx, 3
mov dword [ebp - 4], 6
mov ecx, eax
mov dword [ebp - 0x1a4], ebx
call fcn.00480dd0
mov byte [ebp - 0x19d], 1
test al, al
je 0x44a325
mov byte [ebp - 0x19d], 0
test bl, 2
je 0x44a335
lea ecx, [ebp - 0x118]
call fcn.004087b0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 2
call fcn.004087b0
cmp byte [ebp - 0x19d], 0
je 0x44a3e9
mov eax, dword [edi]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x1ac], esp
call fcn.0043f3b0
push eax
mov ecx, esi
call fcn.004086e0
mov eax, dword [edi]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, edi
mov byte [ebp - 4], 8
call dword [eax + 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
mov esi, esp
call fcn.0043f3b0
push eax
mov ecx, esi
call fcn.004086e0
mov esi, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0xa
push eax
mov ecx, dword [esi + 0x318]
call fcn.00441c10
lea ecx, [ebp - 0x1d8]
call fcn.00406d40
lea ecx, [ebp - 0x94]
call fcn.004087b0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004087b0
jmp 0x44a3ef
mov esi, dword [ebp - 0x1a8]
mov eax, dword [edi]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00480dd0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
mov bl, al
call fcn.004087b0
test bl, bl
jne 0x44a424
mov ecx, esi
call fcn.0044a850
mov esi, dword [ebp - 0x1b8]
test esi, esi
je 0x44a496
mov edi, dword [ebp - 0x1b4]
cmp esi, edi
je 0x44a467
mov eax, dword [esi + 4]
add dword [eax], 0xffffffff
jne 0x44a45a
mov ecx, dword [esi]
test ecx, ecx
je 0x44a44d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 4
push dword [esi + 4]
call fcn.004fa0f5
add esp, 8
add esi, 8
cmp esi, edi
jne 0x44a438
mov esi, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1b0]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x44a48c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a4b2
push ecx
push esi
call fcn.004fa0f5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret
call fcn.005e72a0
int3