Function at 0x448e50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624328
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x690a1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x30]
push str.provincelist
call fcn.00483280
mov esi, eax
test esi, esi
je 0x448efc
mov edx, dword [esi + 0x590]
lea eax, [esi + 0x590]
mov ecx, eax
mov dword [ebp - 0x14], eax
call dword [edx + 4]
cmp eax, 0xffffffff
je 0x448efc
mov ecx, dword [ebp - 0x14]
mov edi, dword [esi + 0x558]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [esi + 0x558]
call dword [edi]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.0043f3b0
mov edx, eax
test edx, edx
jne 0x448ed8
xor ecx, ecx
jmp 0x448eef
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448ee0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x31c]
call fcn.0040b220
push str.citylist
lea ecx, [ebx + 0x30]
call fcn.00483280
mov esi, eax
test esi, esi
je 0x448f7c
mov edx, dword [esi + 0x590]
lea eax, [esi + 0x590]
mov ecx, eax
mov dword [ebp - 0x14], eax
call dword [edx + 4]
cmp eax, 0xffffffff
je 0x448f7c
mov ecx, dword [ebp - 0x14]
mov edi, dword [esi + 0x558]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [esi + 0x558]
call dword [edi]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.0043f3b0
mov edx, eax
test edx, edx
jne 0x448f5a
xor ecx, ecx
jmp 0x448f6f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448f60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x320]
call fcn.0040b220
push str.townlist
lea ecx, [ebx + 0x30]
call fcn.00483280
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x448ffe
mov edx, dword [esi + 0x590]
lea ecx, [esi + 0x590]
call dword [edx + 4]
cmp eax, 0xffffffff
je 0x448ffe
mov edi, dword [esi + 0x558]
mov ecx, esi
add ecx, 0x590
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [esi + 0x558]
call dword [edi]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.0043f3b0
mov edx, eax
test edx, edx
jne 0x448fdd
xor ecx, ecx
jmp 0x448ff1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448fe2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x324]
call fcn.0040b220
lea eax, [ebp - 0x10]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.004109f0
mov eax, dword [ebx + 0x324]
mov dword [ebp - 4], 0
test eax, eax
je 0x4490f9
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x44904c
test dx, dx
je 0x449048
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x44904c
add ecx, 4
add eax, 4
test dx, dx
jne 0x449026
xor eax, eax
jmp 0x449051
sbb eax, eax
or eax, 1
test eax, eax
je 0x4490c5
mov eax, dword [ebx + 0x31c]
cmp dword [eax - 0xc], 0
je 0x44906e
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00412540
mov eax, dword [ebx + 0x320]
cmp dword [eax - 0xc], 0
je 0x449087
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00411a70
mov eax, dword [ebx + 0x324]
cmp dword [eax - 0xc], 0
je 0x4490a0
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00413280
push dword [ebx + 0x314]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4490c5
push 0
push 0
push 0x405
push dword [ebx + 0x314]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4490e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407120
int3