Function at 0x41d9cb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
call fcn.00410117
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 0x5e6a80
call fcn.0040af83
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41da41
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x24]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.00404a1d
push eax
push dword [ebp + 8]
call fcn.0040f78e
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00410117
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 0x5e6a80
call fcn.0040af83
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41daab
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x24]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fadd qword [0x520de7]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.00404a1d
push eax
push dword [ebp + 8]
call fcn.0040f78e
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fdiv qword [0x521b43]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00404a1d
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41df83
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x5092cd]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x521b43]
fstp qword [ebp - 0x38]
fild dword [ebp - 4]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00404a1d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, 0x521b4b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040af83
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41db95
push ebx
call fcn.004672e0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41dba5
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00404a1d
push eax
push dword [ebp + 8]
call fcn.0040f882
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41dbe2
push ebx
call fcn.004672e0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x521b73
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41dc17
mov eax, 0x508de6
push eax
push 4
mov ebx, 0x467f70
call fcn.004672f2
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x41df7b
xor ecx, ecx
lea eax, [ebp - 0x1c]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x32
jg 0x41df73
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, 0x521b7c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040af83
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41dc7d
push ebx
call fcn.004672e0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41dc8d
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.00404a1d
push eax
push dword [ebp + 8]
call fcn.0040f78e
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov eax, 0x521b7f
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040af83
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41dcf3
push ebx
call fcn.004672e0
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41dd03
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fsub qword [0x5092cd]
fstp qword [ebp - 0x68]
fild dword [ebp - 0x58]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fmul qword [ebp - 0x68]
fstp qword [ebp - 0x78]
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fadd qword [ebp - 0x78]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.00404a1d
push eax
push dword [ebp + 8]
call fcn.0040f882
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41dd6d
push ebx
call fcn.004672e0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.countryname
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41dda2
mov eax, 0x508de6
push eax
push 4
mov ebx, 0x467f70
call fcn.004672f2
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x41df6c
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, 0x521b7c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040af83
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ddf3
push ebx
call fcn.004672e0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41de03
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
fld qword [ebp - 0x44]
call fcn.00404a1d
push eax
push dword [ebp + 8]
call fcn.0040f78e
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov eax, 0x521b7f
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040af83
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41de69
push ebx
call fcn.004672e0
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41de79
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fsub qword [0x5092cd]
fstp qword [ebp - 0x68]
fild dword [ebp - 0x58]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fmul qword [ebp - 0x68]
fstp qword [ebp - 0x78]
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
mov eax, 0x52113e
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040af83
mov dword [ebp - 0x84], eax
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x41ded7
push ebx
call fcn.004672e0
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x41dee7
push ebx
call fcn.004672e0
add esp, 4
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x8c]
fld qword [ebp - 0x8c]
fadd qword [ebp - 0x78]
fild dword [ebp - 0x84]
fstp qword [ebp - 0x94]
fadd qword [ebp - 0x94]
fstp qword [ebp - 0x9c]
fld qword [ebp - 0x9c]
call fcn.00404a1d
push eax
push dword [ebp + 8]
call fcn.0040f882
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41df42
push ebx
call fcn.004672e0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41df62
push eax
mov ebx, eax
call fcn.0040343c
inc eax
push eax
call fcn.004672da
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41df90
pop ebx
pop ecx
jmp 0x41dc3e
add esp, 8
jmp 0x41df7b
pop eax
pop ebx
pop ecx
jmp 0x41db1e
add esp, 0xc
mov eax, 0x508de6
jmp 0x41df90
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41dfa1
push ebx
call fcn.004672e0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41dfb1
push ebx
call fcn.004672e0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4