Function at 0x428d84
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5939bb
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5fe480]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x5fe480]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, ecx
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.0043d429
xor ebx, ebx
push 0x5abba0
lea esi, [esp + 0x48]
mov dword [esp + 0x74], ebx
call fcn.004041a9
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x74], 1
push dword [esp + 0x28]
mov eax, esi
call fcn.0040c722
cmp dword [eax], ebx
mov eax, dword [esp + 0x14]
sete byte [esp + 0x1b]
cmp eax, ebx
je 0x428e17
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jg 0x428e17
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [esp + 0x1b], bl
je 0x428e3e
push str.Cannot_create_GeoLocation_root
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 2
push 0x59
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
call fcn.00402bb1
lea eax, [esp + 0x28]
push str._Country
push eax
lea ebx, [esp + 0x4c]
call fcn.0041eef5
pop ecx
pop ecx
push edi
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 3
push dword [esp + 0x2c]
call fcn.0040c803
cmp dword [eax], 0
mov eax, dword [esp + 0x14]
sete bl
test eax, eax
je 0x428e86
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x428e86
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401d98
test bl, bl
je 0x428ebd
push str.Cannot_save_Country_geolocation_field
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 4
push 0x5d
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
jmp 0x428e39
lea eax, [esp + 0x28]
push str._Region
push eax
lea ebx, [esp + 0x4c]
call fcn.0041eef5
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x1c
push ecx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 5
push dword [esp + 0x2c]
call fcn.0040c803
cmp dword [eax], 0
mov eax, dword [esp + 0x14]
sete bl
test eax, eax
je 0x428f0c
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x428f0c
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401d98
test bl, bl
je 0x428f43
push str.Cannot_save_Region_geolocation_field
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 6
push 0x61
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
jmp 0x428e39
lea eax, [esp + 0x28]
push str._City
push eax
lea ebx, [esp + 0x4c]
call fcn.0041eef5
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x38
push ecx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 7
push dword [esp + 0x2c]
call fcn.0040c803
cmp dword [eax], 0
mov eax, dword [esp + 0x14]
sete bl
test eax, eax
je 0x428f92
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x428f92
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401d98
test bl, bl
je 0x428fc9
push str.Cannot_save_City_geolocation_field
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 8
push 0x65
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
jmp 0x428e39
lea eax, [esp + 0x28]
push str._Latitude
push eax
lea ebx, [esp + 0x4c]
call fcn.0041eef5
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x54
push ecx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 9
push dword [esp + 0x2c]
call fcn.0040c803
cmp dword [eax], 0
mov eax, dword [esp + 0x14]
sete bl
test eax, eax
je 0x429018
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x429018
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401d98
test bl, bl
je 0x42904f
push str.Cannot_save_Latitude_geolocation_field
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 0xa
push 0x69
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
jmp 0x428e39
lea eax, [esp + 0x28]
push str._Longitude
push eax
lea ebx, [esp + 0x4c]
call fcn.0041eef5
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x70
push ecx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 0xb
push dword [esp + 0x2c]
call fcn.0040c803
cmp dword [eax], 0
mov eax, dword [esp + 0x14]
sete bl
test eax, eax
je 0x42909e
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x42909e
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401d98
test bl, bl
je 0x4290d5
push str.Cannot_save_Longitude_geolocation_field
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 0xc
push 0x6d
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
jmp 0x428e39
lea eax, [esp + 0x28]
push str._ISP
push eax
lea ebx, [esp + 0x4c]
call fcn.0041eef5
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x8c
push ecx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 0xd
push dword [esp + 0x2c]
call fcn.0040c803
cmp dword [eax], 0
mov eax, dword [esp + 0x14]
sete bl
test eax, eax
je 0x429127
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x429127
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401d98
test bl, bl
je 0x42915e
push str.Cannot_save_ISP_geolocation_field
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 0xe
push 0x71
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
jmp 0x428e39
lea eax, [esp + 0x28]
push str._Domain
push eax
lea ebx, [esp + 0x4c]
call fcn.0041eef5
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0xa8
push ecx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 0xf
push dword [esp + 0x2c]
call fcn.0040c803
cmp dword [eax], 0
mov eax, dword [esp + 0x14]
sete bl
test eax, eax
je 0x4291b0
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x4291b0
mov eax, dword [ecx]
push 1
call dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00401d98
test bl, bl
je 0x4291e7
push str.Cannot_save_Domain_geolocation_field
lea esi, [esp + 0x2c]
call fcn.004041a9
mov byte [esp + 0x70], 0x10
push 0x75
mov ecx, str.srcGeoLocation.cpp
mov eax, esi
jmp 0x428e39
push 1
xor edi, edi
lea esi, [esp + 0x48]
call fcn.00401d98
mov eax, dword [esp + 0x20]
test eax, eax
je 0x429204
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005413de
mov esp, ebp
pop ebp
ret 4