Function at 0x48d811
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
mov edx, 0x12
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x48d818
call fcn.005423e0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
push 7
push 0x642ce0
lea eax, [esp + 0xc]
push eax
push 0x18
call fcn.0053a874
mov eax, 0x200
push eax
lea eax, [esp + 0x10]
push eax
xor eax, eax
push eax
push 1
push 1
call fcn.00535588
push 0x10
call fcn.004b03dd
and eax, eax
je 0x48d893
mov byte [esp + 0x30], 1
push dword [esp]
call fcn.0053aa4b
mov ebx, eax
dec ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 1
jmp 0x48d8c1
call fcn.004233cc
lea ebp, [0x72abe8]
mov ebx, dword [ebp + 0x5a]
mov ebp, dword [0x72b358]
shl ebx, 2
push dword [ebp + ebx]
pop eax
mov dword [esp + 0x34], eax
lea ebp, [0x72abe8]
push dword [ebp + 0x52]
pop eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x34], 0
je 0x48e540
push edx
call fcn.00542240
pop edx
push eax
movsx eax, byte [esp + 0x34]
push eax
call fcn.00466bb9
lea eax, [esp + 0x1c]
push eax
call fcn.00542280
mov dword [esp + 0x2c], 0
jmp 0x48d8f3
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x2c]
jl 0x48dbf2
cmp byte [esp + 0x30], 0
je 0x48d917
push dword [esp + 0x2c]
push dword [esp + 4]
call fcn.0053aabe
jmp 0x48d969
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x72b428]
imul ebx, ebx, 0x5c
add ebp, ebx
push dword [ebp]
pop eax
call fcn.004fa420
mov ebx, eax
lea ebp, [0x72abe8]
movsx eax, word [ebp + 0x112]
cmp ebx, eax
je 0x48d947
jmp 0x48dbe8
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x72b428]
imul ebx, ebx, 0x5c
add ebp, ebx
push dword [ebp + 0x50]
pop eax
call fcn.004fa430
push eax
push dword [esp + 4]
call fcn.0053aabe
mov eax, dword [esp]
mov ebp, dword [eax + 8]
fld qword [ebp + 0x3c]
fldz
fcompp
fnstsw ax
test ah, 0x40
je 0x48d993
mov eax, dword [esp]
mov ebp, dword [eax + 8]
fld qword [ebp + 0x44]
fldz
fcompp
fnstsw ax
test ah, 0x40
je 0x48d993
jmp 0x48d99a
mov eax, 1
jmp 0x48d99c
xor eax, eax
and eax, eax
je 0x48dbe8
push dword [esp + 4]
call fcn.0053a94f
mov ebp, dword [esp + 8]
mov edx, 0x63c0fe
lea ecx, [ebp + 8]
call fcn.004fa008
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push 4
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 8]
lea edx, [ebp + 0x3c]
push dword [edx + 4]
push dword [edx]
call fcn.00540110
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
mov ebp, dword [esp + 0xc]
lea eax, [ebp + 0xc]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push 4
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 8]
lea edx, [ebp + 0x44]
push dword [edx + 4]
push dword [edx]
call fcn.00540110
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
mov ebp, dword [esp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push 6
push edx
call fcn.00542240
pop edx
push eax
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 8]
lea edx, [ebp + 0x44]
push dword [edx + 4]
push dword [edx]
lea edx, [ebp + 0x3c]
push dword [edx + 4]
push dword [edx]
call fcn.00453666
call fcn.004fa482
add dword [esp], edx
call fcn.0053ffc0
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
mov ebp, dword [esp + 0xc]
lea eax, [ebp + 0x14]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
lea ebp, [0x72b240]
push dword [ebp]
push 1
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 8]
push dword [ebp + 0x38]
call fcn.0053f490
lea eax, [esp + 0x20]
push eax
call fcn.00542280
push dword [esp + 0x1c]
mov edx, 0x61f062
pop ecx
call fcn.004fa4a0
jne 0x48db35
push dword [esp + 0x1c]
mov edx, 0x62092a
pop ecx
call fcn.004fa4a0
jne 0x48db35
jmp 0x48db3c
mov eax, 1
jmp 0x48db3e
xor eax, eax
and eax, eax
jne 0x48db55
push dword [esp + 0x1c]
mov edx, 0x62136c
pop ecx
call fcn.004fa4a0
jne 0x48db55
jmp 0x48db5c
mov eax, 1
jmp 0x48db5e
xor eax, eax
and eax, eax
je 0x48db70
mov edx, str.Unknown
lea ecx, [esp + 0x1c]
call fcn.004fa008
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push dword [esp + 0x24]
call fcn.004577b8
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
mov ebp, dword [esp + 0xc]
lea eax, [ebp + 0x18]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
mov eax, dword [esp + 4]
mov ebp, dword [eax + 8]
mov edx, dword [ebp + 0x34]
push edx
call fcn.00542310
mov edx, 0x6203b6
push edx
call fcn.00542310
mov ebp, dword [esp + 0xc]
lea eax, [ebp + 0x1c]
push eax
call fcn.00542280
inc dword [esp + 0x2c]
jno 0x48d8f3
push dword [esp + 4]
call fcn.0053aa4b
mov ebx, eax
and ebx, ebx
jne 0x48dc25
push 0x50040
mov eax, 0x61f15c
push eax
mov eax, str.No_records_with_geographical_locations_nfor_Simons_Worldmap_found
push eax
lea ebp, [0x72a850]
push dword [ebp]
call fcn.004780fe
jmp 0x48e542
lea ebp, [0x72a978]
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542310
lea eax, [esp + 0x18]
push eax
call fcn.00542280
push dword [esp + 0x14]
mov edx, 0x61f062
pop ecx
call fcn.004fa4a0
je 0x48dc78
lea ebp, [0x72a978]
mov edx, dword [ebp + 0x44]
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542310
lea eax, [esp + 0x18]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push 0
mov eax, str.World_Map_XML_files__.xml_.xml
push eax
push dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542310
mov edx, str._to_Simons_World_Map_XML_file
push edx
call fcn.00542310
call fcn.004fa482
add dword [esp], edx
call fcn.00502ebd
lea eax, [esp + 0x14]
push eax
call fcn.00542280
call fcn.004206da
mov edx, dword [esp + 0x10]
xor ecx, ecx
call fcn.004fa4a0
jne 0x48e322
mov edx, str.A_new_Simons_World_Map_XML_file_has_been_written_to_your
lea ecx, [esp + 0x18]
call fcn.004fa008
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x63f8c2
push eax
push dword [esp + 0x18]
call fcn.00495bef
lea eax, [esp + 0x14]
push eax
call fcn.00542280
push dword [esp + 0x10]
call fcn.0042fc3a
mov dword [esp + 0x24], eax
push dword [esp + 0x24]
mov ebx, 2
cmp ebx, dword [esp]
jne 0x48dd3e
mov edx, 0x61f062
lea ecx, [esp + 0x14]
call fcn.004fa008
jmp 0x48e321
mov ebx, 6
cmp ebx, dword [esp]
jne 0x48e321
push dword [esp + 0x14]
call fcn.00522fa2
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x40]
and ebx, ebx
jle 0x48e313
mov ebx, dword [esp + 0x40]
add ebx, 2
push ebx
call fcn.005410b0
mov dword [esp + 0x44], eax
push dword [esp + 0x14]
push 0xffffffff
call fcn.00523e70
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0
je 0x48e313
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x34]
call fcn.00524730
push dword [esp + 0x2c]
call fcn.00523a00
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push 2
push 0xffffffff
push dword [esp + 0x54]
call fcn.00541140
lea eax, [esp + 0x24]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push dword [esp + 0x28]
call fcn.00540410
lea eax, [esp + 0x4c]
push eax
call fcn.00542280
mov eax, str.enable
push eax
push dword [esp + 0x4c]
call fcn.0053f8e0
and eax, eax
je 0x48de2a
mov eax, str.latitude
push eax
push dword [esp + 0x4c]
call fcn.0053f8e0
and eax, eax
je 0x48de2a
mov eax, 1
jmp 0x48de2c
xor eax, eax
and eax, eax
je 0x48de4a
mov eax, str.square
push eax
push dword [esp + 0x4c]
call fcn.0053f8e0
and eax, eax
je 0x48de4a
mov eax, 1
jmp 0x48de4c
xor eax, eax
and eax, eax
je 0x48de6a
mov eax, str.title
push eax
push dword [esp + 0x4c]
call fcn.0053f8e0
and eax, eax
je 0x48de6a
mov eax, 1
jmp 0x48de6c
xor eax, eax
and eax, eax
je 0x48e2ad
mov dword [esp + 0x2c], 1
jmp 0x48de7e
mov eax, str.__Defn_
push eax
push dword [esp + 0x24]
call fcn.0053f790
cmp eax, dword [esp + 0x2c]
jl 0x48e2ab
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, str.__Defn_
push eax
push dword [esp + 0x38]
push dword [esp + 0x30]
call fcn.0053f490
lea eax, [esp + 0x28]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, str._Defn
push eax
push 2
push dword [esp + 0x34]
call fcn.0053f490
lea eax, [esp + 0x28]
push eax
call fcn.00542280
push dword [esp + 8]
call fcn.0053a94f
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, str.Enable
push eax
push 2
push dword [esp + 0x40]
call fcn.0053f490
call fcn.004fa482
add dword [esp], edx
call fcn.00540640
mov ebp, dword [esp + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push 1
push dword [ebp + 8]
call fcn.0053f490
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
lea eax, [ebp + 8]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, str.Latitude
push eax
push 2
push dword [esp + 0x40]
call fcn.0053f490
call fcn.004fa482
add dword [esp], edx
call fcn.00540640
lea eax, [ebp + 0xc]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push 1
push dword [ebp + 0xc]
call fcn.0053f490
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
lea eax, [ebp + 0xc]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x628a3c
push eax
push 2
push dword [esp + 0x40]
call fcn.0053f490
call fcn.004fa482
add dword [esp], edx
call fcn.00540640
lea eax, [ebp + 0x10]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push 1
push dword [ebp + 0x10]
call fcn.0053f490
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
lea eax, [ebp + 0x10]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, str.Square
push eax
push 2
push dword [esp + 0x40]
call fcn.0053f490
call fcn.004fa482
add dword [esp], edx
call fcn.00540640
lea eax, [ebp + 0x14]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push 1
push dword [ebp + 0x14]
call fcn.0053f490
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
lea eax, [ebp + 0x14]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, str.Title
push eax
push 2
push dword [esp + 0x40]
call fcn.0053f490
call fcn.004fa482
add dword [esp], edx
call fcn.00540640
lea eax, [ebp + 0x18]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push 1
push dword [ebp + 0x18]
call fcn.0053f490
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
lea eax, [ebp + 0x18]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x631532
push eax
push 2
push dword [esp + 0x40]
call fcn.0053f490
call fcn.004fa482
add dword [esp], edx
call fcn.00540640
lea eax, [ebp + 0x1c]
push eax
call fcn.00542280
push edx
call fcn.00542240
pop edx
push eax
mov edx, 0x6203b6
push edx
call fcn.00542310
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
mov eax, 0x6203b6
push eax
push 1
push dword [ebp + 0x1c]
call fcn.0053f490
pop eax
mov edx, 0x6203b6
push edx
call fcn.00542310
lea eax, [ebp + 0x1c]
push eax
call fcn.00542280
inc dword [esp + 0x2c]
jno 0x48de7e
jmp 0x48e313
push edx
call fcn.00542240
pop edx
push eax
push 0x50010
mov eax, str.XML_error
push eax
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push dword [esp + 0x28]
call fcn.00522f11
mov edx, str._has_an_invalid_nSimons_World_Map_XML_structure.
push edx
call fcn.00542310
call fcn.00542370
lea ebp, [0x72a850]
push dword [ebp]
call fcn.004fa482
add dword [esp + 4], edx
call fcn.004780fe
call fcn.004fa4e0
mov edx, 0x61f062
lea ecx, [esp + 0x14]
call fcn.004fa008
mov edx, str.Data_have_been_added_to_a_nSimons_World_Map_XML_file_in_your
lea ecx, [esp + 0x1c]
call fcn.004fa008
pop eax
mov edx, dword [esp + 0x10]
xor ecx, ecx
call fcn.004fa4a0
jne 0x48e540
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542240
pop edx
push eax
push dword [esp + 0x18]
call fcn.00522f23
lea ebp, [0x72a978]
lea eax, [ebp + 0x6c]
push eax
call fcn.00542280
push 8
push 0x10
push 0
push dword [esp + 0x10]
call fcn.004fce20
push dword [esp + 0x10]
call fcn.00482439
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0
je 0x48e52e
push 2
push dword [esp + 0x2c]
call fcn.00524270
mov eax, str.__xml_version1.0_encodingutf_8___n
push eax
push dword [esp + 0x2c]
call fcn.00524500
mov eax, str._Root_xml:langEN__n
push eax
push dword [esp + 0x2c]
call fcn.00524500
push dword [esp + 4]
call fcn.0053a906
push dword [esp + 4]
call fcn.0053a91b
or eax, eax
je 0x48e4fb
push edx
call fcn.00542240
pop edx
push eax
mov edx, str._Defn_Enable
push edx
call fcn.00542310
mov ebp, dword [esp + 0xc]
mov edx, dword [ebp + 8]
push edx
call fcn.00542310
mov edx, str._Latitude
push edx
call fcn.00542310
mov edx, dword [ebp + 0xc]
push edx
call fcn.00542310
mov edx, str._Longitude
push edx
call fcn.00542310
mov edx, dword [ebp + 0x10]
push edx
call fcn.00542310
lea eax, [esp + 0x20]
push eax
call fcn.00542280
mov edx, dword [esp + 0x1c]
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542310
mov edx, str._Square
push edx
call fcn.00542310
mov edx, dword [ebp + 0x14]
push edx
call fcn.00542310
mov edx, str._Title
push edx
call fcn.00542310
mov edx, dword [ebp + 0x18]
push edx
call fcn.00542310
mov edx, str._Location
push edx
call fcn.00542310
mov edx, dword [ebp + 0x1c]
push edx
call fcn.00542310
mov edx, str.___Defn_
push edx
call fcn.00542310
lea eax, [esp + 0x20]
push eax
call fcn.00542280
push dword [esp + 0x1c]
push dword [esp + 0x10]
call fcn.00535655
mov ebp, eax
movsx ebx, byte [ebp]
and ebx, ebx
jne 0x48e4f6
push edx
call fcn.00542240
pop edx
push eax
push 2
mov edx, dword [esp + 0x24]
push edx
call fcn.00542240
pop edx
push eax
push edx
call fcn.00542310
mov edx, 0x61f726
push edx
call fcn.00542310
call fcn.00542370
push dword [esp + 0x34]
call fcn.004fa482
add dword [esp + 4], edx
call fcn.005244d0
call fcn.004fa4e0
push dword [esp + 0x1c]
push dword [esp + 0x10]
call fcn.00535655
mov ebp, eax
mov byte [ebp], 1
jmp 0x48e3c0
mov eax, str.__Root__n
push eax
push dword [esp + 0x2c]
call fcn.00524500
push dword [esp + 0x28]
call fcn.00523a00
movsx eax, byte [esp + 0x30]
push eax
mov eax, str.Simons_World_Map_XML_output
push eax
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.00463629
jmp 0x48e540
push dword [esp + 0x10]
lea ebp, [0x72a850]
push dword [ebp]
call fcn.004cf534
xor eax, eax
push dword [esp + 0x44]
call fcn.00542440
push dword [esp + 0x1c]
call fcn.00542440
push dword [esp + 0x18]
call fcn.00542440
push dword [esp + 0x14]
call fcn.00542440
push dword [esp + 0x20]
call fcn.00542440
push dword [esp + 0x10]
call fcn.00542440
push eax
push dword [esp + 8]
call fcn.0053aa55
push dword [esp + 0x10]
call fcn.00535840
pop eax
add esp, 0x48
pop ebx
pop ebp
ret 4