Function at 0x40d9e0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4279d8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4312c8]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4312c8]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x20]
push ecx
push 0x429adc
push 0x17
push ebp
push 0x429788
mov dword [esp + 0xa0], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jl 0x40db7d
mov dword [esp + 0x2c], ebp
push 0x429c68
mov byte [esp + 0x90], 1
call ebx
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x14], ebx
jne 0x40da86
push 0x8007000e
call fcn.00405760
push ebp
mov byte [esp + 0x90], 2
mov dword [esp + 0x3c], ebp
call esi
push str.GetXML_Data_with_Live_Network
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x2c], edi
jne 0x40dab4
push 0x8007000e
call fcn.00405760
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x1c]
push edx
push 0x4297a8
push 0x17
push ebp
push 0x429854
mov byte [esp + 0xa0], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x40dbc8
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test byte [esp + 0x44], 0x14
mov dword [esp + 0x30], eax
je 0x40db08
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x40db1c
mov dword [esp + 0x1c], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x30], ebp
jl 0x40dbc8
cmp word [esp + 0x38], bp
je 0x40dbc8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push edi
push ebx
push 1
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x40db55
mov dword [esp + 0x20], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov byte [esp + 0x8c], 2
je 0x40db6d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call esi
push edi
call esi
mov edi, dword [esp + 0x40]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x1c], ebp
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, dword [ecx + 0x44]
mov byte [esp + 0x94], 4
call eax
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x40dc4c
push ebp
call esi
mov ecx, dword [esp + 0x30]
push ecx
call ebx
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x40dc4c
push 0x8007000e
call fcn.00405760
cmp edi, str.GetXML_Data_failed_with_no_network
je 0x40dbf2
push edi
call esi
push str.GetXML_Data_failed_with_no_network
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x2c], edi
jne 0x40dbf2
push 0x8007000e
call fcn.00405760
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push edi
push ebx
push 1
push eax
call edx
mov eax, dword [esp + 0x3c]
or dword [eax], 0x20
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov byte [esp + 0x8c], 2
je 0x40dc21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call esi
push edi
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x8c], 0xffffffff
je 0x40dc42
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004005
jmp 0x40e41b
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x40dc85
cmp dword [esp + 0x1c], str.http:__webservices.autodesk.com_CommCntrLinkCollectionRequest
je 0x40dc85
mov eax, dword [esp + 0x1c]
push eax
call esi
push str.http:__webservices.autodesk.com_CommCntrLinkCollectionRequest
call ebx
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x40dc85
push 0x8007000e
call fcn.00405760
push ebp
mov byte [esp + 0x90], 5
call esi
push str.ProductInfo
call ebx
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x18], ebx
jne 0x40dcab
push 0x8007000e
call fcn.00405760
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x28]
push ecx
push 0x429ba0
push 1
push ebp
push 0x42b8c8
mov byte [esp + 0xa0], 7
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [edi + 8]
push 0x42b8b8
push ecx
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x40dd01
mov dword [esp + 0x28], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], ebp
mov ecx, dword [eax]
push 0x429b90
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
cmp edi, ebp
jl 0x40e3c4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x2c]
mov byte [esp + 0x94], 9
call eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040cc80
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x429f90
call edi
push eax
push 0x429f90
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40dd8a
push eax
call fcn.00405760
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
je 0x40ddde
push eax
call ebx
test eax, eax
jbe 0x40ddde
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040cc80
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
push str.Locale
call edi
push eax
push str.Locale
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40ddfe
push eax
call fcn.00405760
push 0x429f74
call edi
push eax
push 0x429f74
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40ddad
push eax
call fcn.00405760
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040cc80
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x6c]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40de48
push eax
call ebx
test eax, eax
jbe 0x40de48
push str.SubscriptionID
lea ecx, [esp + 0x1c]
call fcn.0040c190
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040cc80
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x74]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40de84
push eax
call ebx
test eax, eax
jbe 0x40de84
push str.SubscriptionMacID
lea ecx, [esp + 0x1c]
call fcn.0040c190
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040cc80
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x38]
push ecx
push eax
mov byte [esp + 0x94], 0xa
call edx
push str.CadManagerControlCommunicationCenter
call edi
push eax
push str.CadManagerControlCommunicationCenter
lea ecx, [esp + 0x40]
call fcn.00401ff0
cmp eax, ebp
jge 0x40dec9
push eax
call fcn.00405760
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
push 0x2001f
push ebp
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0xa0], 0xb
mov dword [esp + 0x50], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x40df37
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push edx
push str.EnableSerialNumberPassing
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebp
call fcn.0040cd40
cmp dword [esp + 0x3c], ebp
jne 0x40df21
mov dword [esp + 0x30], ebp
cmp ebx, ebp
je 0x40df30
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], ebp
cmp word [esp + 0x30], bp
je 0x40dfa9
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
push str.id1
call edi
push eax
push str.id1
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40df6d
push eax
call fcn.00405760
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040cc80
push str.id2
call edi
push eax
push str.id2
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40df9b
push eax
call fcn.00405760
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040cc80
push 0x429e74
call edi
push eax
push 0x429e74
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40dfc9
push eax
call fcn.00405760
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
cmp word [esp + 0x50], bp
je 0x40e003
push 0x429e70
call edi
push eax
push 0x429e70
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40e023
push eax
call fcn.00405760
push 0x429e6c
call edi
push eax
push 0x429e6c
lea ecx, [esp + 0x20]
call fcn.00401ff0
cmp eax, ebp
jge 0x40e023
push eax
call fcn.00405760
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x2c], ebp
je 0x40e040
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x38]
push ecx
call esi
mov edx, dword [esp + 0x44]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
mov byte [esp + 0x90], 7
call esi
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x5c]
call eax
mov ebx, eax
cmp ebx, ebp
jge 0x40e0d2
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x8c], 6
je 0x40e08a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov byte [esp + 0x8c], 5
je 0x40e0a2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x8c], 0xffffffff
je 0x40e0cb
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, ebx
jmp 0x40e41b
cmp word [esp + 0x4c], bp
jne 0x40e0e7
push 0x429e48
lea ecx, [esp + 0x1c]
call fcn.0040c190
push 0x429e44
call edi
push eax
push 0x429e44
lea ecx, [esp + 0x24]
call fcn.00401ff0
cmp eax, ebp
jge 0x40e107
push eax
call fcn.00405760
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040cc80
push str.Getting_XMLData_with_request:
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x40e132
push 0x8007000e
call fcn.00405760
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 0xc
call fcn.0040cc80
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
push eax
mov ecx, ebx
call fcn.0040d800
lea ecx, [esp + 0x54]
push ecx
push 0x429b40
push 0x15
push ebp
push 0x429b60
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
je 0x40e1f8
push str.GetXMLData___failed_to_init_AcInetEngine
lea ecx, [esp + 0x18]
call fcn.00402220
mov edi, dword [esp + 0x14]
push edi
mov ecx, ebx
call fcn.0040d800
push edi
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x8c], 6
je 0x40e1ad
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov byte [esp + 0x8c], 5
je 0x40e1c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x8c], 0xffffffff
je 0x40e1ee
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 0x80004005
jmp 0x40e41b
mov dword [esp + 0x48], ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 0xd
call fcn.004071a0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
push ebp
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x50]
push ecx
push 0x2a
mov dword [esp + 0x68], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push edi
push eax
mov byte [esp + 0xa4], 0xe
call edx
mov eax, dword [esp + 0x58]
cmp eax, 0x3e8
je 0x40e313
cmp eax, 0x3f8
je 0x40e313
push eax
lea eax, [esp + 0x64]
push 0x429a50
push eax
call fcn.0041978b
add esp, 0xc
push str.GetXMLData___failed_to_transfer_file_from_remote_server_to_local._Error_code_
lea ecx, [esp + 0x18]
call fcn.00402220
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040c190
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push ebx
call fcn.0040d800
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push edi
call esi
mov ecx, dword [esp + 0x48]
push ecx
call esi
push ebx
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x8c], 6
je 0x40e2c4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov byte [esp + 0x8c], 5
je 0x40e2dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x8c], 0xffffffff
je 0x40e1ee
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 0x80004005
jmp 0x40e41b
push str.GetXMLData___successfully_transfer_file_from_remote_server_to_local_file:
lea ecx, [esp + 0x18]
call fcn.00402220
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040cc80
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push ebx
call fcn.0040d800
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x48]
push edx
add ecx, 4
call fcn.004071e0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call esi
mov eax, dword [esp + 0x48]
push eax
call esi
push ebx
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x8c], 6
je 0x40e37f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov byte [esp + 0x8c], 5
je 0x40e397
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x8c], 0xffffffff
je 0x40e3c0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
jmp 0x40e41b
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x8c], 6
je 0x40e3dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov byte [esp + 0x8c], 5
je 0x40e3f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x8c], 0xffffffff
je 0x40e419
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00418ff5
add esp, 0x7c
ret 4