Function at 0x440720
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x57e709
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1f4]
mov esi, ecx
lea ecx, [esp + 0x15c]
push ecx
mov dword [esp + 0x1c], eax
or ebp, 0xffffffff
call fcn.0042f240
xor eax, eax
mov dword [esp + 0x1ec], eax
and dword [esp + 0x24], 0xfffffe00
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ecx, esi
mov byte [esp + 0x1ec], 2
call fcn.00440e70
test eax, eax
jne 0x440e1b
mov edi, 0x10
cmp dword [esi + 0x18], edi
jb 0x4407bb
mov esi, dword [esi + 4]
jmp 0x4407be
add esi, 4
push esi
lea ecx, [esp + 0x144]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x188]
mov byte [esp + 0x1f0], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esp + 0x19c], edi
mov eax, dword [esp + 0x188]
jae 0x440800
lea eax, [esp + 0x188]
mov ecx, dword [esp + 0x198]
lea edx, [esp + 0x1c]
push edx
add ecx, eax
push ecx
push eax
lea eax, [esp + 0x168]
push eax
call fcn.0042f2f0
test al, al
lea ecx, [esp + 0x140]
sete bl
mov byte [esp + 0x1ec], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
jne 0x440e1b
push 0x590ea8
lea ecx, [esp + 0x20]
push ecx
call fcn.004332c0
mov ecx, eax
call fcn.004334e0
test al, al
push 0x590ea8
je 0x440871
lea edx, [esp + 0x20]
push edx
call fcn.004332c0
mov esi, eax
call fcn.00432e00
jmp 0x4408ad
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
cmp byte [eax + 8], 4
jne 0x440e1b
push 0x590ea8
lea ecx, [esp + 0x20]
push ecx
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x4408a1
call fcn.00432c50
jmp 0x4408a3
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
test eax, eax
jne 0x440e1b
push 0x590eac
lea edx, [esp + 0x20]
push edx
call fcn.004332c0
cmp byte [eax + 8], 4
mov ebp, dword [sym.imp.MSVCR80.dll_free]
jne 0x440938
push 0x590eac
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x4408ec
call fcn.00432c50
jmp 0x4408ee
mov eax, dword [eax]
push 0xfde9
lea ecx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ecx
call fcn.004102d0
mov byte [esp + 0x1ec], 4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov edi, esi
call fcn.00410020
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
cmp eax, edx
je 0x44093c
push eax
call ebp
add esp, 4
jmp 0x44093c
mov esi, dword [esp + 0x18]
push 0x590eb0
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
cmp byte [eax + 8], 4
jne 0x4409b4
push 0x590eb0
lea ecx, [esp + 0x20]
push ecx
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x44096d
call fcn.00432c50
jmp 0x44096f
mov eax, dword [eax]
push 0xfde9
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.004102d0
mov byte [esp + 0x1ec], 5
mov edx, dword [esp + 0x3c]
lea edi, [esi + 4]
call fcn.00410020
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x4409b4
push eax
call ebp
add esp, 4
push str.zone
lea edx, [esp + 0x20]
push edx
call fcn.004332c0
cmp byte [eax + 8], 4
jne 0x440a2c
push str.zone
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x4409e5
call fcn.00432c50
jmp 0x4409e7
mov eax, dword [eax]
push 0xfde9
lea ecx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ecx
call fcn.004102d0
mov byte [esp + 0x1ec], 6
mov edx, dword [esp + 0x3c]
lea edi, [esi + 0xc]
call fcn.00410060
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
cmp eax, edx
je 0x440a2c
push eax
call ebp
add esp, 4
push str.country
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
cmp byte [eax + 8], 4
jne 0x440b0d
push str.country
lea ecx, [esp + 0x20]
push ecx
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x440a61
call fcn.00432c50
jmp 0x440a63
mov eax, dword [eax]
push 0xfde9
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.004102d0
mov byte [esp + 0x1ec], 7
mov edx, dword [esp + 0x3c]
lea edi, [esi + 8]
call fcn.00410060
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x440aa8
push eax
call ebp
add esp, 4
mov edi, dword [edi]
push 0
lea edx, [esp + 0x44]
push edi
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.00410380
lea eax, [esp + 0x18]
mov byte [esp + 0x1ec], 8
mov ecx, dword [esp + 0x3c]
push eax
call fcn.0041a080
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x440aee
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 0
call fcn.00425700
mov dword [esi + 0x10], eax
add esp, 0xc
lea eax, [esp + 0x18]
call fcn.004101c0
push str.province
lea edx, [esp + 0x20]
push edx
call fcn.004332c0
cmp byte [eax + 8], 4
jne 0x440bf8
lea edi, [esi + 8]
mov edx, 0x590ed0
call fcn.00410060
push str.province
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x440b4f
call fcn.00432c50
jmp 0x440b51
mov eax, dword [eax]
push 0xfde9
lea ecx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ecx
call fcn.004102d0
mov byte [esp + 0x1ec], 9
mov edx, dword [esp + 0x3c]
call fcn.00410060
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
cmp eax, edx
je 0x440b93
push eax
call ebp
add esp, 4
mov edi, dword [edi]
lea eax, [esp + 0x40]
push 0
mov dword [esp + 0x40], eax
push edi
lea eax, [esp + 0x44]
call fcn.00410380
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ec], 0xa
push ecx
mov ecx, dword [esp + 0x40]
call fcn.0041a080
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
cmp eax, edx
je 0x440bd9
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 0
call fcn.00425700
mov dword [esi + 0x14], eax
add esp, 0xc
lea eax, [esp + 0x18]
call fcn.004101c0
push 0x590ed4
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
cmp byte [eax + 8], 4
jne 0x440ce3
lea edi, [esi + 8]
mov edx, 0x590ed0
call fcn.00410060
push 0x590ed4
lea ecx, [esp + 0x20]
push ecx
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x440c3a
call fcn.00432c50
jmp 0x440c3c
mov eax, dword [eax]
push 0xfde9
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.004102d0
mov byte [esp + 0x1ec], 0xb
mov edx, dword [esp + 0x3c]
call fcn.00410060
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x440c7e
push eax
call ebp
add esp, 4
mov edi, dword [edi]
push 0
lea edx, [esp + 0x44]
push edi
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.00410380
lea eax, [esp + 0x18]
mov byte [esp + 0x1ec], 0xc
mov ecx, dword [esp + 0x3c]
push eax
call fcn.0041a080
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x440cc4
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 0
call fcn.00425700
mov dword [esi + 0x18], eax
add esp, 0xc
lea eax, [esp + 0x18]
call fcn.004101c0
push str.town
lea edx, [esp + 0x20]
push edx
call fcn.004332c0
cmp byte [eax + 8], 4
jne 0x440e19
push str.town
lea eax, [esp + 0x20]
push eax
call fcn.004332c0
push eax
lea ecx, [esp + 0x144]
call fcn.00432cb0
push str.none
mov ecx, eax
mov byte [esp + 0x1f0], 0xd
call dword [sym.imp.MSVCP80.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_char_const__const]
test eax, eax
lea ecx, [esp + 0x140]
setne bl
mov byte [esp + 0x1ec], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x440e19
lea edi, [esi + 8]
mov edx, 0x590ed0
call fcn.00410060
push str.town
lea ecx, [esp + 0x20]
push ecx
call fcn.004332c0
cmp byte [eax + 8], 4
je 0x440d78
call fcn.00432c50
jmp 0x440d7a
mov eax, dword [eax]
push 0xfde9
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.004102d0
mov byte [esp + 0x1ec], 0xe
mov edx, dword [esp + 0x3c]
call fcn.00410060
mov byte [esp + 0x1ec], 2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x440dbc
push eax
call ebp
add esp, 4
mov edi, dword [edi]
push 0
lea edx, [esp + 0x44]
push edi
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.00410380
lea eax, [esp + 0x38]
mov byte [esp + 0x1ec], 0xf
mov ecx, dword [esp + 0x3c]
push eax
call fcn.0041a080
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x440dfa
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 0
call fcn.00425700
mov dword [esi + 0x1c], eax
add esp, 0xc
lea eax, [esp + 0x38]
call fcn.004101c0
xor ebp, ebp
lea eax, [esp + 0x1c]
mov byte [esp + 0x1ec], 0
call fcn.00432b50
lea edx, [esp + 0x15c]
push edx
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00431080
mov eax, ebp
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00569ed6
add esp, 0x1dc
ret 4